LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 01-08-2003, 08:05 AM   #1
Peca
LQ Newbie
 
Registered: Jan 2003
Location: Nish, Serbia
Posts: 3

Rep: Reputation: 0
Question 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!
 
Old 01-29-2003, 09:10 PM   #2
crimson
LQ Newbie
 
Registered: Jan 2003
Distribution: Gentoo
Posts: 4

Rep: Reputation: 0
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.
 
Old 02-19-2003, 02:14 AM   #3
closms
LQ Newbie
 
Registered: Feb 2003
Posts: 1

Rep: Reputation: 0
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.
 
Old 02-19-2003, 02:34 AM   #4
crimson
LQ Newbie
 
Registered: Jan 2003
Distribution: Gentoo
Posts: 4

Rep: Reputation: 0
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.
 
Old 02-25-2003, 10:14 PM   #5
SIR_Taco
LQ Newbie
 
Registered: Feb 2003
Posts: 14

Rep: Reputation: 0
Quote:
Originally posted by crimson
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.

Please do tell... I'd love to know... I'm running through the same problem.... its definately frustrating


Thanks,
SIR_Taco
 
Old 02-25-2003, 11:14 PM   #6
crimson
LQ Newbie
 
Registered: Jan 2003
Distribution: Gentoo
Posts: 4

Rep: Reputation: 0
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.
 
Old 03-17-2004, 02:13 AM   #7
java1945
LQ Newbie
 
Registered: Mar 2004
Distribution: Gentoo
Posts: 1

Rep: Reputation: 0
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 !!.
 
Old 08-14-2004, 09:30 AM   #8
samek
LQ Newbie
 
Registered: Jun 2004
Location: Slovenia
Distribution: Slackware && Gentoo
Posts: 11

Rep: Reputation: 0
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..
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot add a printer with the lpadmin command (client-error-not-possible) rocordial Linux - Hardware 2 03-22-2005 03:20 AM
raw queue with usb printer (-v option in lpadmin command) rocordial Linux - Hardware 4 02-10-2005 12:36 PM
Network printer and lpadmin mattyjizm Linux - Networking 1 05-07-2004 01:50 AM
SET failed on device eth0 ; Operation not supported. rickenbacherus Linux - Wireless Networking 1 04-24-2004 04:18 PM
add client printer with samba alaios Linux - Networking 18 05-22-2003 03:38 PM


All times are GMT -5. The time now is 06:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration