LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-21-2005, 06:11 PM   #1
rocordial
LQ Newbie
 
Registered: May 2004
Location: Romania, Europe
Distribution: Slackware 8.1
Posts: 28

Rep: Reputation: 15
cannot add a printer with the lpadmin command (client-error-not-possible)


when i issue the following command:

lpadmin -p rawqueue -v parallel:/dev/lp0 -E

i get the following error:

lpadmin: add-printer (set device) failed: client-error-not-possible

the system is slackware 10

any help will be most appreciate
 
Old 03-21-2005, 09:52 PM   #2
JohnBoy
Member
 
Registered: Oct 2003
Distribution: Debian, RH, Knoppix, Ubuntu, CentOS
Posts: 62

Rep: Reputation: 15
If you are using lpadmin I gather you have cups installed. I ran into this and -- after a considerable investment in time -- decided it must be a problem within the command. Once -- maybe twice -- I did not get that error message but the printer didn't work. The only reliable way I've found, to add a printer, is to use the browser interface.

But there is an alternative, which is to determine which cgi script, from the cups package(s) are used to perform a given task. Use the View-Source menu entries to get started.

With a browser running as non-root (because browsing as root, even locally, is a bad habit to start), browse to http://127.0.0.1:631/. When you attempt to do something from within this menu, that is priviledged, you will be prompted for a username / password. If you haven't defined users with CUPS admin privs yet, you'll need to enter "root" as the username and the appropriate password.

This will allow you to create a CUPS printer, view existing printers that Cups knows about, configure them, etc.

If you are using HP hardware -- like jetdirect or one of their printers, or if you to try the following for fun: try and find the slackware equivalent of the HPOJ package. The command "ptal-device" is a comand-line tool for returning available CUPS printer names.

Hope this helps.

Last edited by JohnBoy; 03-21-2005 at 10:46 PM.
 
Old 03-22-2005, 02:20 AM   #3
rocordial
LQ Newbie
 
Registered: May 2004
Location: Romania, Europe
Distribution: Slackware 8.1
Posts: 28

Original Poster
Rep: Reputation: 15
thank you John for the answer

unfortunately the GUI gives me the same result: the same error
 
  


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
raw queue with usb printer (-v option in lpadmin command) rocordial Linux - Hardware 4 02-10-2005 11:36 AM
command lind printer add djcomber Linux - Newbie 1 08-29-2004 07:28 PM
lpadmin: add-printer (set device) failed: client-error-not-possible Peca Linux - Hardware 7 08-14-2004 08:30 AM
Network printer and lpadmin mattyjizm Linux - Networking 1 05-07-2004 12:50 AM
add client printer with samba alaios Linux - Networking 18 05-22-2003 02:38 PM


All times are GMT -5. The time now is 11:53 PM.

Main Menu
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