Re: HP Deskjet 2700 and CUPS
Ramiro Aceves <[email protected]>
| Newsgroups | gmane.os.netbsd.general |
|---|---|
| Message-ID | <[email protected]> |
El 9 de abril de 2026 1:02:02 CEST, Steve Rikli <[email protected]> escribió: >On Wed, Apr 08, 2026 at 07:37:04PM -0300, Isac Monção wrote: >> Hy everyone, >> >> I have an HP printer, and although NetBSD recognizes it as connected to >> a USB port, CUPS only recognizes the network address. >> >> I can use the printer via the network address but I would >> like to know if anyone knows of any way(if there is one) to make CUPS >> recognize the >> USB port where my printer is connected. > >IME USB printing can be a bit finicky sometimes, I usually prefer network >printers if possible. > >That said, a couple things to try: > >1. perms/owners on /dev/ulpt* > > wiki <https://wiki.netbsd.org/tutorials/how_to_setup_cups_in_netbsd/> > suggests 'chown lp /dev/ulpt0', but you may need to experiment > >2. try ugen instead of ulpt > > I've seen that suggested in other lists and forums and some folks > reported success. > E.g. disable ulpt in /boot.cfg with something like: > menu=Boot normally:userconf disable ulpt;boot > and compare dmesg before & after. > >Cheers, >sr. > Hi, I confirm that the second approach works for me in the RPi4. I have the RPi4 as my home network printing with an old HP1430. Regards > >> cups version >> ------------ >> cups-2.4.16 >> >> uname -a >> -------- >> NetBSD moncao 11.0_RC2 NetBSD 11.0_RC2 (GENERIC) #0: Wed Mar 4 21:02:00 UTC 2026 [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC amd64 >> >> dmesg output >> ------------ >> ulpt0 at uhub2 port 2 configuration 1 interface 1 >> ulpt0: HP (0x03f0) DeskJet 2700 series (0x1853), rev 2.00/1.00, addr 4,iclass 7/1 >> ulpt0: using bi-directional mode >> >> lpinfo -v output >> ---------------- >> network https >> network lpd >> network ipps >> network http >> network ipp >> network socket >> direct hp >> network beh >> network socket://192.168.0.16:9100