if-psprint - send text, postscript, or native printer language to arbitrary printer.
Designed as a quick fix for the random printers that get hooked up to the NetBSD server and random Windows boxes around the office. Uses enscript to convert text to postscript, and ghostcript to convert to native printer language as required.
(Remember to create spool dir [sd])
leaves:\ :if=/usr/local/libexec/if-psprint:lf=/var/log/lpd-errs:\ :sh:mx=0:lp=/dev/null:sd=/var/spool/lpd/leaves:\ :af=hpdj.unspec/smb/tea/leaves:Canon bubblejet connected to /dev/lpa0 (using gs 'bjc800' driver)
bubbly:\ :if=/usr/local/libexec/if-psprint:lf=/var/log/lpd-errs:\ :sh:mx=0:lp=/dev/lpa0:sd=/var/spool/lpd/bubbly:\ :af=bjc800: