Chaps,
I am trying to put a printserver into operation. This machine is based on a
PCEngines Alix2d13.
For the time being my goal is to use the printer only. Epson Stylus CX5600
(USB) is an all-in-one equipment.
In order to do that, I am using the standard BSD spooling system, lpd. I
don't need anything fancy like LPRng, CUPS, etc.
The problem is that I am not able to print anything even writing directly
to the usb port.
OS is an fresh installation of OpenBSD 5.4 with lpd enabled.
dmesg shows the following:
ulpt0 at uhub1 port 2 configuration 1 interface 1 "EPSON USB1.1
MFP(Full-Speed)" rev 1.10/0.01 addr 2
ulpt0: using bi-directional mode
ugen0 at uhub1 port 2 configuration 1 "EPSON USB1.1 MFP(Full-Speed)" rev
1.10/0.01 addr 2
usbdevs -d gives me:
# usbdevs
-d
addr 1: EHCI root hub, AMD
uhub0
addr 1: OHCI root hub, AMD
uhub1
addr 2: USB1.1 MFP(Full-Speed), EPSON
ulpt0
ugen0
And lpd acknowledges the receipt of a print job:
# tail /var/log/lpd-errs
Jan 9 18:50:27 printserver lpd[1378]: printserver.rottava.home requests
printjob lp
Jan 9 18:50:35 printserver lpd[6703]: printserver.rottava.home requests
printjob lp
Jan 9 19:23:08 printserver lpd[22787]: restarted
Jan 9 19:24:22 printserver lpd[15982]: printserver.rottava.home requests
printjob lp
Jan 9 19:27:22 printserver lpd[21181]: restarted
My printcap is, for the time being, as simple as possible:
# cat /etc/printcap
lp|local line printer:\
:sh:sd=/var/spool/output:\
:lp=/dev/ulpt0:\
:lf=/var/log/lpd-errs:
#rp|remote line printer:\
# :lp=:rm=printhost:rp=lp:sd=/var/spool/output:lf=/var/log/lpd-errs:
Priting via lpr or writing directly to the usb port (cat /etc/printcap >
/dev/ulpt0) gives absolutely nothing.
Ideas are most welcome because I am running out of it!
Cheers,
Luciano.