Promotic
WikipediaLinkedInYoutubeTwitterFacebook

PrintLine - method of object PmPrinter

Description:
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.

Syntax:
PrintLine(sLine As String) As Boolean
Calling:
s = oPrinter.PrintLine(sLine)
Parameters:
sLine(String) Text that has to be printed on the printer.
Return Values:
true - if the line has been successfully printed.
false - otherwise
Note:
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, which means that each calling the method causes printing one line.

The method is functional only on printers that supports the text mode.

© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice