Why are the "if" and "of" filters in my /etc/printcap not being used at
all? They work for output to a /dev/ttyp5 device when I'm testing, but
not to a laserjet addressed via rm=ljtech:\
i.e.
ljtech|HP Laser - Tech Services|lp2:\
:af=/usr/adm/lp2acct:\
:if=/usr/lbin/xfcrlf:\
:lf=/usr/adm/lp2err:\
:mx#0:\
:pl#66:\
:pw#80:\
:rm=ljtech:\
:rw:\
:sh:\
:sd=/usr/spool/lpd2:\
:xf=/usr/lbin/xf:
does NOT use xfcrlf whereas
ljtech|HP Laser - Tech Services|lp2:\
:af=/usr/adm/lp2acct:\
:if=/usr/lbin/xfcrlf:\
:lf=/usr/adm/lp2err:\
:lp=/dev/ttyp5:\
:mx#0:\
:pl#66:\
:pw#80:\
:rw:\
:sh:\
:sd=/usr/spool/lpd2:\
:xf=/usr/lbin/xf:
uses the filter
the filter is:
#!/bin/csh -f
echo "\033&l26A hello testing"
cat
Received on Fri May 09 1997 - 08:20:36 NZST