The forums helped me
transition from cups to lpd. I have also found this
lpd printing guide by a FreeBSD forums moderator to work well in OpenBSD. His observation that port 9100 worked better than lpd, http, https held true for my Trendnet print server. The other comment is the syntax of the port:
worked as a cups entry but not with lpd
works for JetDirect in lpd but I am not sure if the same syntax works for http or lpd.
I set up my first printcap using
print/apsfilter which will setup your spool directory, with proper ownership and permissions and generates the printcap with filter. Subsequently, I have been following Wblock's FreeBSD printing guide to generate my own print filter and am presently using
Code:
lp|hp5l|ljet4;r=300x300;q=medium;c=gray;p=letter;m=auto:\
:lp=9100@192.168.1.2:\
:rp=raw:\
:if=/usr/local/libexec/ps2pcl:\
:sd=/var/spool/lpd/hp5l:\
:lf=/var/spool/lpd/hp5l/log:\
:af=/var/spool/lpd/hp5l/acct:\
:mx#0:\
:sh:
By using the numeric IP address, I avoided having to make an /etc/hosts or DNS entry.
I can also name my spool directory after an lp aliasis:
Code:
:sd=/var/spool/lpd/hp5l:\
When I setup 5.5, I am going to try jggimi's entry for foomatic filters