Initializes a new instance of the SerialPrinterConnection class to portName.
Uses the default connection configuration (Baud=9600, Data bits=8, Parity=None, Stop Bits=1, Handshake=None).
Namespace:
ZSDK_API.CommAssembly: ZSDK_API (in ZSDK_API.dll) Version: 1.1.123.0
Syntax
C# |
---|
public SerialPrinterConnection( string portName ) |
Visual Basic (Declaration) |
---|
Public Sub New ( _ portName As String _ ) |
Parameters
- portName
- Type: System..::.String
The name of the serial port (e.g. COM1) to connect to.