Overload List

  NameDescription
SerialPrinterConnection(String)
Initializes a new instance of the SerialPrinterConnection class to portName. Uses the default connection configuration (Baud=9600, Data bits=8, Parity=None, Stop Bits=1, Handshake=None).
SerialPrinterConnection(String, Int32, Int32, Parity, StopBits, Handshake)
Initializes a new instance of the SerialPrinterConnection class to portName. This constructor will use the default timeouts for Read()()(). The default timeout is a maximum of 5 seconds for any data to be received. If no more data is available after 500 milliseconds the read operation is assumed to be complete.

To specify timeouts other than the defaults, use:

SerialPrinterConnection(String, Int32, Int32, Parity, StopBits, Handshake, Int32, Int32)
SerialPrinterConnection(String, Int32, Int32, Parity, StopBits, Handshake, Int32, Int32)
Initializes a new instance of the SerialPrinterConnection class to portName. This constructor will use the specified timeouts for Read().

The timeout is a maximum of maxTimeoutForRead milliseconds for any data to be received.

If no more data is available after timeToWaitForMoreData milliseconds the read operation is assumed to be complete.

See Also