HP P1102 problem

Wojciech Puchar wojtek at puchar.net
Mon Apr 13 13:55:38 UTC 2020


i DO HAVE used this printer with following filter script (/etc/HP1102 on 
my computer):

#!/bin/sh
export PATH=$PATH:/usr/local/bin
exec /usr/local/bin/foo2zjs-wrapper -z 3 -p 9


and for sure it did work. but some long time ago. then i did not use that 
printer.

now i wanted to use it again. ulpt0 is detected properly - dmesg shows it 
as bidirectional printer port.

tried adding this as filter script in printcap
lp|local line printer::sh::lp=/dev/ulpt0:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs:if=/etc/HP1102

even tried just to do

/etc/HP1102 <postscriptfile >/dev/ulpt0

in both cases foo2zjs stalls, top shows it's in FIFO-I state.

what am i doing wrong?

FreeBSD laptop.wojtek.intra 12.1-STABLE FreeBSD 12.1-STABLE laptop  amd64



More information about the freebsd-hackers mailing list