zplCore.comzplCore.com

PrinterSettings

public sealed class PrinterSettings

Connection settings; only the members relevant to PrinterSettings.CommunicationType are used.

Constructors

SignatureDescription
# PrinterSettings()

Properties

PropertyTypeDescription
BaudRate { get; set; }int
CommunicationType { get; set; }CommunicationType
DataBits { get; set; }int
DevicePath { get; set; }stringUSB/File: device path (/dev/usb/lp0, \\.\USB001, file). Parallel: port ("LPT1") or device path (/dev/lp0).
EnablePrinting { get; set; }boolFalse = dry run: PrinterConnectionFactory.Create returns a DryRunPrinterConnection that only records the data (tests, demos, staging systems).
Handshake { get; set; }Handshake
Host { get; set; }string
Job { get; set; }ZplJobSettingsOptional print job settings (print mode, media tracking, media type, orientation) applied by ZplJobSettings.Apply.
Parity { get; set; }Parity
Port { get; set; }int
PrinterName { get; set; }stringWindowsDriver: installed printer name; Cups: queue name.
SerialPort { get; set; }string
StopBits { get; set; }StopBits
Stream { get; set; }StreamStream: caller-owned stream.
Timeout { get; set; }TimeSpan
UseDefaultPrinter { get; set; }boolWindowsDriver: use the Windows default printer when PrinterSettings.PrinterName is empty.