PrinterSettings
public sealed class PrinterSettingsConnection settings; only the members relevant to PrinterSettings.CommunicationType are used.
Constructors
| Signature | Description |
|---|---|
# PrinterSettings() |
Properties
| Property | Type | Description |
|---|---|---|
BaudRate { get; set; } | int | |
CommunicationType { get; set; } | CommunicationType | |
DataBits { get; set; } | int | |
DevicePath { get; set; } | string | USB/File: device path (/dev/usb/lp0, \\.\USB001, file). Parallel: port ("LPT1") or device path (/dev/lp0). |
EnablePrinting { get; set; } | bool | False = 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; } | ZplJobSettings | Optional 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; } | string | WindowsDriver: installed printer name; Cups: queue name. |
SerialPort { get; set; } | string | |
StopBits { get; set; } | StopBits | |
Stream { get; set; } | Stream | Stream: caller-owned stream. |
Timeout { get; set; } | TimeSpan | |
UseDefaultPrinter { get; set; } | bool | WindowsDriver: use the Windows default printer when PrinterSettings.PrinterName is empty. |

