Inherited from
Applies to Objects
This interface is exposed from the Print Queue object. It includes additional properties that are not provided in the IADsPrintQueue interface. These properties can be used to get or set the shared name of a printer and checking if the printer is shared or not.
Property |
Description |
Gets and sets a boolean value that indicates whether a mismatched document is kept in the queue. A mismatched document is one whose document setup does not match the printer setup. |
|
Gets and sets a boolean value that indicates whether the printer is shared or not. |
|
Gets and sets a boolean value that indicates whether the documents are kept after they have been printed. |
|
Gets and sets the name of the printer. |
|
Gets and sets a boolean value that indicates whether spooled documents are printed first. This is relevant if there is a document with higher priority still spooling. |
|
Gets and sets the name of the printer by which it is shared. |
|
Gets and sets a boolean value that indicates whether printing starts immediately or only after the last page is spooled. This property is applicable only if the printer spools documents when printing. |
|
Gets and sets a boolean value that indicates whether the printer spools the documents or prints them directly. |
Example
Dim PrintQueueInfo As IPrintQueueInfo
'Get the IPrintQueueInfo interface. In the path HP DeskJet '500C is
the print queue.
Set PrintQueueInfo = GetObject ("NTDS://MSFT/MOON/HP DeskJet
500C")
See Also