LinePrinter Methods

LinePrinter Constructors Constructors for the LinePrinter class.
ActualFormFeed Performs an actual formfeed which feeds the paper to the top of the next page. No footers or headers will be printed.
Bitmap Prints a BMP file to a printer that supports graphics printing.
BoldOff Turns off bold print.
BoldOn Turns on bold print.
Cancel Aborts the current print job.
Close Closes the selected printer.
CompressOff Turns off Compress Font.
CompressOn Turns on Compress Font.
DoubleWideOff Turns off Double Wide Font.
DoubleWideOn Turns on Double Wide Font.
EnumeratePrinters Retrieves the list of printers supported by the default LinePrinter configuration file (ITC_CONFIG.XML).
EnumeratePrinters (string) Retrieves the list of printers supported by a specific LinePrinter configuration file.
FlushBuffer Flushes the internal buffer to the printer.
FormFeed Instructs the LinePrinter to perform a logical form feed.
GetConfiguration() Retrieves a configuration string from the printer.
GetConfiguration(string PortString) Retrieves a configuration string from the printer. String specifies an IP address that overrides the IP address specified in the configuration file.
GetConfiguration(string, int) Retrieves a configuration string from the printer. String specifies an IP address that overrides the IP address specified in the configuration file. Int specifies a network port number that overrides the port number specified in the configuration file.
GetStatus Retrieves an array of status codes from the printer.
GetStatus(string) Retrieves an array of status codes from the printer. String specifies an IP address that overrides the IP address specified in the configuration file.
GetStatus(string, int) Retrieves an array of status codes from the printer. String specifies an IP address that overrides the IP address specified in the configuration file. Int specifies a network port number that overrides the port number specified in the configuration file.
ItalicOff Turns off italic print.    
ItalicOn Turns on italic print.
LineWillFit Determines if there is room on the current page for another line.
NewLine Instructs the LinePrinter class to move to the next logical line of the printer.
NewLine (int) Instructs the LinePrinter class to move forward multiple logical lines of the printer.
NoOrphan Positions the printer so that at least the next NumLines will be printed together with no page break.
Normal Resets printer to Normal Font.
Open Opens the communications connection between the mobile computer and the printer.
Open (string) Opens the communications connection between the mobile computer and the printer. String specifies a COMx: port that overrides the COMx: port specified in the configuration file. For serial or Bluetooth communications.
Open (string, int) Opens the communications connection between the mobile computer and the printer. String specifies an IP address that overrides the IP address specified in the configuration file. Int specifies a network port number that overrides the network port number specified in the configuration file. For Wi-Fi communications only.
ResetFont Resets the special printer fonts to normal. This includes BoldOff, ItalicOff, UnderlineOff, and StrikeOutOff.
StrikeOutOff Turns off StrikeOut Font.
StrikeOutOn Turns on StrikeOut Font.
UnderlineOff Turns off Underline Font.
UnderlineOn Turns on Underline Font.
Write Overloaded. Writes an array of characters or bytes to an internal print buffer for printing.
WriteFile Dumps the contents of a file to the printer without processing.

Inherited Methods

The following methods are inherited from System.Object:

The following methods are inherited from MarshalByRefObject:

The ToString method is inherited from Component.

For more information on these inherited methods, see the MSDN documentation.

More Information

LinePrinter Class