From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,386febdc073c93c8 X-Google-Attributes: gidfee84,public From: sterne@dublin.llnl.gov (Philip Sterne) Subject: Re: Problem: DEC Alpha OSF and remote HP4+ printer Date: 1996/03/25 Message-ID: #1/1 X-Deja-AN: 144225711 sender: sterne@dublin.llnl.gov references: <4j1lcj$t1d@newsbf02.news.aol.com> <3156CF2B.7284@crc.doc.ca> to: brett.morris@crc.doc.ca organization: Lawrence Livermore National Laboratory newsgroups: comp.unix.osf.osf1 >>>>> "Jean" == Jean Howell has transformed >>>>> into Brett Morris, and writes: Jean> Can anyone help on this one: We are running a DEC Alpha 2100 and Jean> OSF/1 and a remote printer HPLaserJet 4+ (see printcap below), Jean> and have format problems with our printouts when using lpr. Jean> Lines subsequent to the first line of a text file appear on their Jean> respective line after the end of the previous line, the effect is Jean> that the lines step off the screen, Jean> Jean> ie, a text file with the lines: Jean> this is a test1. Jean> this is a test2. Jean> this is a test3. Jean> Jean> would printout this way: Jean> this is a test1. Jean> this is a test2. Jean> this is a test3. Jean> Jean> printcap file is as follows: Jean> 101_4|lp1:\ Jean> :sd=/usr/spool/printers/101_4:\ Jean> :rm=printer2.doc.ca:\ Jean> :lp=/dev/fake/101_4:\ Jean> :rp=: Jean> Jean> Thanks, Jean> Jean> Brett Morris Jean> email: brett.morris@crc.doc.ca Change the entry :rp=: to :rp=text: The HP Laserjet accepts either "raw" input (the default), or "text" input. Specifying "text" keeps the carriage-returns in place. Phil -- --------------------------------------------------------------------- Philip Sterne | sterne@dublin.llnl.gov Lawrence Livermore National Laboratory | Phone (510) 422-2510 Livermore, CA 94551 | Fax (510) 422-7300