Creates an instance of the SerialPortPrinter class wiht the specified information.

Namespace: Neodynamic.SDK.Web
Assembly: Neodynamic.SDK.WebClientPrint (in Neodynamic.SDK.WebClientPrint.dll) Version: 1.0.2000.0 (1.0.2000.0)

Syntax

C#
public SerialPortPrinter(
	string portName,
	int baudRate,
	Parity parity,
	StopBits stopBits,
	int dataBits,
	Handshake flowControl
)
Visual Basic
Public Sub New ( _
	portName As String, _
	baudRate As Integer, _
	parity As Parity, _
	stopBits As StopBits, _
	dataBits As Integer, _
	flowControl As Handshake _
)
Visual C++
public:
SerialPortPrinter(
	String^ portName, 
	int baudRate, 
	Parity parity, 
	StopBits stopBits, 
	int dataBits, 
	Handshake flowControl
)

Parameters

portName
Type: System..::..String
The serial port name, for example COM1.
baudRate
Type: System..::..Int32
The serial port baud rate in bits per second.
parity
Type: System.IO.Ports..::..Parity
The serial port parity-checking protocol.
stopBits
Type: System.IO.Ports..::..StopBits
The serial port standard number of stopbits per byte.
dataBits
Type: System..::..Int32
The serial port standard length of data bits per byte.
flowControl
Type: System.IO.Ports..::..Handshake
The handshaking protocol for serial port transmission of data.

See Also