From: Frank Steinmetzger <Warp_7@gmx.de>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Trying to set up HP printer with foo2zjs
Date: Sat, 18 Oct 2014 01:50:56 +0200 [thread overview]
Message-ID: <20141017235056.GA4104@kern.lan> (raw)
[-- Attachment #1: Type: text/plain, Size: 3710 bytes --]
Dear knowledgables
I am trying to set up an HP LaserJet 1000 printer with foo2zjs. I had been
using hplip in the past (which did work), but for several (mostly non-
techical) reasons, I don’t want to use that. I was happy with foo2zjs back
in the day when it was still “stable” in portage.
So I downloaded foo2zjs from its website, compiled it and installed it into
/usr/local. Then I had to copy over an udev rules file and the firmware
helper into /etc/hotplug/usb/hplj1000.
I plugged the printer in -- nothing. That would have been too easy. On a
hunch, I removed the KERNEL=="lp*" test from the udev rule. Now the udev
rule matched and the firmware loader was triggered and did its job
(confirmed by the printer spinning up after receiving the firmware).
I could set up the printer in Cups, which did find the foo2zjs files. Its
details are:
| Driver: HP LaserJet 1000 Foomatic/foo2zjs (recommended) (grayscale, 2-sided printing)
| Connection: usb://HP/LaserJet%201000
But here my journey ends. If I try to print something, nothing happens.
I tried it in a quite fresh Xubuntu in VirtualBox, which came with a basic
hplip installed (without the GUI stuff). Using hp-doctor, I set up the printer,
which mostly constisted of downloading the firmware from the web, and possibly
some other file setup. Afterwards, the printer worked.
So I compared my Gentoo and that Xubuntu. As it turned out, Xubuntu uses usblp,
which everywhere I read I’m told to disable if I want to use cups with USB.
ls -l /dev/hp* gives me:
Ubuntu:
lrwxrwxrwx 1 root root 7 Okt 18 00:52 /dev/hplj1000-0 -> usb/lp0
lrwxrwxrwx 1 root root 15 Okt 18 00:52 /dev/hplj1000-2 -> bus/usb/002/003
Gentoo:
lrwxrwxrwx 1 root root 15 18. Okt 01:35 /dev/hplj1000-9 -> bus/usb/003/012
So what’s my next option? What could I be missing? Thanks for your insight.
PS.: I’m away over Saturday and probably won’t be able to reply until Sunday.
dmesg from Xubuntu when plugging in the printer:
| usb 2-2: new full-speed USB device number 3 using ohci-pci
| usb 2-2: New USB device found, idVendor=03f0, idProduct=0517
| usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
| usb 2-2: Product: hp LaserJet 1000
| usb 2-2: Manufacturer: Hewlett-Packard
| WARNING! power/level is deprecated; use power/control instead
| usblp 2-2:1.0: usblp0: USB Bidirectional printer dev 3 if 0 alt 0 proto 2 vid 0x03F0 pid 0x0517
| usbcore: registered new interface driver usblp
syslog from my Gentoo:
| [kernel] [21569.964698] usb 3-9: new full-speed USB device number 12 using xhci_hcd
| [kernel] [21570.131930] usb 3-9: New USB device found, idVendor=03f0, idProduct=0517
| [kernel] [21570.131942] usb 3-9: New USB device strings: Mfr=1, Product=2, SerialNumber=0
| [kernel] [21570.131944] usb 3-9: Product: hp LaserJet 1000
| [kernel] [21570.131945] usb 3-9: Manufacturer: Hewlett-Packard
| [mtp-probe] checking bus 3, device 12: "/sys/devices/pci0000:00/0000:00:14.0/usb3/3-9"_
| [mtp-probe] bus: 3, device: 12 was not an MTP device_
| [/etc/hotplug/usb/hplj1000] foo2zjs: loading HP LaserJet 1000 firmware /usr/local/share/foo2zjs/firmware/sihp1000.dl to CUPS USB device ...
| [/etc/hotplug/usb/hplj1000] foo2zjs: usb://HP/LaserJet%201000... download successful.
--
Gruß | Greetings | Qapla’
Please do not share anything from, with or about me with any Facebook service.
”Yeah so if you ever need info about anyone at Harvard, just ask.
I have over 4,000 emails, pictures, addresses, SNS.” – Why? –
”People just submitted it. I don't know why. They "trust me". Dumb fucks.”
– Mark Zuckerberg, founder of facebook
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
next reply other threads:[~2014-10-17 23:51 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-17 23:50 Frank Steinmetzger [this message]
2014-10-18 3:02 ` [gentoo-user] Re: Trying to set up HP printer with foo2zjs James
2014-10-18 12:02 ` Frank Steinmetzger
2014-10-18 15:12 ` James
2014-10-24 19:51 ` Frank Steinmetzger
2014-10-18 15:21 ` Neil Bothwick
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20141017235056.GA4104@kern.lan \
--to=warp_7@gmx.de \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox