Printer queue in windows

Fix: Printer queue won’t clear in Windows 10

  1. Download Restoro PC Repair Tool that comes with Patented Technologies (patent available here).
  2. Click Start Scan to find Windows issues that could be causing PC problems.
  3. Click Repair All to fix issues affecting your computer’s security and performance
  • Restoro has been downloaded by 0 readers this month.

Many users reported that printer queue won’t clear on their PC. This can be a big problem and prevent you from printing other documents. However, you can fix that issue with these solutions.

All printers have a print queue that queues documents for printing. However, that queue can sometimes get jammed, or stuck, which can halt printing altogether. When this happens, some might try manually deleting documents from the print queue; but find that the Cancel option doesn’t work. Then rebooting Windows might not even do the trick. These are a few ways to fix a print queue that isn’t clearing in Windows 10.

Can’t delete print job in Windows 10? Try these solutions

  1. Clear the Print Queue in Windows
  2. Clear the Print Queue with the Command Prompt
  3. Set up a Batch File to Clear the Print Queue

Solution 1 – Clear the Print Queue in Windows

One way to fix the problem with printer queue on your PC is to manually clear the queue. To do that, you need to manually disable the Print Spooler service and delete the files from the queue. This is simpler than it sounds, and you can do it by following these steps:

  1. Firstly, switch off the printer.
  2. Click the Windows 10 Cortana button and input ‘services’ into the search box.
  3. Now you can select Services to open the window shown directly below.
  4. Scroll down until you get to Print Spooler. Then you can double-click Printer Spooler to open its window below.
  5. To disable the Printer Spooler, press the Stop button.
  6. Press the File Explorer button on Windows 10 taskbar.
  7. Now navigate to C:WindowsSystem32spoolPRINTERS in File Explorer. That will open a folder that includes a log of open and unprinted documents in queue to print.
  8. Hold the Ctrl key and select all the files in the folder. Then press the X Delete button at the top of File Explorer to erase them.
  9. Next, open the Printer Spooler Properties dialog window again. Press the Start button on that window to switch the Printer Spooler back on.
  10. Now turn your printer back on and print something.
  • READ ALSO:What to do if your Windows 10 printer driver is unavailable

Solution 2 – Clear the Print Queue with the Command Prompt

Run a System Scan to discover potential errors

You can also clear the print queue on your PC right from Command Prompt. This is a bit advanced solution, but it’s also the fastest one since you can perform it simply by running a few commands:

  1. First, press the Win key + X hotkey to open the Win + X menu.
  2. Now select Command Prompt (Admin) to open the window directly below.
  3. Type ‘net stop spooler‘ into the Command Prompt and press Enter to switch the print spooler off.
  4. Next, enter ‘del %systemroot%System32spoolprinters* /Q‘ into the Command Prompt and press Return key. That will erase the stuck printer queue.
  5. Input ‘Net Start Spooler‘ to restart the Printer Spooler.
  6. Switch on your printer and start printing.

Solution 3 – Set up a Batch File to Clear the Print Queue

Batch files can also fix a number of things. That includes stuck printer queues. This is how you fix the print queue with a batch file.

  1. Enter ‘Notepad’ in your Cortana search box and select to open the Notepad.
  2. Copy and paste the following text into Notepad with the Ctrl + C and Ctrl + V hotkeys.
    • @echo off
    • echo Stopping print spooler.
    • echo.
    • net stop spooler
    • echo Erasing Temporary Junk Printer Documents
    • echo.
    • del /Q /F /S “%systemroot%System32SpoolPrinters*.*
    • echo Starting print spooler.
    • echo.
    • net start spooler
  3. Click File >Save as to open the window below.
  4. Select All Files from the Save as type drop-down menu.
  5. Delete *.txt from the File Name box, and replace it with Printer Queue.bat. The file can have any title, but it must include .bat at the end.
  6. Click Save to save the batch file.
  7. Open the folder you saved the batch file to, and then you can click the Printer Queue batch to run it.
  8. Turn your printer on and print a document.

Those are three quick and effective fixes for a printer queue that isn’t clearing in Windows 10. If your printer queue often gets stuck, consider updating the printer’s driver with Device Manager. You can save new drivers to Windows 10 from printer manufacturer websites. In addition, you can also run a Printer troubleshooter in Windows 10.

How to fix printer queue in Windows 10, 8, 7

  • Download and install here this Driver Updater tool
  • Once installed, click Scan to find outdated and bad printer drivers
  • Click the Update Your Drivers Now after the scan to start the repair/update process

Fix all printer
related issues right now!

Having problems with the printer queue in Windows 7, 8 or Windows 10 can be very annoying, especially if the printer queue is stuck and the documents you printed over time keep printing over and over again. For one thing, you cannot even stop the printer, except if you shut it down from the power button. However, in some cases, if you reboot your Windows 7, 8 or Windows 10 device and start the printer, it will automatically start printing.

Also in Windows 7, 8 or Windows 10 when you click to print something and you accidentaly clicked a couple of times on the print button, it might print the document several times. Well, you will be glad to find out that there is a very easy fix to the printer queue issues. All you need to do is follow the methods posted below.

How to fix stuck printer queue on PC

1. Cancel your documents

  1. Move the mouse to the lower left side of the screen.
  2. After you have a menu in front of you left click on the “Run” feature.
  3. In the “Run” window you will need to type “Control Printers”.
  4. Left click on the “OK” button in the “Run” window.
  5. Under the topic “Printers” you will need to right click on your default printer and left click on the “See what’s printing” feature in the menu presented there.
  6. Left click on the “Printer” icon in the upper right side of the window.
    Note: instead of the “Printer” icon you might have the “File” icon in which case you will need to left click on that.
  7. Now, in the menu presented, left click on the “Cancel all documents” feature.
  8. This should cancel all your documents you have stuck in the printer queue. Also if this doesn’t work you will have to reboot the Windows 7, 8 or Windows 10 device and try again.
  • RELATED: Fix: Printer queue won’t clear in Windows 10

2. Restart the Spooler service

  1. Move the mouse over to the lower left side of the screen and left click there.
  2. Choose the feature “Command Prompt (Admin)” by left clicking on it.
  3. Type in the command prompt “Net Stop Spooler” without the quotes.
  4. Press the “Enter” button on the keyboard.
  5. Type in the command prompt window the following command “del %systemroot%System32spoolprinters* /Q” without the quotes.
  6. Press the “Enter” button on the keyboard.
  7. Type in the command prompt window the following command “Net Start Spooler” without the quotes.
  8. Press “Enter” on the keyboard.
  9. Now everything should get back to normal. If it doesn’t then you will need to reboot once more the Windows 8 or Windows 10 device and try this tutorial again to see if it works.
Читайте также:  Windows all fonts download

3. Check your printer drivers

Verify if your printer manufacturer has the drivers necessary to run in your Windows 7, 8 or Windows 10 device.
Note: You can look on the manufacturer’s website for the latest update on your printer’s driver and install it from there.

You also can use this third-party tool (100% safe and tested by us) to automatically download all the outdated drivers on your PC.

4. Use a different user account

Some users confirmed that using a different user account helped them fix their printer queue issue. So, if you already have a second user account on your computer, log in and check if your printer works as it should on that account. If not, create a new user account and test your printer again.

Now, that you have your printer queue working once again, you can start using your device without having to worry about the printer going nuts. If you have any questions regarding the printer queue issues, let us know in the comments below and we will help you as soon as possible.

RELATED STORIES TO CHECK OUT:

can’t delete print queue in Windows 10

I have a document that has been printed but is now again showing in print queue but won’t delete, just shows as pending. So can’t use printer.

HP 3050A printer.

Before windows 10 upgrade I could go into printer spoolers and delete, but the 2 items shown there don’t delete.

How do I sort this with this new windows system?

Thank you for posting your query in Microsoft Community.

I understand your concern, and we in Community will try to help you in the best possible way we can.

In this case you will have to manually clear them and check.

Clear the Print Queue.

This will often fix the problem on its own.

    • Open the Services window (Windows key + R, type services.msc, press enter).
    • Select Print Spooler and click the Stop icon, if it is not stopped already.
    • Navigate to C:\Windows\system32\spool\PRINTERS and open this file. You may need to show hidden files or enter an administrator’s password.
    • Delete all contents inside the folder. Do not delete the PRINTERS folder itself. Note that this will remove all current print jobs, so make sure no one on your network is using the printer.
    • Return to the Services window, select Print Spooler, and click Start.

Show hidden files

Hope the information helps, if you have any further queries, feel free to post. We are here to assist you.
Regards,

Print Queue Класс

Определение

Управляет принтерами и заданиями печати. Manages printers and print jobs.

Комментарии

Некоторые свойства PrintQueue объекта представляют характеристики служебной программы очереди печати, выполняемой на компьютере, но другие представляют функции или состояния самого принтера. Some properties of the PrintQueue object represent characteristics of the print queue utility that runs on the computer, but others represent features or states of the printer itself. Например, NumberOfJobs является характеристикой очереди печати, но Location является свойством принтера. For example, NumberOfJobs is a characteristic of the print queue, but Location is a property of the printer. Многие свойства принтера, например, требует ли он вмешательства пользователя, должны передаваться с помощью Refresh метода, от самого принтера к PrintQueue объекту. Many of the properties of the printer, such as whether it needs user attention, need to be passed, by means of the Refresh method, from the printer itself to the PrintQueue object. Это необходимо сделать, прежде чем соответствующее свойство ( NeedUserIntervention ) будет считано программой. This should be done before the corresponding property (NeedUserIntervention) is read by your program. Аналогично, когда программа изменяет значения одного или нескольких свойств PrintQueue объекта, изменение должно быть записано в действующую программу очереди печати на компьютере. Similarly, when your program changes the values of one or more properties of a PrintQueue object, the change must be written to the actual print queue utility on the computer. Это делается с помощью Commit метода. Do this with the Commit method.

Классы в System.Printing пространстве имен не поддерживаются для использования в службе Windows или ASP.NET приложении или службе. Classes within the System.Printing namespace are not supported for use within a Windows service or ASP.NET application or service. Попытка использования этих классов в одном из этих типов приложений может привести к непредвиденным проблемам, например к снижению производительности службы и исключений времени выполнения. Attempting to use these classes from within one of these application types may produce unexpected problems, such as diminished service performance and run-time exceptions.

Если требуется выполнить печать из Windows Forms приложения, см System.Drawing.Printing . раздел пространство имен. If you want to print from a Windows Forms application, see the System.Drawing.Printing namespace.

Конструкторы

Инициализирует новый экземпляр класса PrintQueue, используя указанный PrintServer и имя очереди. Initializes a new instance of PrintQueue class using the specified PrintServer and queue name.

Инициализирует новый экземпляр класса PrintQueue, используя указанный PrintServer, имя очереди и версию схемы печати. Initializes a new instance of PrintQueue class using the specified PrintServer, queue name, and print schema version.

Инициализирует новый экземпляр класса PrintQueue, используя указанный PrintServer, имя очереди, версию схемы печати и необходимый тип доступа. Initializes a new instance of PrintQueue class using the specified PrintServer, queue name, print schema version, and desired access.

Инициализирует новый экземпляр класса PrintQueue, используя указанный PrintServer, имя очереди и массив инициализируемых значений PrintQueueIndexedProperty. Initializes a new instance of PrintQueue class using the specified PrintServer, queue name, and array of PrintQueueIndexedProperty values to initialize.

Инициализирует новый экземпляр класса PrintQueue, используя указанный PrintServer, имя очереди, массив инициализируемых значений типа PrintQueueIndexedProperty и необходимый тип доступа. Initializes a new instance of PrintQueue class with the specified PrintServer, queue name, array of PrintQueueIndexedProperty values to initialize, and desired access.

Инициализирует новый экземпляр класса PrintQueue, используя указанный PrintServer, имя очереди и необходимый тип доступа. Initializes a new instance of PrintQueue class using the specified PrintServer, queue name, and desired access.

Инициализирует новый экземпляр класса PrintQueue, используя указанный PrintServer, имя очереди и массив имен инициализируемых свойств. Initializes a new instance of PrintQueue class using the specified PrintServer, queue name, and array of property names to initialize.

Инициализирует новый экземпляр класса PrintQueue, используя указанный PrintServer, имя очереди, фильтр свойств и необходимый тип доступа. Initializes a new instance of PrintQueue class using the specified PrintServer, queue name, property filter, and desired access.

Свойства

Получает скорость принтера, измеряемую страницами в минуту. Gets the speed of the printer measured in pages per minute.

Возвращает версию схемы печати. Gets the version of the Print Schema.

Получает или задает комментарий к принтеру. Gets or sets a comment about the printer.

Получает объект, который содержит параметры конфигурации для текущего задания печати. Gets an object that contains the configuration settings for the current print job.

Получает или задает параметры принтера по умолчанию, связанные с данной очередью PrintQueue. Gets or sets the default printer options associated with this PrintQueue.

Получает или задает приоритет по умолчанию, который назначается каждому новому зданию печати, добавляемому в очередь. Gets or sets the default priority that is given to each new print job added to the queue.

Получает описание очереди печати. Gets a description of the print queue.

Получает полное имя очереди. Gets the complete name of the queue.

Получает значение, указывающее наличие на принтере неопределенной проблемы с бумагой. Gets a value that indicates if the printer is having an unspecified paper problem.

Читайте также:  Nero mediahome для windows 10

Получает значение, указывающее наличие тонера в принтере. Gets a value that indicates if the printer has toner.

Получает или задает (защищенное свойство) сервер печати, управляющий очередью печати. Gets or sets (protected) the print server that controls the print queue.

Получает или задает значение, указывающее, работает ли очередь в режиме неполного доверия, который является более высоким уровнем доверия. Gets or sets a value that indicates whether the queue is operating in a partially trusted mode, a higher level of trust.

Получает значение, указывающее, включена ли двунаправленная связь с принтером. Gets a value that indicates whether bidirectional communication with the printer is enabled.

Получает значение, указывающее, занято ли устройство печати. Gets a value that indicates whether the printing device is busy.

Получает значение, указывающее, есть ли в очереди документы с несовпадающими конфигурациями документа и принтера. Gets a value that indicates whether the queue holds documents when document and printer configurations do not match.

Получает значение, указывающее, печатаются ли документы сразу на принтере или сначала буферизуются, а потом печатаются. Gets a value that indicates whether the queue prints directly to the printer or spools documents first and then prints them.

Возвращает или задает значение, указывающее, был ли удален объект. Gets or sets a value that indicates whether the object has been disposed.

(Унаследовано от PrintSystemObject) IsDoorOpened

Получает значение, указывающее, открыта ли дверца на принтере. Gets a value that indicates whether a door is open on the printer.

Получает значение, указывающее, скрыта ли очередь печати в пользовательском интерфейсе приложения. Gets a value that indicates whether the print queue is hidden in your application’s user interface.

Получает значение, указывающее, есть ли ошибки в работе принтера или другого устройства. Gets a value that indicates whether the printer or device is in an error condition.

Получает значение, указывающее, инициализируется ли принтер самостоятельно. Gets a value that indicates whether the printer is initializing itself.

Получает значение, указывающее, выполняется ли на принтере получение или отправка данных или сигналов. Gets a value that indicates whether the printer is receiving or sending data or signals.

Получает значение, указывающее, необходима ли для текущего задания печати ручная подача бумаги в принтер. Gets a value that indicates whether the printer needs to be manually fed paper for the current print job.

Получает значение, указывающее, доступен ли принтер. Gets a value that indicates whether the printer is available.

Возвращает значение, указывающее, отключен ли принтер. Gets a value that indicates whether the printer is offline.

Получает значение, указывающее, имеется ли на принтере нехватка памяти. Gets a value that indicates whether the printer is out of memory.

Получает значение, указывающее, необходимо ли перезагрузить в принтер бумагу необходимого размера для текущего задания. Gets a value that indicates whether the printer needs to be reloaded with paper of the size required for the current job.

Получает значение, указывающее, есть ли опасность переполнения области вывода принтера. Gets a value that indicates whether the output area of the printer is in danger of overflowing.

Получает значение, указывающее, застрял ли в принтере текущий лист бумаги. Gets a value that indicates whether the current sheet of paper is stuck in the printer.

Получает значение, указывающее, приостановлена ли очередь печати. Gets a value that indicates whether the print queue has been paused.

Получает значение, указывающее, находится ли принтер в процессе удаления задания печати. Gets a value that indicates whether the printer is in the process of deleting a print job.

Получает значение, указывающее, находится ли принтер в режиме экономии энергии. Gets a value that indicates whether the printer is in power save mode.

Получает значение, указывающее, выполняется ли печать задания. Gets a value that indicates whether a job is printing.

Получает значение, указывающее, обрабатывает ли принтер задание печати. Gets a value that indicates whether the printer is processing a print job.

Получает значение, указывающее, видят ли принтер другие сетевые пользователи. Gets a value that indicates whether the printer is visible to other network users.

Получает значение, указывающее, поддерживает ли принтер очередь, в которой одновременно содержатся несколько заданий печати. Gets a value that indicates whether the printer can support a queue with more than one print job in it at a time.

Получает значение, указывающее, может ли очередь печати использовать расширенный метафайл (EMF), ускоряющий поток данных от приложения, которое осуществляет печать, к диспетчеру очереди Windows. Gets a value that indicates whether the print queue can use EMF (Enhanced Meta File) that enables faster data flow from a printing application to the Windows spooler.

Получает значение, указывающее, находится ли принтер в состоянии ошибки. Gets a value that indicates whether the printer is in an error state.

Получает значение, указывающее, доступен ли принтер для использования другими компьютерами в сети. Gets a value that indicates whether the printer is available for use by other computers on the network.

Получает значение, указывающее, заканчивается ли на принтере тонер. Gets a value that indicates whether the printer is running short of toner.

Получает значение, указывающее, ожидает ли очередь добавления задания. Gets a value that indicates whether the queue is waiting for a job to be added.

Получает значение, указывающее, прогревается ли принтер. Gets a value that indicates whether the printer is warming up.

Возвращает значение, указывающее, создан ли драйвер принтера на основе модели XPSDrv и, следовательно, использует ли он XML Paper Specification (XPS) в качестве языка описания страниц. Gets a value that indicates whether the printer’s driver is built on the XPSDrv model so it uses XML Paper Specification (XPS) as its page description language.

Получает значение, указывающее, сохраняет ли очередь языковой файл принтера, вместо того, чтобы удалить его после печати. Gets a value that indicates whether the queue is saving the printer language file instead of deleting it following printing.

Получает или задает физическое расположение принтера. Gets or sets the printer’s physical location.

Возвращает номер самой последней версии схемы печати, которая может использоваться очередью. Gets the most recent possible version number of the Print Schema that the queue can use.

Получает или задает имя очереди печати. Gets or sets the print queue’s name.

Получает значение, указывающее, требуется ли принтеру вмешательство человека. Gets a value that indicates whether the printer needs the attention of a human being.

Получает общее число заданий, выстроившихся в очереди печати. Gets the total number of jobs lined up in the print queue.

Получает значение, указывающее на невозможность печати принтером текущей страницы. Gets a value that indicates whether the printer is unable to print the current page.

Возвращает родительский объект. Gets the parent of the object.

(Унаследовано от PrintSystemObject) PrintingIsCancelled

Получает или задает значение, указывающее, отменяется ли текущее задание печати. Gets or sets a value that indicates whether the current print job is being cancelled.

Получает или задает приоритет очереди печати по отношению к другим очередям печати, которые размещаются на том же сервере печати и используют тот же физический принтер. Gets or sets the priority of the print queue relative to other print queues that are hosted by the same print server and that use the same physical printer.

Возвращает коллекцию пар атрибутов и значений. Gets a collection of attribute and value pairs.

(Унаследовано от PrintSystemObject) QueueAttributes

Получает свойства очереди печати. Gets the properties of the print queue.

Получает или задает драйвер принтера для очереди. Gets or sets the printer driver for the queue.

Получает или задает порт, используемый очередью. Gets or sets the port that the queue uses.

Получает обработчик заданий печати, используемый очередью. Gets or sets the print processor that the queue uses.

Получает значение, представляющее состояние принтера. Gets a value that represents the status of the printer. К ним относятся «прогрев»,»инициализация»,»печать» и другие. These include «warming up,» «initializing,» «printing,» and others.

Получает значение, указывающее, печатает ли принтер задания, у которых завершен процесс буферизации, прежде чем печатать не полностью буферизованные задания, даже если последние стали в очередь раньше или имеют более высокий приоритет. Gets a value that indicates whether the printer prints jobs that have completed the spooling process before jobs that have not fully spooled even if the latter entered the queue first or have a higher priority.

Читайте также:  Star wars ��� linux

Получает или задает путь и имя файла, который вставляется в начало каждого задания печати. Gets or sets the path and file name of a file that is inserted at the beginning of each print job.

Получает или задает имя принтера, которое пользователи видят по сети, когда он находится в общем доступе. Gets or sets a name for the printer that is seen by users on the network when it is shared.

Получает или задает самое раннее время дня, выраженное как количество минут после полуночи в формате UTC (время по Гринвичу [GMT]), когда принтер будет печатать задание. Gets or sets the earliest time of day, expressed as the number of minutes after midnight Coordinated Universal Time (UTC) (also called Greenwich Mean Time [GMT]), that the printer will print a job.

Получает или задает самое позднее время, выраженное как количество минут после полуночи в формате UTC (время по Гринвичу [GMT]), когда принтер будет печатать задание. Gets or sets the latest time, expressed as the number of minutes after midnight Coordinated Universal Time (UTC) (also called Greenwich Mean Time [GMT]), that the printer will print a job.

Получает или задает объект текущего пользователя PrintTicket, используемый по умолчанию, который содержит подробные сведения о задании печати. Gets or sets the current user’s default PrintTicket object which contains detailed information about the print job.

Методы

Вставляет в очередь новое задание печати (с общим именем), содержимое которого является массивом типа Byte. Inserts a new (generically named) print job, whose content is a Byte array, into the queue.

Вставляет в очередь новое задание печати, содержимое которого является массивом типа Byte. Inserts a new print job, whose content is a Byte array, into the queue.

Вставляет новое задание печати для документа XPS в очередь и присваивает ему указанное имя и параметры. Inserts a new print job for an XML Paper Specification (XPS) Document into the queue, and gives it the specified name and settings.

Вставляет новое задание печати для документа XPS в очередь, присваивает ему указанное имя и указывает, следует ли проверять его. Inserts a new print job for an XML Paper Specification (XPS) Document into the queue, gives it the specified name, and specifies whether or not it should be validated.

Вставляет новое задание печати для документа XPS в очередь, присваивает ему указанное имя и параметры и указывает, следует ли проверять его. Inserts a new print job for an XML Paper Specification (XPS) Document into the queue, gives it the specified name and settings, and specifies whether or not it should be validated.

Записывает текущие свойства объекта PrintQueue в действующую очередь печати на сервере печати. Writes the current properties of the PrintQueue object to the actual print queue on the print server.

Создает объект XpsDocumentWriter с указанными размерами. Creates an XpsDocumentWriter object with the specified dimensions.

Создает объект XpsDocumentWriter, открывает стандартное диалоговое окно печати Windows и возвращает параметр ref ( ByRef в Visual Basic), представляющий сведения об области печати и размерах носителя. Creates an XpsDocumentWriter object, opens a Windows common print dialog and returns a ref ( ByRef in Visual Basic) parameter that represents information about the imageable area and the dimensions of the media.

Создает объект XpsDocumentWriter, открывает стандартный диалог печати Windows, передает в него диапазон страниц и описание задания печати и возвращает параметр ref ( ByRef в Visual Basic), представляющий сведения об области печати и размерах носителя. Creates an XpsDocumentWriter object, opens a Windows common print dialog, provides the dialog with a page range and a description of the print job, and returns a ref ( ByRef in Visual Basic) parameter that represents information about the imageable area and the dimensions of the media.

Создает объект XpsDocumentWriter и связывает его с указанной очередью печати. Creates an XpsDocumentWriter object and associates it with the specified print queue.

Создает объект XpsDocumentWriter, открывает стандартное диалоговое окно печати Windows (и передает в него описание задания) и возвращает параметр ref ( ByRef в Visual Basic), представляющий сведения об области печати и размерах носителя. Creates an XpsDocumentWriter object, opens a Windows common print dialog (and provides it a job description) and returns a ref ( ByRef in Visual Basic) parameter that represents information about the imageable area and the dimensions of the media.

Создает объект XpsDocumentWriter, открывает стандартное диалоговое окно печати Windows, передает в него диапазон страниц и возвращает параметр ref ( ByRef в Visual Basic), представляющий сведения об области печати и размерах носителя. Creates an XpsDocumentWriter object, opens a Windows common print dialog, provides the dialog with a page range, and returns a ref ( ByRef in Visual Basic) parameter that represents information about the imageable area and the dimensions of the media.

Освобождает все ресурсы, занятые модулем PrintSystemObject. Releases all resources used by the PrintSystemObject.

(Унаследовано от PrintSystemObject) Dispose(Boolean)

Освобождает неуправляемые ресурсы, используемые объектом PrintSystemObject, а при необходимости освобождает также управляемые ресурсы. Releases the unmanaged resources used by the PrintSystemObject and optionally releases the managed resources.

(Унаследовано от PrintSystemObject) Equals(Object)

Определяет, равен ли указанный объект текущему объекту. Determines whether the specified object is equal to the current object.

(Унаследовано от Object) GetHashCode()

Служит хэш-функцией по умолчанию. Serves as the default hash function.

(Унаследовано от Object) GetJob(Int32)

Получает задание печати с заданным идентификатором. Gets the print job with the specified ID number.

Получает объект PrintCapabilities, указывающий возможности принтера. Gets a PrintCapabilities object that identifies the capabilities of the printer.

Получает объект PrintCapabilities, указывающий возможности принтера. Gets a PrintCapabilities object that identifies the capabilities of the printer.

Возвращает объект MemoryStream, определяющий возможности принтера в виде XML-потока, компилируемого с помощью схемы печати. Gets a MemoryStream object that specifies the printer’s capabilities as an XML stream that complies with the Print Schema.

Возвращает объект MemoryStream, указывающий возможности принтера в формате XML, компилируемого с помощью схемы печати. Gets a MemoryStream object that specifies the printer’s capabilities in an XML format that complies with the Print Schema.

Создает коллекцию, в которой для каждого задания из очереди содержится объект PrintSystemJobInfo. Creates a collection that contains a PrintSystemJobInfo object for each job in the queue.

Возвращает объект Type для текущего экземпляра. Gets the Type of the current instance.

(Унаследовано от Object) Initialize()

Инициализирует свойства объекта PrintSystemObject. Initializes the properties of the PrintSystemObject.

(Унаследовано от PrintSystemObject) InternalDispose(Boolean)

Освобождает неуправляемые ресурсы, используемые объектом PrintQueue, а при необходимости освобождает также управляемые ресурсы. Releases the unmanaged resources used by the PrintQueue and optionally releases the managed resources.

Создает неполную копию текущего объекта Object. Creates a shallow copy of the current Object.

(Унаследовано от Object) MergeAndValidatePrintTicket(PrintTicket, PrintTicket)

Выполняет слияние двух объектов PrintTicket и гарантирует, что конечный объект PrintTicket будет допустимым и ему не потребуются какие-либо возможности печати, не поддерживаемые принтером. Merges two PrintTickets and guarantees that the resulting PrintTicket is valid and does not ask for any printing functionality that the printer does not support.

Выполняет слияние двух объектов PrintTicket и гарантирует, что конечный объект PrintTicket будет допустимым, ему не потребуются какие-либо возможности печати, не поддерживаемые принтером, и он будет ограничен указанной областью. Merges two PrintTickets and guarantees that the resulting PrintTicket is valid, does not ask for any printing functionality that the printer does not support, and is limited to the specified scope.

Приостанавливает очередь печати. Pauses the print queue. Очередь остается приостановленной до тех пор, пока не будет выполнен метод Resume(). It remains paused until Resume() is executed.

Удаляет все задания из очереди печати. Removes all the jobs in the print queue.

Обновляет свойства объекта PrintQueue значениями, поступающими от принтера и утилиты очереди печати, запущенной на компьютере. Updates the properties of the PrintQueue object with values from the printer and the print queue utility that runs on the computer.

Возобновляет работу приостановленной очереди печати. Restarts a print queue that was paused.

Возвращает строку, представляющую текущий объект. Returns a string that represents the current object.

Оцените статью