Author Topic: Unable to add printer [SOLVED]  (Read 2354 times)

Offline bluegroper

  • Full Member
  • ***
  • Posts: 206
Unable to add printer [SOLVED]
« on: February 01, 2011, 06:34:35 PM »
Hi forum
I'm using current PCLOS with latest updates.
Control Center, Hardware, Configure printing.
The Add-Printer button is all greyed-out.
Yes, I did enter root password when launching Control Center.
How can I activate this helpful button ?
Menu, Actions, Add-Printer is also greyed out.
How to fix ?
TIA's for any tips and clues.


« Last Edit: February 04, 2011, 02:12:03 PM by bluegroper »

uncleV

  • Guest
Re: Unable to add printer
« Reply #1 on: February 02, 2011, 03:30:12 AM »
Run for the diagnostic the application from Terminal. Command printerdrake.
Here it works, see my output till the point where the wizard starts after clicking on "Add":
Code: [Select]
[uncleV@localhost ~]$ printerdrake
Use of uninitialized value $manufacturer in string eq at /usr/lib/perl5/vendor_perl/5.10.1/Foomatic/DB.pm line 354.
Use of uninitialized value $model in string eq at /usr/lib/perl5/vendor_perl/5.10.1/Foomatic/DB.pm line 355.
Use of uninitialized value in pattern match (m//) at /usr/lib/perl5/vendor_perl/5.10.1/Foomatic/DB.pm line 1182.
Use of uninitialized value in pattern match (m//) at /usr/lib/perl5/vendor_perl/5.10.1/Foomatic/DB.pm line 1184.
Use of uninitialized value in pattern match (m//) at /usr/lib/perl5/vendor_perl/5.10.1/Foomatic/DB.pm line 1186.
Use of uninitialized value in pattern match (m//) at /usr/lib/perl5/vendor_perl/5.10.1/Foomatic/DB.pm line 1188.
Use of uninitialized value in pattern match (m//) at /usr/lib/perl5/vendor_perl/5.10.1/Foomatic/DB.pm line 1190.
Use of uninitialized value in pattern match (m//) at /usr/lib/perl5/vendor_perl/5.10.1/Foomatic/DB.pm line 1192.
Use of uninitialized value in hash element at /usr/lib/perl5/vendor_perl/5.10.1/Foomatic/DB.pm line 1242.
FATAL: Module usblp not found.
FATAL: Module usblp not found.
ERROR: Module usblp does not exist in /proc/modules
FATAL: Module usblp not found.
FATAL: Module usblp not found.
Gtk-CRITICAL **: gtk_window_realize_icon: assertion `info->icon_pixmap == NULL' failed at /usr/lib/libDrakX/mygtk2.pm line 1213.
Ctrl-C

Offline bluegroper

  • Full Member
  • ***
  • Posts: 206
Re: Unable to add printer
« Reply #2 on: February 02, 2011, 01:24:16 PM »
I try printerdrake.  The wizard starts, but I cannot click on Add Printer.   
It is greyed out.
TIA's for any more clues ?


$ printerdrake
Use of uninitialized value $manufacturer in string eq at /usr/lib/perl5/vendor_perl/5.10.1/Foomatic/DB.pm line 354.
Use of uninitialized value $model in string eq at /usr/lib/perl5/vendor_perl/5.10.1/Foomatic/DB.pm line 355.
Use of uninitialized value in pattern match (m//) at /usr/lib/perl5/vendor_perl/5.10.1/Foomatic/DB.pm line 1182.
Use of uninitialized value in pattern match (m//) at /usr/lib/perl5/vendor_perl/5.10.1/Foomatic/DB.pm line 1184.
Use of uninitialized value in pattern match (m//) at /usr/lib/perl5/vendor_perl/5.10.1/Foomatic/DB.pm line 1186.
Use of uninitialized value in pattern match (m//) at /usr/lib/perl5/vendor_perl/5.10.1/Foomatic/DB.pm line 1188.
Use of uninitialized value in pattern match (m//) at /usr/lib/perl5/vendor_perl/5.10.1/Foomatic/DB.pm line 1190.
Use of uninitialized value in pattern match (m//) at /usr/lib/perl5/vendor_perl/5.10.1/Foomatic/DB.pm line 1192.
Use of uninitialized value $pdls in join or string at /usr/lib/perl5/vendor_perl/5.10.1/Foomatic/DB.pm line 1195.
Use of uninitialized value in hash element at /usr/lib/perl5/vendor_perl/5.10.1/Foomatic/DB.pm line 1242.
auth-info-required=none copies=1 device-uri=ipp://192.168.0.8:631/printers/2Tray-Printer2 finishings=3 job-hold-until=no-hold job-priority=50 job-sheets=none,none marker-change-time=0 media=A4 number-up=1 printer-info='HP LaserJet 4100 Series' printer-is-accepting-jobs=true printer-is-shared=true printer-location='Location Unknown' printer-make-and-model='HP LaserJet 4100 Series v.3010.107 Postscript (recommended)' printer-state=3 printer-state-change-time=1259058668 printer-state-reasons=none printer-type=168148 printer-uri-supported=ipp://server1.network.lan:631/printers/2Tray-Printer2 sides=two-sided-long-edge
Gtk-CRITICAL **: gtk_window_realize_icon: assertion `info->icon_pixmap == NULL' failed at /usr/lib/libDrakX/mygtk2.pm line 1213.




Offline menotu

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 15506
  • ┌∩┐(◕_◕)┌∩┐
Re: Unable to add printer
« Reply #3 on: February 02, 2011, 01:39:18 PM »
If you haven't already done so you could try reinstalling

printerdrake

and

printerdrake-common

and then rebooting.
PCLinuxOS 32bit KDE 4.10.4; kernel-3.4.11-pclos1.bfs & 64bit 3.4.38bfs; NVidia GeForce 8400GS 1GB 310.19 driver

Sony Vaio SVE1513A4ESI Laptop, Intel Core i5, 2.6GHz, 6GB RAM, 750GB, 15.6" Intel HD Graphics 4000

Offline rick0612

  • Sr. Member
  • ****
  • Posts: 258
  • The only dumb question is the one not asked.
Re: Unable to add printer
« Reply #4 on: February 02, 2011, 08:50:30 PM »
Hi,

What printer model and manufacturer are you trying to install? Also, how is it connected to the computer: USB, parallel, network?
Packaging rig: Averatec 2573 /12.1" screen /2.0GHZ /3GB RAM /120GB SSD /Minime 2012.12

Daily rig: Alienware X51 /23" monitor /Windows 7 host /KDE VBox client

Offline bluegroper

  • Full Member
  • ***
  • Posts: 206
Re: Unable to add printer
« Reply #5 on: February 03, 2011, 05:00:06 AM »
If you haven't already done so you could try reinstalling

printerdrake

and

printerdrake-common

and then rebooting.

Thanks for suggestion.  Done that.  Regret still no solution.


Offline bluegroper

  • Full Member
  • ***
  • Posts: 206
Re: Unable to add printer
« Reply #6 on: February 03, 2011, 05:02:10 AM »
Hi,

What printer model and manufacturer are you trying to install? Also, how is it connected to the computer: USB, parallel, network?

HP printer, ethernet.
Not sure why thats relevant when the printerdrake gui is nearly all greyed out.
TIA's for tips and clues.

PS. I must remember to try Webmin or Cups Admin and see whether either can Add Printer without greyness.
It would be a PITA to have to reinstall PCLOS.  Reminds us of days of old when we still used windoze.


« Last Edit: February 03, 2011, 05:06:37 AM by bluegroper »

uncleV

  • Guest
Re: Unable to add printer
« Reply #7 on: February 03, 2011, 05:15:00 AM »
HP printer, ethernet.
Not sure why thats relevant when the printerdrake gui is nearly all greyed out.
Not sure but may be installing hplip will help:
Quote
HP printer/all-in-one driver infrastructure
This is the HP driver package to supply Linux support for most
Hewlett-Packard DeskJet, LaserJet, PSC, OfficeJet, and PhotoSmart
printers and all-in-one peripherals (also known as Multi-Function
Peripherals or MFPs), which can print, scan, copy, fax, and/or access flash memory cards.

Is it possible you have a problem because of corrupted LiveCD that you installed from?

Offline phorneker

  • Full Member
  • ***
  • Posts: 131
  • Linux Solutions for Everyone
    • Horneker Online
Re: Unable to add printer
« Reply #8 on: February 03, 2011, 08:24:29 AM »
Another thing you could try is the "old school" method (borrowed from Slackware) of printer configuration.

Open a web browser with this url:  http://localhost:631/

What should appear in the browser is the CUPS web interface.  Click on Administration, then click on Add Printer.  CUPS should search for printers attached to your system, and any accessable networked printers.

If your printer appears in the list, select that printer, then select an appropriate driver.  You will be prompted for a username and password.  CUPS at this point is expecting the superuser password as this is a system administration function.  Type in root for the username, then enter the superuser password where it says password.  Click on OK.

At this point, the printer queue should be created, and you will be given the opportunity to choose any default options you wish to set for that printer.
Online since 1996.
HW:  Toshiba Satellite L305-S5944 with 4GB of RAM and PCLinuxOS 2012 always kept up to date.

Offline rick0612

  • Sr. Member
  • ****
  • Posts: 258
  • The only dumb question is the one not asked.
Re: Unable to add printer
« Reply #9 on: February 03, 2011, 08:35:44 AM »
Hi,

For HP printers, go to Synaptic and install task-printing-hp. That file has the drivers for all HP printers.
Once that is installed, go to Menu -> More Apps -> Printing and click on HP Device Manager. The GUI will walk you through the install. Don't bother with printerdrake, it will just tell you to use HP install for HP printers.

If you have problems connecting to the printer try this:

Open terminal and login as root.
Enter command hp-setup -i xxx.xxx.xxx.xxx      (the x's are the ip address of your printer)
This is the same as the GUI except in text mode and directing the app to your printer's ip address.

You didn't say whether this is an AIO. If it is, you may have to install libsane-hpaio1 to get the scanner to work. (It's in Synaptic)

Let us know how this works out for you.

Good Luck
Packaging rig: Averatec 2573 /12.1" screen /2.0GHZ /3GB RAM /120GB SSD /Minime 2012.12

Daily rig: Alienware X51 /23" monitor /Windows 7 host /KDE VBox client

Offline bluegroper

  • Full Member
  • ***
  • Posts: 206
Re: Unable to add printer [SOLVED]
« Reply #10 on: February 04, 2011, 02:11:38 PM »
In Control Center, Turn off "Remote CUPS Server and no local CUPS daemon".
Now I can Add a local printer.
Thanks for all the tips and clues.
« Last Edit: February 04, 2011, 03:00:39 PM by bluegroper »

deepalone

  • Guest
Re: Unable to add printer [SOLVED]
« Reply #11 on: April 26, 2011, 08:33:24 PM »
In Control Center, Turn off "Remote CUPS Server and no local CUPS daemon".
Now I can Add a local printer.
Thanks for all the tips and clues.

Where do we able to find "Remote CUPS Server and no local CUPS daemon" in Control Panel?
I live without a printer since upgrading to 2010.

CUPS is able to print test page on network printer, but it can't be used by the system.
When it is started, "lpstat: no route to host"

Pls help

Rgds
Deep

Offline sasdthoh

  • New Friend
  • *
  • Posts: 9
Re: Unable to add printer [SOLVED]
« Reply #12 on: April 27, 2011, 01:24:06 PM »
Open Control Center, then select hardware, then printers. Then locate the button that displays "Configure CUPS", then select the long button that displays "Remote CUPS Server and no local cups daemon". Once selected, make certain you selct "Off", then close.

See Ya!

sasdthoh

deepalone

  • Guest
Re: Unable to add printer [SOLVED]
« Reply #13 on: April 27, 2011, 08:44:57 PM »
Selecting "printer" makes PCC shows nothing.
PCC stops CUPS.