PrintLine - method of object PmPrinter
It is used for printing the text (one line) on the printer defined in this object.
This method is obsolete (but functional) and it is better to use the FileTextWrite method for printing a single line - see Example3.
PrintLine(sLine As String) As Boolean
s = oPrinter.PrintLine(sLine)
|sLine||(String) Text that has to be printed on the printer.|
true - If the line has been successfully printed
false - Otherwise
The method doesn't page that's why it is suitable for printing on a printer with the continuous-feed paper. After printing the line, the method creates a new line, it means that each calling the method causes printing one line.
The method is functional only on printers that supports the text mode.