Click or drag to resize

DriverPrinterConnection(String, Int32, Int32) Constructor

Initializes a new instance of the DriverPrinterConnection class.

Namespace: Zebra.Sdk.Comm
Assembly: SdkApi.Desktop (in SdkApi.Desktop.dll) Version: 3.0.3271
Syntax
public DriverPrinterConnection(
	string printerName,
	int maxTimeoutForRead,
	int timeToWaitForMoreData
)

Parameters

printerName  String
The printer name.
maxTimeoutForRead  Int32
The maximum milliseconds to wait for the initial data to be received.
timeToWaitForMoreData  Int32
The maximum milliseconds to wait for additional data to be received.
Exceptions
ExceptionCondition
ConnectionException
Remarks
This constructor will use the specified timeouts for Read. The timeout is a maximum of maxTimeoutForRead milliseconds for any data to be received. If no more data is available after timeToWaitForMoreData milliseconds the read operation is assumed to be complete.
See Also