The type of device that the LinePrinter class is trying to print to. This string comes from the XML configuration file.
If a filename was specified to print to, the filename appears in DeviceType. Otherwise the Port name located in the PrinterPorts section of the XML configuration file is returned here. If the Line Printer control was unable to find either of these values, DeviceType returns null.
[Visual Basic]
Public DeviceType As String
[C#]
public string DeviceType;