Class SerialPortPrinter
It represents a printer which is connected through a serial port in the client machine.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Neodynamic.Blazor
Assembly: cs.temp.dll.dll
Syntax
public class SerialPortPrinter : ClientPrinter
Properties
BaudRate
Gets or sets the serial port baud rate in bits per second. Default value is 9600
Declaration
public int BaudRate { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
DataBits
Gets or sets the serial port standard length of data bits per byte. Default value is 8
Declaration
public int DataBits { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
FlowControl
Gets or sets the handshaking protocol for serial port transmission of data. Default value is XOnXOff
Declaration
public SerialPortHandshake FlowControl { get; set; }
Property Value
Type | Description |
---|---|
SerialPortHandshake |
Id
Declaration
public override byte Id { get; }
Property Value
Type | Description |
---|---|
System.Byte |
Overrides
Parity
Gets or sets the serial port parity-checking protocol. Default value is None
Declaration
public SerialPortParity Parity { get; set; }
Property Value
Type | Description |
---|---|
SerialPortParity |
PortName
Gets or sets the serial port name, for example COM1. Default value is "COM1"
Declaration
public string PortName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
StopBits
Gets or sets the serial port standard number of stopbits per byte. Default value is One
Declaration
public SerialPortStopBits StopBits { get; set; }
Property Value
Type | Description |
---|---|
SerialPortStopBits |