Class SerialPortPrinter
It represents a printer which is connected through a serial port in the client machine.
- Neodynamic\SDK\Web\ClientPrinter
- Neodynamic\SDK\Web\SerialPortPrinter
public
|
#
__construct( string $portName, integer $baudRate, integer $parity, integer $stopBits, integer $dataBits, integer $flowControl )
Creates an instance of the SerialPortPrinter class wiht the specified information. |
public
|
public
string
|
$portName | "COM1" |
#
Gets or sets the serial port name, for example COM1. Default value is "COM1" |
public
integer
|
$baudRate | 9600 |
#
Gets or sets the serial port baud rate in bits per second. Default value is 9600 |
public
integer
|
$parity |
|
#
Gets or sets the serial port parity-checking protocol. Default value is NONE = 0 NONE = 0, ODD = 1, EVEN = 2, MARK = 3, SPACE = 4 |
public
integer
|
$stopBits |
|
#
Gets or sets the serial port standard number of stopbits per byte. Default value is ONE = 1 ONE = 1, TWO = 2, ONE_POINT_FIVE = 3 |
public
integer
|
$dataBits | 8 |
#
Gets or sets the serial port standard length of data bits per byte. Default value is 8 |
public
integer
|
$flowControl |
|
#
Gets or sets the handshaking protocol for serial port transmission of data. Default value is XON_XOFF = 1 NONE = 0, REQUEST_TO_SEND = 2, REQUEST_TO_SEND_XON_XOFF = 3, XON_XOFF = 1 |
$printerId
|