ThermalLabel SDK for .NET
Show / Hide Table of Contents

Class WebPrintJob

Specifies information about how a thermal label is printed, including the printer device settings, label orientation, number of copies, etc. to be used in ASP.NET scenarios by using the TLClientPrint utility.

Inheritance
System.Object
WebPrintJob
Inherited Members
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 WebPrintJob

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

Duplex

Gets or sets the printer setting for double-sided printing. Default is false.

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

FingerprintSettings

Gets the Fingerprint custom settings.

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

LicenseKey

Gets or sets the license key info.

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

LicenseOwner

Gets or sets the license owner info.

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

MarginLeft

Gets or sets the left margin when printing a label as graphic. The unit of measure is the one specified in the ThermalLabel object. Default is -1 which means the label is printed horizontally centered.

Declaration
public double MarginLeft { get; set; }
Property Value
Type Description
System.Double

MarginTop

Gets or sets the top margin when printing a label as graphic. The unit of measure is the one specified in the ThermalLabel object. Default is -1 which means the label is printed vertically centered.

Declaration
public double MarginTop { get; set; }
Property Value
Type Description
System.Double

PrinterSettings

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

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

PrintFiles

Gets or sets the binary content of the image files to be printed.

Declaration
public byte[] PrintFiles { get; set; }
Property Value
Type Description
System.Byte[]

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

RawPrinterCommands

Gets or sets the raw printer commands to be sent to the specified printer.

Declaration
public byte[] RawPrinterCommands { get; set; }
Property Value
Type Description
System.Byte[]

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

ShowPrintDialog

Gets or sets whether a custom Print Dialog is displayed at the client machine. Default is false

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

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

ThermalLabelGroup

Gets or sets a group of ThermalLabel objects to be printed out. Default value is Empty

Declaration
public List<ThermalLabel> ThermalLabelGroup { get; }
Property Value
Type Description
System.Collections.Generic.List<ThermalLabel>

Methods

CreateFromString(String)

Declaration
public void CreateFromString(string webPrintJobData)
Parameters
Type Name Description
System.String webPrintJobData

ToString()

Declaration
public override string ToString()
Returns
Type Description
System.String
Overrides
System.Object.ToString()
Back to top Copyright © 2003- Neodynamic SRL
www.neodynamic.com