PrintQueue Methods

 

Namespace:   System.Printing
Assembly:  System.Printing (in System.Printing.dll)

NameDescription
System_CAPS_pubmethodAddJob()

Inserts a new (generically named) print job, whose content is a Byte array, into the queue.

System_CAPS_pubmethodAddJob(String)

Inserts a new print job, whose content is a Byte array, into the queue.

System_CAPS_pubmethodAddJob(String, PrintTicket)

Inserts a new print job for an XML Paper Specification (XPS) Document into the queue, and gives it the specified name and settings.

System_CAPS_pubmethodAddJob(String, String, Boolean)

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.

System_CAPS_pubmethodAddJob(String, String, Boolean, PrintTicket)

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.

System_CAPS_pubmethodCommit()

Writes the current properties of the PrintQueue object to the actual print queue on the print server. (Overrides PrintSystemObject.Commit().)

System_CAPS_pubmethodSystem_CAPS_staticCreateXpsDocumentWriter(Double, Double)

Creates an XpsDocumentWriter object with the specified dimensions.

System_CAPS_pubmethodSystem_CAPS_staticCreateXpsDocumentWriter(PrintDocumentImageableArea)

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.

System_CAPS_pubmethodSystem_CAPS_staticCreateXpsDocumentWriter(PrintDocumentImageableArea, PageRangeSelection, PageRange)

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.

System_CAPS_pubmethodSystem_CAPS_staticCreateXpsDocumentWriter(PrintQueue)

Creates an XpsDocumentWriter object and associates it with the specified print queue.

System_CAPS_pubmethodSystem_CAPS_staticCreateXpsDocumentWriter(String, PrintDocumentImageableArea)

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.

System_CAPS_pubmethodSystem_CAPS_staticCreateXpsDocumentWriter(String, PrintDocumentImageableArea, PageRangeSelection, PageRange)

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.

System_CAPS_pubmethodDispose()

Releases all resources used by the PrintSystemObject. (Inherited from PrintSystemObject.)

System_CAPS_protmethodDispose(Boolean)

Releases the unmanaged resources used by the PrintSystemObject and optionally releases the managed resources. (Inherited from PrintSystemObject.)

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Releases the resources that are being used by the PrintSystemObject. (Inherited from PrintSystemObject.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetJob(Int32)

Gets the print job with the specified ID number.

System_CAPS_pubmethodGetPrintCapabilities()

Gets a PrintCapabilities object that identifies the capabilities of the printer.

System_CAPS_pubmethodGetPrintCapabilities(PrintTicket)

Gets a PrintCapabilities object that identifies the capabilities of the printer.

System_CAPS_pubmethodGetPrintCapabilitiesAsXml()

Gets a MemoryStream object that specifies the printer's capabilities as an XML stream that complies with the Print Schema.

System_CAPS_pubmethodGetPrintCapabilitiesAsXml(PrintTicket)

Gets a MemoryStream object that specifies the printer's capabilities in an XML format that complies with the Print Schema.

System_CAPS_pubmethodGetPrintJobInfoCollection()

Creates a collection that contains a PrintSystemJobInfo object for each job in the queue.

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodInitialize()

Initializes the properties of the PrintSystemObject. (Inherited from PrintSystemObject.)

System_CAPS_protmethodInternalDispose(Boolean)

Releases the unmanaged resources used by the PrintQueue and optionally releases the managed resources. (Overrides PrintSystemObject.InternalDispose(Boolean).)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodMergeAndValidatePrintTicket(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.

System_CAPS_pubmethodMergeAndValidatePrintTicket(PrintTicket, PrintTicket, PrintTicketScope)

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.

System_CAPS_pubmethodPause()

Pauses the print queue. It remains paused until Resume is executed.

System_CAPS_pubmethodPurge()

Removes all the jobs in the print queue.

System_CAPS_pubmethodRefresh()

Updates the properties of the PrintQueue object with values from the printer and the print queue utility that runs on the computer. (Overrides PrintSystemObject.Refresh().)

System_CAPS_pubmethodResume()

Restarts a print queue that was paused.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

Return to top
Show: