The PrinterCommunication type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| PrinterCommunication | Initializes a new instance of the PrinterCommunication class |
Methods
| Name | Description | |
|---|---|---|
| Equals | (Inherited from Object.) | |
| GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| ToString | (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| CommunicationType |
Gets or sets the printer communication type. Default value is USB
| |
| NetworkIPAddress |
Gets or sets the Internet Protocol (IP) address assigned to the printer. Default value is None
| |
| NetworkPort |
Gets or sets the port number assigned to the printer. Default value is 0
| |
| NetworkTimeout |
Gets or sets the network amount of time in milliseconds. Default value is 1500
| |
| ParallelPortName |
Gets or sets the serial port name, for example LPT1. Default value is "LPT1"
| |
| SerialPortBaudRate |
Gets or sets the serial port baud rate in bits per second. Default value is 9600
| |
| SerialPortDataBits |
Gets or sets the serial port standard length of data bits per byte. Default value is 8
| |
| SerialPortFlowControl |
Gets or sets the handshaking protocol for serial port transmission of data. Default value is XOnXOff
| |
| SerialPortName |
Gets or sets the serial port name, for example COM1. Default value is "COM1"
| |
| SerialPortParity |
Gets or sets the serial port parity-checking protocol. Default value is None
| |
| SerialPortStopBits |
Gets or sets the serial port standard number of stopbits per byte. Default value is One
| |
| Stream |
Gets or sets System.IO.Stream object for writing printer commands to. It is used only if the CommunicationType property is set up to Stream value. Default value is Null
|