You are not logged in.
So, I've installed every possible thing for printer, started cups in browser, added my printer etc.
But under administration tab, where I need to enter a connection with provided examples, I get lost completely:
Examples:
http://hostname:631/ipp/
http://hostname:631/ipp/port1
ipp://hostname/ipp/
ipp://hostname/ipp/port1
lpd://hostname/queue
socket://hostname
socket://hostname:9100I have no idea what do I set the connection to.
I've tried http://127.0.0.1:631/ipp/ http://myhostname:631/ipp/ ipp://127.0.0.1/ipp/ ipp://myhostname/ipp/
all variants give me "The printer URI is incorrect or no longer exists" or "unable to blablabla"
How do I make this thing work?
Last edited by tasty_minerals (2011-11-18 08:50:02)
lenovo thinkpad EDGE 13'
Offline
OK, I got it running by providing socket://myhostname in connection field.
But now when I try to print a page it simply says "printer is busy" and that's it, nothing more.
(I connect my laserjet via usb cable by the way)
lenovo thinkpad EDGE 13'
Offline
Finally got it working.
First you need to run "hp-setup" or "hp-plugin" utility from hplip package. This utility ("hp-setup") downloads the needed proprietary driver for Laserjet Pro p1102, extracts it and installs, then it installs printer and does all the other necessary stuff ("hp-plugin" just downloads, extracts and installs the driver). Then you can finally add a printer via CUPS.
That is it. Now you're ready to print.
The common error that may occur while downloading the proprietary driver with "hp-setup" or "hp-plugin" is extraction stage. It is all due to python3, python 2.7 bindings in the system. "hp-setup"|"hp-plugin" use python 2.7 while all modern arch systems are binded to use python3. To fix this simply "ln -s /usr/bin/python2.7 /usr/bin/python".
Don't forget to put "cupsd" into your daemons array and "lp" to your modules in rc.conf.
I also didn't blacklist "usblp", just in case.
And final note, don't forget to add "yourself" to sys group with:
# usermod -g sys yourusernameLast edited by tasty_minerals (2011-11-21 19:54:09)
lenovo thinkpad EDGE 13'
Offline
Thanks a lot!! This helped me get my HP CP1215 working. CUPS told me "requires proprietary plugin".
This is what got it running in my case:
$ sudo usermod -g sys USERNAME
$ sudo rm /usr/bin/python
$ sudo ln -s /usr/bin/python2.7 /usr/bin/python
$ hp-setupNow follow the GUI's instructions to download the proprietary plugin from HP's website. When this is done you can assign the default version of Python back to version 3.
$ sudo rm /usr/bin/python
$ sudo ln -s /usr/bin/python3 /usr/bin/pythonOffline