Initializes a new instance of the UsbPrinterConnection class. 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:

UsbPrinterConnection(String, Int32, Int32)

Namespace:  ZSDK_API.Comm
Assembly:  ZSDK_API (in ZSDK_API.dll) Version: 1.1.123.0

Syntax

C#
public UsbPrinterConnection(
	string portName
)
Visual Basic (Declaration)
Public Sub New ( _
	portName As String _
)

Parameters

portName
Type: System..::.String
The name of the USB port (e.g. LPT1:)

See Also