[Gambas-user] How to sent a line line to a lp1 printer and form to lp0 printer directly.

Vassilis K vkan53 at ...2300...
Wed Sep 23 16:54:08 CEST 2009


Actually it is a serial matrix impact printer (panasonic KX-P1150) with a 9 
pins head and parallel port (LTP)
So I think it is only possible to print with Shell command like

SHELL lp -d ltp2 printfile.ps

I only need an example for this action. If somebody has done it before it 
would be nice to know how.
I want to print one line each time without paper feeding. Only one line feed 
on every action.
In Visual Basic 6 this command was:

Open "LPT3" For Output As #8
            Print #8, "Hello World"
 Close #8

The result was:

Hello World

with page feed. The printer only feeded the current line.




More information about the User mailing list