From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Derek Gatherer Newsgroups: gmane.os.tru64.managers Subject: carriage returns and /etc/printcap Date: Mon, 01 Dec 2003 11:37:13 +0000 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <5.2.1.1.1.20031201112744.00acb828@udcf.gla.ac.uk> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed X-Trace: sea.gmane.org 1070278570 8430 80.91.224.253 (1 Dec 2003 11:36:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 1 Dec 2003 11:36:10 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Mon Dec 01 12:36:08 2003 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1AQmLX-0002tN-00 for ; Mon, 01 Dec 2003 12:36:07 +0100 Original-Received: (qmail 29162 invoked by uid 5); 1 Dec 2003 11:35:57 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 29147 invoked by uid 49493); 1 Dec 2003 11:35:57 -0000 Original-Received: from d.gatherer@vir.gla.ac.uk by sws1 by uid 49491 with qmail-scanner-1.16 (iscan: v3.1/v5.600-1011/622/49252. clamscan: 20030605. spamassassin: 2.55. Clear:SA:0(-2.6/5.0):. Processed in 19.705181 secs); 01 Dec 2003 11:35:57 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (160.91.86.17) by 0 with SMTP; 1 Dec 2003 11:35:37 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.2-X17 #30669) with ESMTP id <0HP7007UAS7ANY@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 01 Dec 2003 06:35:36 -0500 (EST) Original-Received: from lenzie.cent.gla.ac.uk (lenzie.cent.gla.ac.uk [130.209.16.18]) by emroute2.cind.ornl.gov (PMDF V6.2-X17 #30669) with ESMTP id <0HP7008KKS78NK@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 01 Dec 2003 06:35:33 -0500 (EST) Original-Received: from h-marsdenntbk.vir.gla.ac.uk (h-marsdenntbk.vir.gla.ac.uk [130.209.134.80]) by lenzie.cent.gla.ac.uk (8.11.6/8.11.2) with ESMTP id hB1BZVe14431 for ; Mon, 01 Dec 2003 11:35:31 +0000 (GMT) X-Sender: dgath001@udcf.gla.ac.uk Original-To: tru64-unix-managers@ornl.gov X-Mailer: QUALCOMM Windows Eudora Version 5.2.1 Xref: main.gmane.org gmane.os.tru64.managers:5936 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:5936 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