B4J Question Printer One Line and wait another data come to print

tzfpg

Active Member
Licensed User
Longtime User
Hi,

I'm using Epson LQ-310 dot matrix printer. I would like to print data line by line after received data. ie wait data come then just continue print one line and then wait another data come.

B4X:
Dim P As Printer = Printer_Static.GetDefaultPrinter
    Dim PJ As PrinterJob = PrinterJob_Static.CreatePrinterJob2(P)
    PJ.PrintPage("test")
    PJ.EndJob

This code is print one line in whole page but I want continue print many line, no end of page.

Thank you.
 
Top