Date: Wed, 27 Jun 2001 01:58:37 -0700 (PDT) From: <joup@mail.com> To: <freebsd-questions@freebsd.org> Subject: Printing ASCII w/ lpd, apsfilter Message-ID: <Pine.BSF.4.33.0106270153490.65135-100000@soda.csua.berkeley.edu>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.33.0106270153490.65135-100000>