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.
Return Values:
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.

PROMOTIC 9.0.0 SCADA system documentation - MICROSYS, spol. s r.o.

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