thendal
Programmer
- Aug 23, 2000
- 284
Hi All!
Is there any way to configure the printer to print it from starting of the page .....
actually i am writing a perl program to collect the information to print and finally i issue the print command..
here is an example...
open(PRINTER,">/tmp/temp.txt"
;
print PRINTER "Name";
print PRINTER "BLABLA";
close(PRINTER);
system("lpr -Plp /tmp/temp.txt"
;
unlink("/tmp/temp.txt"
;
first two prints looks ok ...but after each print it starts a line lower ....after 10 prints are so ...the information is spilited in two papers ...
i tried issuing the form feed ....like
print PRINTER "/f";
no help same issue ....
I have epson LQ 870 dot matrix printer .....i am using 8.5" x 11" continous paper ...
Is there any thing i can do in printcap file. or any filter i can add to overcome this issue.
Any help will greatly appreciated.
-Thendal
Is there any way to configure the printer to print it from starting of the page .....
actually i am writing a perl program to collect the information to print and finally i issue the print command..
here is an example...
open(PRINTER,">/tmp/temp.txt"
print PRINTER "Name";
print PRINTER "BLABLA";
close(PRINTER);
system("lpr -Plp /tmp/temp.txt"
unlink("/tmp/temp.txt"
first two prints looks ok ...but after each print it starts a line lower ....after 10 prints are so ...the information is spilited in two papers ...
i tried issuing the form feed ....like
print PRINTER "/f";
no help same issue ....
I have epson LQ 870 dot matrix printer .....i am using 8.5" x 11" continous paper ...
Is there any thing i can do in printcap file. or any filter i can add to overcome this issue.
Any help will greatly appreciated.
-Thendal