tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Derek Gatherer <d.gatherer@vir.gla.ac.uk>
Subject: carriage returns and /etc/printcap
Date: Mon, 01 Dec 2003 11:37:13 +0000	[thread overview]
Message-ID: <5.2.1.1.1.20031201112744.00acb828@udcf.gla.ac.uk> (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



                 reply	other threads:[~2003-12-01 11:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox