DriverPrinterConnection(String) Constructor
|
Initializes a new instance of the DriverPrinterConnection class.
Namespace: Zebra.Sdk.CommAssembly: SdkApi.Desktop (in SdkApi.Desktop.dll) Version: 3.0.3271
Syntax public DriverPrinterConnection(
string printerName
)
Public Sub New (
printerName As String
)
public:
DriverPrinterConnection(
String^ printerName
)
Parameters
- printerName String
- The printer name.
Exceptions 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