* carriage returns and /etc/printcap
@ 2003-12-01 11:37 Derek Gatherer
0 siblings, 0 replies; only message in thread
From: Derek Gatherer @ 2003-12-01 11:37 UTC (permalink / raw)
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@vir.gla.ac.uk
Website: http://www.vir.gla.ac.uk
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-12-01 11:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-01 11:37 carriage returns and /etc/printcap Derek Gatherer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox