Click or drag to resize

DriverPrinterConnection Constructor (String, Int32, Int32)

Initializes a new instance of the DriverPrinterConnection class.

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

Parameters

printerName
Type: SystemString
The printer name.
maxTimeoutForRead
Type: SystemInt32
The maximum milliseconds to wait for the initial data to be received.
timeToWaitForMoreData
Type: SystemInt32
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