Show / Hide Table of Contents

Class WindowsPrintJob

Specifies information about how a thermal label is printed, including the printer device settings, label orientation, number of copies, etc.

Inheritance
System.Object
WindowsPrintJob
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Neodynamic.SDK.Printing
Assembly: cs.temp.dll.dll
Syntax
public class WindowsPrintJob : IDisposable

Constructors

WindowsPrintJob()

Initializes a new instance of the PrintJob class

Declaration
public WindowsPrintJob()

WindowsPrintJob(PrinterSettings)

Initializes a new instance of the PrintJob class with the specified printer settings.

Declaration
public WindowsPrintJob(PrinterSettings printerSettings)
Parameters
Type Name Description
PrinterSettings printerSettings

The printer settings which provides info about the target printer.

Properties

CommandsOptimizationEnabled

Gets or sets whether optimization mechanisms are performed when generating the printer commands. Default is true.

Declaration
public bool CommandsOptimizationEnabled { get; set; }
Property Value
Type Description
System.Boolean

Copies

Gets or sets the number of copies of the thermal label to print. Default value is 1

Declaration
public int Copies { get; set; }
Property Value
Type Description
System.Int32

DocumentName

Gets or sets the name of the document to print. Default is an empty string.

Declaration
public string DocumentName { get; set; }
Property Value
Type Description
System.String

FingerprintSettings

Gets the Fingerprint custom settings.

Declaration
public FingerprintSettings FingerprintSettings { get; }
Property Value
Type Description
FingerprintSettings

PrinterSettings

Gets or sets information about the thermal printer used for printing.

Declaration
public PrinterSettings PrinterSettings { get; set; }
Property Value
Type Description
PrinterSettings

PrintOrientation

Gets or sets the page orientation used to print the thermal label. Default value is Portrait

Declaration
public PrintOrientation PrintOrientation { get; set; }
Property Value
Type Description
PrintOrientation

Replicates

Gets or sets the number of replicates of the thermal label to print. Default value is 0 (zero)

Declaration
public int Replicates { get; set; }
Property Value
Type Description
System.Int32

ThermalLabel

Gets or sets the ThermalLabel object to be printed out. Default value is Null

Declaration
public ThermalLabel ThermalLabel { get; set; }
Property Value
Type Description
ThermalLabel

Methods

Dispose()

Declaration
public void Dispose()
Implements
System.IDisposable.Dispose()

Print()

Starts the thermal label's printing process. Raw Commands will be sent to the specified printer.

Declaration
public void Print()

Print(List<ThermalLabel>)

Starts the printing process of the specified group of ThermalLabel objects. Raw Commands will be sent to the specified printer.

Declaration
public void Print(List<ThermalLabel> thermalLabelGroup)
Parameters
Type Name Description
System.Collections.Generic.List<ThermalLabel> thermalLabelGroup

The group of ThermalLabel objects to print out.

Print(ThermalLabel)

Starts the printing process of the specified ThermalLabel object. Raw Commands will be sent to the specified printer.

Declaration
public void Print(ThermalLabel thermalLabel)
Parameters
Type Name Description
ThermalLabel thermalLabel

The ThermalLabel object to print out.

PrintAsGraphic()

Starts the thermal label's printing process. Graphic Commands will be sent to the specified printer.

Declaration
public void PrintAsGraphic()

PrintAsGraphic(List<ThermalLabel>)

Starts the printing process of the specified group of ThermalLabel objects. Graphic Commands will be sent to the specified printer.

Declaration
public void PrintAsGraphic(List<ThermalLabel> thermalLabelGroup)
Parameters
Type Name Description
System.Collections.Generic.List<ThermalLabel> thermalLabelGroup

The group of ThermalLabel objects to print out.

PrintAsGraphic(ThermalLabel)

Starts the printing process of the specified ThermalLabel object. Graphic Commands will be sent to the specified printer.

Declaration
public void PrintAsGraphic(ThermalLabel thermalLabel)
Parameters
Type Name Description
ThermalLabel thermalLabel

The ThermalLabel object to print out.

PrintFiles(Byte[])

Starts the printing process of the specified files.

Declaration
public void PrintFiles(byte[] printFilesBinaryContent)
Parameters
Type Name Description
System.Byte[] printFilesBinaryContent

The binary content of the print files.

Back to top Copyright © 2003- Neodynamic SRL
http://www.neodynamic.com