Click or drag to resize

DriverPrinterConnection Constructor (String)

Initializes a new instance of the DriverPrinterConnection class.

Namespace:  Zebra.Sdk.Comm
Assembly:  SdkApi.Desktop (in SdkApi.Desktop.dll) Version: 2.15.2634
Syntax
public DriverPrinterConnection(
	string printerName
)

Parameters

printerName
Type: SystemString
The printer name.
Exceptions
ExceptionCondition
ConnectionException
Remarks
This constructor will use the default timeouts for Read. The default timeout is a maximum of 5 seconds for any data to be received. If no more data is available after 500 milliseconds the read operation is assumed to be complete.
To specify timeouts other than the defaults, use:
DriverPrinterConnection(String, Int32, Int32).
See Also