*BSD News Article 16441


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!constellation!osuunx.ucc.okstate.edu!moe.ksu.ksu.edu!zaphod.mps.ohio-state.edu!swrinde!news.dell.com!natinst.com!hrd769.brooks.af.mil!not-for-mail
From: burgess@hrd769.brooks.af.mil (Dave Burgess)
Newsgroups: comp.os.386bsd.questions
Subject: Re: problems with lpr and HP DeskJet: LF==> CR+LF ???
Date: 22 May 1993 21:28:28 -0500
Organization: Armstrong Lab MIS, Brooks AFB TX
Lines: 28
Message-ID: <1tmngqINN6fo@hrd769.brooks.af.mil>
References: <2BFBEBCA.3881@news.service.uci.edu> <3501@bigfoot.first.gmd.de>
NNTP-Posting-Host: hrd769.brooks.af.mil
Keywords: HP DeskJet printing lpr filter

In article <3501@bigfoot.first.gmd.de> ats@bsd386.first.gmd.de (Andreas Schulz) writes:
>In article <2BFBEBCA.3881@news.service.uci.edu> jstern@eclectic.ss.uci.edu writes:
>>:ty=nl: in the printcap, but this doesn't work.  I have even
>
>Another possibility would be to write a simple filter and
>specify it as the "of" filter in printcap.
>

#	@(#)printcap	5.3 (Berkeley) 6/30/90
#
# 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 ?)
#
lp|jet|rjet|"Unisys Laser Printer in LJet mode":\
	:lp=/dev/lp:\
	:sd=/var/spool/jet:lf=/var/log/lpd-errs:af=/usr/spool/lpr-prints:\
	:mx#0:tr=\033&l0H:fo:ff=\033E\033&k2G\033&a10L:sh:

This works for me.
-- 
------
TSgt Dave Burgess
NCOIC AL/Management Information Systems Office
Brooks AFB, TX