ZPLPrinter Emulator SDK for .NET
Show / Hide Table of Contents

Class WindowsPrintJob

Specifies information about how the output from a ZPLPrinter object is printed under Windows.

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.ZPLPrinter.Printing
Assembly: cs.temp.dll.dll
Syntax
public class WindowsPrintJob : IDisposable

Constructors

WindowsPrintJob()

Initializes a new instance of the WindowsPrintJob class

Declaration
public WindowsPrintJob()

WindowsPrintJob(PrinterSettings)

Initializes a new instance of the WindowsPrintJob 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

PrinterSettings

Gets or sets information about the printer used for printing.

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

Methods

Dispose()

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

PrintImage(List<Byte[]>, Int32, String, Double, Double)

Starts the printing process by sending the specified Images to the specified printer.

Declaration
public void PrintImage(List<byte[]> zplPrinterOutput, int copies = 1, string documentName = "", double marginLeft = -1, double marginTop = -1)
Parameters
Type Name Description
System.Collections.Generic.List<System.Byte[]> zplPrinterOutput

The Image output from a ZPLPrinter object.

System.Int32 copies

The number of copies of the label to print. Default is 1.

System.String documentName

The name of the document to print shown by the Windows print queue. Default is an empty string.

System.Double marginLeft

The left margin (in inch units) when printing an image label. Default is -1 which means the label is printed horizontally centered.

System.Double marginTop

The top margin (in inch units) when printing an image label. Default is -1 which means the label is printed vertically centered.

PrintRawCommands(List<Byte[]>)

Starts the printing process by sending the raw commands to the specified printer.

Declaration
public void PrintRawCommands(List<byte[]> zplPrinterOutput)
Parameters
Type Name Description
System.Collections.Generic.List<System.Byte[]> zplPrinterOutput

The raw commands output from a ZPLPrinter object.

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