LinePrinter.NewLine Method

Instructs the LinePrinter class to move to the next logical line of the printer. The client must transfer any partially buffered data using the Write() method to the LinePrinter before calling this function.

Syntax

[Visual Basic]
Public Function NewLine() As Integer

 

[C#]
public int NewLine();

Return Values

Positive return indicates that the command was sent.

Negative value indicates that the method was called before Open, or after Close or Cancel.

Zero indicates that the printer does not support this function because of a missing or null entry in the printer configuration file.

Exceptions

LinePrinterException

More Information

LinePrinter Class