Class PrinterSettings
Specifies information about the thermal printer used to print out a label, including printer id/name, printing resolution (DPI) and device connection like USB, Serial Port, Parallel Port and Network.
Inheritance
Inherited Members
Namespace: Neodynamic.SDK.Printing
Assembly: cs.temp.dll.dll
Syntax
public class PrinterSettings
Properties
Communication
Gets information about printer communication. Default value is USB
Declaration
public PrinterCommunication Communication { get; }
Property Value
Type | Description |
---|---|
PrinterCommunication |
Dpi
Gets or sets the printing resolution, in dots per inch, that is supported by the printer. Default value is 203
Declaration
public double Dpi { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
PrinterName
Gets or sets the name of the printer. Default value is an empty string
Declaration
public string PrinterName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
The printer name must be used when the printer communication type is USB, PrinterDriver (an installed Windows Driver) or Network (in case the host name is known and not its IP address).
ProgrammingLanguage
Gets or sets the core programming language supported by the printer. Default value is ZPL.
Declaration
public ProgrammingLanguage ProgrammingLanguage { get; set; }
Property Value
Type | Description |
---|---|
ProgrammingLanguage |
UseDefaultPrinter
Gets or sets whether to use the system's default printer name. Default is false.
Declaration
public bool UseDefaultPrinter { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |