Subject: Fixed the printing problem
To: None <netbsd-help@netbsd.org>
From: Andrew Crossley <toast@iinet.net.au>
List: netbsd-users
Date: 02/25/2000 21:25:41
Fixed my printing problem.
As it turned out the garbled stuff i was getting was the cover page, but the
print job never came.
the man page for magic filter said to put #! /usr/local/bin/magicfilter at the
top of /etc/printcap. I thought the # was a bit wierd as it denotes a commnet.
But being a newbie, I thought it being coupled with ! meant something
different. I got rid of the # and the ! and the space and it works. here is
my printcap file:
# $NetBSD: printcap,v 1.4 1997/02/15 10:02:22 mikel Exp $
# from: @(#)printcap 8.1 (Berkeley) 6/9/93
/usr/local/bin/magicfilter
lp|local line printer:\
:lp=/dev/lp:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs:if=/usr/local/libexec/magicfilter/bj200-filter:
# DecWriter over a tty line.
#decwriter|LA-180 DecWriter III:\
# :br#1200:fs#06320:tr=\f:of=/usr/libexec/lpr/lpf:lf=/var/log/lpd-errs:
# Typical remote printer entry.
#remote|Line Printer:\
# :lp=:rm=remote_machine:sd=/var/spool/output/remotelpd:\
# :lf=/var/log/lpd-errs:
#varian|Benson Varian:\
# :lp=/dev/va0:sd=/var/spool/output/vad:\
# :mx#2000:pl#58:px#2112:py#1700:tr=\f:\
# :of=/usr/libexec/lpr/vpf:if=/usr/libexec/lpr/vpf:\
# :tf=/usr/libexec/lpr/rvcat:cf=/usr/libexec/lpr/vdmp:\
# :gf=/usr/libexec/lpr/vplotf:df=/usr/local/dvif:\
# :vf=/usr/libexec/lpr/vpltdmp:lf=/var/log/lpd-errs:
#vp|versatec|Versatec plotter:\
# :lp=/dev/vp0:sd=/var/spool/output/vpd:\
# :sb:sf:mx#0:pw#106:pl#86:px#7040:py#2400:\
# :of=/usr/libexec/lpr/vpfW:if=/usr/libexec/lpr/vpsf:\
# :tf=/usr/libexec/lpr/vcat:cf=/usr/libexec/lpr/vdmp:\
# :gf=/usr/libexec/lpr/vplotf:vf=/usr/libexec/lpr/vpltdmp:\
# :lf=/var/log/lpd-errs:\
# :tr=\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\
#\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\
#\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n:
take care folks
XiT