lpadmin: add-printer (set device) failed: client-error-not-possible
I have HP DeskJet 720C, and I downloaded and compiled latest cups.
Cups daemon starts properly when I start linux. But, when I try to add printer, from console or from some KDE application, I get message: client-error-not-possible For example: # /usr/sbin/lpadmin -p DeskJet -E -v parallel:/dev/lp1 -m deskjet.ppd lpadmin: add-printer (set device) failed: client-error-not-possible What this can be? Tnx! |
grr I have this same problem. It's been REALLY difficult to get my printer working in linux this time around. Also a echo "hello" > /dev/lp0 doesn't work, and cat /proc/interrupts shows no irq 7. But I DEFINITELY have printer and parallel printer support built into my kernel.
I have a Deskjet 712c. |
Hello.
I had the same problem. I was using the following command to set-up my printer (hp dj710c) # foomatic-configure -s cups -p 61472 -c /dev/lp0 -n hp710c -d pnm2ppa I followed this from the gentoo printing how-to. Turns out the correct command is # foomatic-configure -s cups -p 61472 -c file:/dev/lp0 -n hp710c -d pnm2ppa ie. file:/dev/lp0 instead of just /dev/lp0 Worked for me, maybe it'll work for you. |
Thanks for responding. I did end up getting it to work on a fine day in my history of using linux :). however I didn't use the file: at all, I think my problem initially was not having ppdev support in the kernel. If anyone else has trouble with this, I"ll post how I did it too.
|
Quote:
Please do tell... I'd love to know... I'm running through the same problem.... its definately frustrating Thanks, SIR_Taco |
if I can remember right...
If I can remember all of the steps, here's how I did it:
I am using Gentoo Linux, so I have to compile the kernel from time to time :). In my kernel I have: <*> = built in, <M> = module, < > = not enabled Parallel port support: <*> Parallel port support <*> PC-style hardware <M> Multi-IO cards (not using this)[*] Use FIFO/DMA if available[*] SuperIO chipset support [ ] Support foreign hardware [ ] IEEE 1824 transfer modes Character Devices: <*> Parallel printer support [ ] Support for console on line printer <M> Support for user-space parallel port device drivers I followed the tutorial at Gentoo's documentation site: http://www.gentoo.org/doc/en/printing-howto.xml disregarding the fact that it's for a USB printer. For the hp deskjet 710 and 712c you'll need to get the pnm2ppa drivers. I also got cups and foomatic. to configure foomatic I did: foomatic-configure -s cups -p 71232 -c /dev/lp0 -n Deskjet -d pnm2ppa . Although in the gentoo doc it says you can test the printer with $echo "test" > /dev/lp0 , I've STILL not gotten this to work, but my printer works fine, so I wouldn't worry if that doesn't work. After all this I started cupsd and my printer was set up. I knew I was getting closer to getting things working when $dmesg | grep parport gave this: parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE,EPP] parport0: irq 7 detected parport0: faking semi-colon parport0: Printer, HEWLETT-PACKARD DESKJET 710C lp0: using parport0 (polling). instead of before parport wasn't able to detect my printer. Good luck, and hopefully you get things working. I was really persistant, (almost 2 months I had no printer), but finally I got it to work :). Keep at it. |
I found a detail in your line
I have an HP Deskjet 720c on a Gentoo Distribution and i change your line for:
foomatic-configure -s cups -p HP-DeskJet_720C -c file:/dev/lp0 -n hp720c -d pnm2ppa Note two things, I put the model "HP-DeskJet_720C". The models are in: /usr/share/foomatic/db/source/printer/ The second is i put "file:/dev/lp0" not "/dev/lp0" (for some reason if you forget put the "file:" i have this errror: lpadmin: add-printer (set device) failed: client-error-not-possible Could not set up/change the queue "Deskjet"! I hope this can help to some body, at least It works to me !!. |
hello,
i have the same problems # foomatic-configure -s cups -p HP-LaserJet_1100A -c file:/dev/lp0 -n hp1100a -d hpijs Use of uninitialized value in numeric gt (>) at /usr/lib/perl5/vendor_perl/5.8.4/Foomatic/DB.pm line 1879. do anyone know what's wrong? Thanks for your answers.. |
All times are GMT -5. The time now is 12:03 AM. |