Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

New Bee Printing Issue

Status
Not open for further replies.

thendal

Programmer
Aug 23, 2000
284
Hi All!

Is there any way to configure the printer to print from starting of the page .....

actually i am writing a perl program to collect the information 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 (adds two newline)....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 paper size setting i need to do in printcap ...i just used the default setting in freebsd to connect to local printer...or ...Is there any thing i need to do in printcap file. or any filter i can add to overcome this issue.

Any help will greatly appreciated.

-Thendal
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top