View Single Post
Old 3rd March 2011
shep shep is offline
Real Name: Scott
Arp Constable
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,503
Default

Success. I updated the firmware on the printserver (may not have been necessary) and found that the server had an extra port 81 for 'ipp://'. Oko's post indicated this was not supported by lpr but I found out that lpr does support port 9100 (HP jetdirect). A quick check showed the printserver to also support that port. I setup a quick printcap using :lp=9100@192.168.1.2 without a filter and the printer made printer noise but generated empty pages!
I went back tried to enter in 9100@192.168.1.2 in the apsfilter ./SETUP but it would not print a test page. I install the apsfilter printcap anyway and edited :lp=:\ -> lp:9100@192.168.1.2. and removed the :rm and rp entrys.
Quote:
# APS1_BEGINrinter1
# - don't delete start label for apsfilter printer1
# - no other printer defines between BEGIN and END LABEL
hp5l|hp5l;r=300x300;q=draft;c=gray;p=letter;m=auto :\
:lp=9100@192.168.1.2:\
:if=/etc/apsfilter/basedir/bin/apsfilter:\
:sd=/var/spool/lpd/hp5l:\
:lf=/var/spool/lpd/hp5l/log:\
:af=/var/spool/lpd/hp5l/acct:\
:mx#0:\
:sh:
# APS1_END - don't delete this
Thanks to Oko and J65nko

Last edited by shep; 3rd March 2011 at 07:57 AM. Reason: correct grammer
Reply With Quote