Date: Wed, 27 Jun 2001 21:30:15 -0700 From: "Ted Mittelstaedt" <tedm@toybox.placo.com> To: <joup@mail.com>, <freebsd-questions@FreeBSD.ORG> Subject: RE: Printing ASCII w/ lpd, apsfilter Message-ID: <000e01c0ff8b$0777c280$1401a8c0@tedm.placo.com> In-Reply-To: <Pine.BSF.4.33.0106270153490.65135-100000@soda.csua.berkeley.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
see http://www.freebsd.org/doc/en_US.ISO8859-1/books/corp-net-guide/index.html for a discussion of this and other useful printing issues Ted Mittelstaedt tedm@toybox.placo.com Author of: The FreeBSD Corporate Networker's Guide Book website: http://www.freebsd-corp-net-guide.com >-----Original Message----- >From: owner-freebsd-questions@FreeBSD.ORG >[mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of joup@mail.com >Sent: Wednesday, June 27, 2001 1:59 AM >To: freebsd-questions@FreeBSD.ORG >Subject: Printing ASCII w/ lpd, apsfilter > > >Hi, > >I'm trying to print an ASCII file to an HP Laserjet 5L. Plain postscript >printing seems to work ok-- if I use a2ps to convert the text file to ps, >it prints fine. But when I simply use "lpr somefile", it just prints a >page with > >Error: /typecheck in --closefile > Operand Stack: > --nostringval-- () > Execution > >Here's the relevant portion of /etc/princap; I think apsfilter is at least >being called, but it's not doing it's job right. > ># APS1_BEGIN:printer1 ># - don't delete start label for apsfilter printer1 ># - no other printer defines between BEGIN and END LABEL >lp|Printer1 auto:\ > :lp=/dev/lpt0:\ > :if=/etc/apsfilter/basedir/bin/apsfilter:\ > :sd=/var/spool/lpd/lp:\ > :lf=/var/spool/lpd/lp/log:\ > :af=/var/spool/lpd/lp/acct:\ > :mx#0:\ > :sh: >raw1|Printer1 raw:\ > :lp=/dev/lpt0:\ > :if=/etc/apsfilter/basedir/bin/apsfilter:\ > :sd=/var/spool/lpd/raw1:\ > :lf=/var/spool/lpd/raw1/log:\ > :af=/var/spool/lpd/raw1/acct:\ > :mx#0:\ > :sf:\ > :sh: ># APS1_END - don't delete this > > >Thanks >Mark Miller > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000e01c0ff8b$0777c280$1401a8c0>