The PrintJob type exposes the following members.

Constructors

  NameDescription
Public methodPrintJob()()()()
Initializes a new instance of the PrintJob class
Public methodPrintJob(PrinterSettings)
Initializes a new instance of the PrintJob class with the specified printer settings.

Methods

  NameDescription
Public methodBufferFlush
Sends all currently buffered output commands to the printer. It requires buffer is enabled on this print job through BufferOutput property.
Public methodCleanCache
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.
Public methodDispose
Public methodExportToImage(Stream, ImageSettings, Double)
Exports and saves this PrintJob to the specified Stream object and image settings.
Public methodExportToImage(String, ImageSettings, Double)
Exports and saves this PrintJob to the specified file and image settings.
Public methodExportToImage(ThermalLabel, Stream, ImageSettings, Double)
Exports and saves this PrintJob and ThermalLabel object to the specified Stream object and image settings.
Public methodExportToImage(ThermalLabel, String, ImageSettings, Double)
Exports and saves this PrintJob and ThermalLabel object to the specified file and image settings.
Public methodExportToPdf(Stream, Double)
Exports and saves this PrintJob to the specified Stream object in PDF format.
Public methodExportToPdf(String, Double)
Exports and saves this PrintJob to the specified PDF file.
Public methodExportToPdf(Stream, Double, Int32)
Exports and saves this PrintJob to the specified Stream object in PDF format.
Public methodExportToPdf(String, Double, Int32)
Exports and saves this PrintJob to the specified PDF file.
Public methodExportToPdf(ThermalLabel, Stream, Double)
Exports and saves this PrintJob and ThermalLabel object to the specified Stream object in PDF format.
Public methodExportToPdf(ThermalLabel, String, Double)
Exports and saves this PrintJob and ThermalLabel object to the specified PDF file.
Public methodExportToPdf(ThermalLabel, Stream, Double, Int32)
Exports and saves this PrintJob and ThermalLabel object to the specified Stream object in PDF format.
Public methodExportToPdf(ThermalLabel, String, Double, Int32)
Exports and saves this PrintJob and ThermalLabel object to the specified PDF file.
Public methodGetNativePrinterCommands()()()()
Generates the native printer commands for this print job settings.
Public methodGetNativePrinterCommands(ThermalLabel)
Generates the native printer commands for this print job settings and the specified ThermalLabel object.
Public methodPrint()()()()
Starts the thermal label's printing process.
Public methodPrint(ThermalLabel)
Starts the printing process of the specified ThermalLabel object.
Public methodPrint(List<(Of <<'(ThermalLabel>)>>))
Starts the printing process of the specified group of ThermalLabel objects.
Public methodStartCache
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.

Properties

  NameDescription
Public propertyBufferOutput
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.
Public propertyCopies
Gets or sets the number of copies of the thermal label to print. Default value is 1
Public propertyPrinterSettings
Gets or sets information about the thermal printer used for printing.
Public propertyPrintOrientation
Gets or sets the page orientation used to print the thermal label. Default value is Portrait
Public propertyReplicates
Gets or sets the number of replicates of the thermal label to print. Default value is 0 (zero)
Public propertyThermalLabel
Gets or sets the ThermalLabel object to be printed out. Default value is Null

See Also