[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

printing problems



hi all-

i'm new to this list, and have been messing around with linux for 7 or 8 weeks now, so i guess i'm an experienced newbie. 

last week i started working on printing to a networked printer that uses an hp jetdirect card.  i can get the print jobs to the printer, but the output is not appropriately formatted.  when i simply lpr a test file, it appears that i am not getting line feeds...the first line of text is printed, but is never wrapped.  when i try to print a man page by piping the output to lpr as suggested in the printing usage howto i get blank pages, though if i remove the intervening pipe to the col program i do get one character at the far right margin of the page.  here are the relevant lines from /etc/printcap:

ljet4_pcl|rm337
         :lp=:\
         :rm=labs_337_hplj4
         :rp=ljet4_pcl
         :sd=/var/spool/lpd/ljet4_pcl
         :if=/usr/lib/CTI-Print/bin/ifhp
         :lf=/var/spool/lpd/ljet4_pcl.log   
#         :mx#0
#         :sh


ljet4_txt|rm337
         :lp=:\
         :rm=labs_337_hplj4
         :rp=ljet4_txt
         :if=/usr/lib/CTI-Print/bin/ifhp
         :pw#85
         :sd=/var/spool/lpd/ljet4_txt
         :lf=/var/spool/lpd/ljet4_txt.log

as you can see, i'm using the hp filter (ifhp) and defined the page width as 85 for the text printer definition.   

i've looked around in the faqs and howto's, the 2nd edition of running linux, and the various docs for this distribution (debian), but i'm not finding anything that seems directly pertinent.  does anyone have any suggestions? 


John Cuson
jcuson@gwnet.isd.state.in.us,jcuson@doe.state.in.us

"You can check your anatomy all you want, and even though there may be normal variation, when it comes right down to it, this far inside the head it all looks the same. No, no, no, don't tug on that. You never know what it might be attached to."
...Buckaroo Banzai



Reply to: