Return to BSD News archive
Newsgroups: comp.unix.bsd Path: sserve!manuel!munnari.oz.au!spool.mu.edu!darwin.sura.net!Sirius.dfn.de!news.uni-stuttgart.de!news.uni-stuttgart.de!nils From: nils@merlin.ims.uni-stuttgart.de (Cornelis van der Laan) Subject: Re: How to get parallel printer to work ? In-Reply-To: gpw10@phoenixcd.amdahl.com's message of 1 Oct 92 18:08:12 GMT Message-ID: <NILS.92Oct3183527@merlin.ims.uni-stuttgart.de> Lines: 32 Sender: news@news.uni-stuttgart.de (USENET News System) Reply-To: nils@ims.uni-stuttgart.de Organization: IMS, University of Stuttgart, Germany References: <BvEp92.91@news.cso.uiuc.edu> <66YV02cj24MG01@JUTS.ccc.amdahl.com> Date: Sat, 3 Oct 1992 17:27:02 GMT Lines: 32 >>>>> On 1 Oct 92 18:08:12 GMT, gpw10@phoenixcd.amdahl.com (Gary Ward) said: Gary> I also have a HP DeskJet 500. This printer expects <CR><LF> at the Gary> end of each line. I provided a simple output filter to add the needed Gary> <CR> characters and it would then print text fine. Unfortunately Gary> doing this screws up graphics printing. I therefore invented another Gary> logical printer which does not filter and dump all my graphics to it. There's no problem if you set the Deskjet into the mode where it automagically expands <LF> to <LF><CR>. Do this with the following printcap: # # Setup for HP Deskjet 500: # # tr= Eject page at end of all jobs # mx= Maximum size of job (0 = no limit) # sh= no header page # fo= send 'form-feed' when opening device # ff= the 'form feed': Reset printer, CR=>CR, LF=CR+LF, FF=CR+FF # tr= (eject page at end of printing ?) # jet|rjet|lp|"Deskjet 500":\ :lp=/dev/lp1:\ :sd=/usr/spool/lpd/jet:lf=/usr/adm/lpd.errs:af=/usr/adm/lpr-prints:\ :mx#0:tr=\033&l0H:fo:ff=\033E\033&k2G:sh: As graphics data contain a reset sequence you can just print all your files without fiddling with strange in/outfilters. --Nils.