carriage returns and /etc/printcap

From: Derek Gatherer <d.gatherer_at_vir.gla.ac.uk>
Date: Mon, 01 Dec 2003 11:37:13 +0000

Hi managers

I have two printers, an old oki80 line printer and a HP LaserJet 4200
PCL6. When printing ASCII files from the server, the oki80 inserts
carriage returns and the printout is just as it is on screen. The LaserJet
by contrast seems to think the whole file is a single line, and so the top
line vanishes off the right end of the first page, followed by the
appropriate number of blank pages.

Is this correctable by tweaking /etc/printcap? I found some pages on
google suggesting the insertion of LF (linefeed) or FF (formfeed) in
various places, but have been unable to make any of them work.

My printcap entries are:

oki80|lp0|oki320|80|NETPrint printer port 2|Room 101:\
         :lp=:\
         :sb:\
         :rm=mercury.gla.ac.uk:\
         :rp=oki80:\
         :sd=/usr/spool/oki80:
hplaser1|lp3|Room 101:\
         :if=/usr/printing/psfilter:\
         :lf=/usr/adm/lperr_hplaser1:\
         :lp=:\
         :mx#0:\
         :of=/usr/printing/psbanner:\
         :rm=mercury.gla.ac.uk:\
         :rp=hplaser1:\
         :sb:\
         :sd=/usr/spool/lpd_hplaser1:

All contributions gratefully received
Cheers
Derek
_________________________

Derek Gatherer Ph.D. Cert.Ed.
Computer Officer
Institute of Virology
Church St.
Glasgow G11 5JR

Phone: +44 141 330 6268
Fax: +44 141 337 2236
Email: d.gatherer_at_vir.gla.ac.uk
Website: http://www.vir.gla.ac.uk
Received on Mon Dec 01 2003 - 11:37:58 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:44 NZDT