The PrintJob type exposes the following members.
Constructors
Name | Description | |
---|---|---|
PrintJob()()()() |
Initializes a new instance of the PrintJob class
| |
PrintJob(PrinterSettings) |
Initializes a new instance of the PrintJob class with the specified printer settings.
|
Methods
Name | Description | |
---|---|---|
BufferFlush |
Sends all currently buffered output commands to the printer. It requires buffer is enabled on this print job through BufferOutput property.
| |
CleanCache |
Clenas the cache on the printer's memory. Important: It must be invoked after the Print method i.e as the last step of the print job process.
| |
Dispose | Releases all resources used by the PrintJob | |
Equals | (Inherited from Object.) | |
ExportToImage(Stream, ImageSettings, Double) |
Exports and saves this PrintJob to the specified Stream object and image settings.
| |
ExportToImage(String, ImageSettings, Double) |
Exports and saves this PrintJob to the specified file and image settings.
| |
ExportToImage(ThermalLabel, Stream, ImageSettings, Double) |
Exports and saves this PrintJob and ThermalLabel object to the specified Stream object and image settings.
| |
ExportToImage(ThermalLabel, String, ImageSettings, Double) |
Exports and saves this PrintJob and ThermalLabel object to the specified file and image settings.
| |
ExportToPdf(Stream, Double) |
Exports and saves this PrintJob to the specified Stream object in PDF format.
| |
ExportToPdf(String, Double) |
Exports and saves this PrintJob to the specified PDF file.
| |
ExportToPdf(Stream, Double, Int32) |
Exports and saves this PrintJob to the specified Stream object in PDF format.
| |
ExportToPdf(String, Double, Int32) |
Exports and saves this PrintJob to the specified PDF file.
| |
ExportToPdf(ThermalLabel, Stream, Double) |
Exports and saves this PrintJob and ThermalLabel object to the specified Stream object in PDF format.
| |
ExportToPdf(ThermalLabel, String, Double) |
Exports and saves this PrintJob and ThermalLabel object to the specified PDF file.
| |
ExportToPdf(ThermalLabel, Stream, Double, Int32) |
Exports and saves this PrintJob and ThermalLabel object to the specified Stream object in PDF format.
| |
ExportToPdf(ThermalLabel, String, Double, Int32) |
Exports and saves this PrintJob and ThermalLabel object to the specified PDF file.
| |
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
GetNativePrinterCommands()()()() |
Generates the native printer commands for this print job settings.
| |
GetNativePrinterCommands(ThermalLabel) |
Generates the native printer commands for this print job settings and the specified ThermalLabel object.
| |
GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
Print()()()() |
Starts the thermal label's printing process.
| |
Print(ThermalLabel) |
Starts the printing process of the specified ThermalLabel object.
| |
StartCache |
Starts the caching process uploading to the printer's memory all items marked with UseCache on the ThermalLabel object. Important: It must be invoked before the Print method.
| |
ToString | (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
BufferOutput |
Gets or sets a value indicating whether to buffer output printer commands. When the printer commands are buffered, the print job does not send them to the printer until the print job has been processed, or until the BufferFlush method is invoked. Default value is false i.e. the output is not buffered but sent to the printer while processing the print job.
| |
Copies |
Gets or sets the number of copies of the thermal label to print. Default value is 1
| |
PrinterSettings |
Gets or sets information about the thermal printer used for printing.
| |
PrintOrientation |
Gets or sets the page orientation used to print the thermal label. Default value is Portrait
| |
Replicates |
Gets or sets the number of replicates of the thermal label to print. Default value is 0 (zero)
| |
ThermalLabel |
Gets or sets the ThermalLabel object to be printed out. Default value is Null
|