Overview

Namespaces

  • Neodynamic
    • SDK
      • Web
  • PHP

Classes

  • ClientPrinter
  • ClientPrintJob
  • DefaultPrinter
  • InstalledPrinter
  • NetworkPrinter
  • ParallelPortPrinter
  • PrintFile
  • SerialPortHandshake
  • SerialPortParity
  • SerialPortPrinter
  • SerialPortStopBits
  • UserSelectedPrinter
  • Utils
  • WebClientPrint
  • Overview
  • Namespace
  • Class
  • Tree

Class SerialPortPrinter

It represents a printer which is connected through a serial port in the client machine.

Neodynamic\SDK\Web\ClientPrinter
Extended by Neodynamic\SDK\Web\SerialPortPrinter
Namespace: Neodynamic\SDK\Web
Located at WebClientPrint.php
Methods summary
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.

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

Parameters

$portName
string
$portName The serial port name, for example COM1.
$baudRate
integer
$baudRate The serial port baud rate in bits per second.
$parity
integer
$parity The serial port parity-checking protocol.
$stopBits
integer
$stopBits The serial port standard number of stopbits per byte.
$dataBits
integer
$dataBits The serial port standard length of data bits per byte.
$flowControl
integer
$flowControl The handshaking protocol for serial port transmission of data.
public
# serialize( )

Overrides

Neodynamic\SDK\Web\ClientPrinter::serialize()
Properties summary
public string $portName "COM1"
#

Gets or sets the serial port name, for example COM1. Default value is "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

Gets or sets the serial port baud rate in bits per second. Default value is 9600

public integer $parity Neodynamic\SDK\Web\SerialPortParity::NONE
#

Gets or sets the serial port parity-checking protocol. Default value is NONE = 0 NONE = 0, ODD = 1, EVEN = 2, MARK = 3, SPACE = 4

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 Neodynamic\SDK\Web\SerialPortStopBits::ONE
#

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

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

Gets or sets the serial port standard length of data bits per byte. Default value is 8

public integer $flowControl Neodynamic\SDK\Web\SerialPortHandshake::XON_XOFF
#

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

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

Properties inherited from Neodynamic\SDK\Web\ClientPrinter
$printerId
Neodynamic WebClientPrint for PHP Documentation
Copyright © 2003 - Neodynamic - All rights reserved.