LinePrinter Constructor (String)

Creates a new instance of the LinePrinter and loads the necessary information for the chosen printer from the printer configuration file (ITC_CONFIG.XML).

After you create the LinePrinter instance, call LinePrinter.Open. The constructor looks for ITC_CONFIG.XML in the same directory as the EXE and then looks in the root directory if the configuration file is not at that location.

Syntax

[Visual Basic]
Public Sub New( _
ByVal Printer As String _ )
[C#]
public LinePrinter(
string Printer);

Parameters

Printer
Printer reference in printer parameters file.

Exceptions

See the LinePrinterException class for more information.

More Information

LinePrinterClass