NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

/dev/ulpt0 printing



Hello,

I was trying to make a printing CUPS server with my Raspberry Pi 4 computer. I installed CUPS and setup it enabling the daemons:

netbsd-raspa4# tail -n 6 /etc/rc.conf
#CUPS
cupsd=YES		
cups_browsed=YES
snmpd=yes
snmptrapd=YES
#fin CUPS

I added my user to the lp group.

netbsd-raspa4# groups ramiro
users wheel lp
netbsd-raspa4#

I added my HP Deskjet 1400 to the printers CUPS localhost:631 WEB admin page with hplip driver. I sent a print test page and it stucked there waiting for "printer to be ready message" or something like that as it was in my native Spanish language.

I read somewhere that /dev/ulpt0 show be chowned to "lp", I did that:

netbsd-raspa4# ls -lh /dev/ulpt0
crw-------  1 lp  wheel  66, 0 Sep 21 08:34 /dev/ulpt0
netbsd-raspa4#

with no luck.

After that, I stopped cupsd service and tried to follow the NetBSD Guide to something more basic and see if it worked.


[ 3273823.534367] ulpt0 at uhub2 port 3 configuration 1 interface 0
[ 3273823.534367] ulpt0: HP (0x03f0) Deskjet D1400 series (0x7904), rev 2.00/1.00, addr 4, iclass 7/1
[ 3273823.551856] ulpt0: using bi-directional mode
netbsd-raspa4#


netbsd-raspa4# lptest 70 5 > /dev/ulpt0
netbsd-raspa4#

printer does NOTHING.

I do knot know how to continue investigating.

Thanks so much.
Ramiro.




Home | Main Index | Thread Index | Old Index