You are not logged in.

#1 2012-06-04 08:39:15

daniele_arch
Member
Registered: 2009-01-26
Posts: 11

Problems after upgrade with cups and Hp laserjet 1018 printer

Dear all,

A few days ago, after a cups upgrade It was suggested by pacman to remove installed printers. I removed my Hp laserjet 1018.
When I launched the hp-toolbox (hplip) to re-install the printer, the printer was detected correctely, but the installation of the plugin
failed (my printer needs a proprietary plugin which hplip should detect and download from an authorized server).

Can anybody help me? Downgrading cups does not help

Thankyou

Offline

#2 2012-06-04 08:51:23

gnux83
Member
Registered: 2012-06-02
Posts: 19

Re: Problems after upgrade with cups and Hp laserjet 1018 printer

Hi,

hplip plugin installation needs python2. Therefore do the following (as root, or sudo):

# cd /tmp
# ln-s /usr/bin/python2 python
# PATH=/tmp:$PATH hp-setup (-i / -u)

regards,
gnux

//edit: code tags

Last edited by gnux83 (2012-06-04 10:02:33)

Offline

#3 2012-06-04 09:11:53

daniele_arch
Member
Registered: 2009-01-26
Posts: 11

Re: Problems after upgrade with cups and Hp laserjet 1018 printer

Dear Gnux,

Thank you very much for your kind answer.

I follwed your suggestions and I was able to partially complete the procedure. Unfortunately at the end I get an error.

The error is in the "printer queue setup". I paste below the message I get. Thank you in advance if you can give me some suggestions...

[root@daniele-arch tmp]# PATH=/tmp:$PATH hp-setup -i

HP Linux Imaging and Printing System (ver. 3.12.4)
Printer/Fax Setup Utility ver. 9.0

Copyright (c) 2001-14 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

..........

Setting up device: hp:/usb/HP_LaserJet_1018?serial=KP3798T

.................

------------------------
| PLUG-IN INSTALLATION |
------------------------


HP Linux Imaging and Printing System (ver. 3.12.4)
Plugin Download and Install Utility ver. 2.1

........................
-----------------------------------------
| PLUG-IN INSTALLATION FOR HPLIP 3.12.4 |
-----------------------------------------

  Option      Description                                       
  ----------  --------------------------------------------------
  d           Download plug-in from HP (recomended)             
  p           Specify a path to the plug-in (advanced)         
  q           Quit hp-plugin (skip installation)               

Enter option (d=download*, p=specify path, q=quit) ? d

--------------------------
| DOWNLOAD CONFIGURATION |
--------------------------

Checking for network connection...
Downloading configuration file from: http://hplip.sf.net/plugin.conf
Downloading


| DOWNLOAD PLUGIN |
-------------------

Checking for network connection...
Downloading plug-in from: http://www.openprinting.org/download/pr … plugin.run
Downloading plug-in: [\                                   ] 0%   Receiving digital keys: /usr/bin/gpg --no-permission-warning --keyserver pgp.mit.edu --recv-keys 0xA59047B9


----------------------
| INSTALLING PLUG-IN |
----------------------

Verifying archive integrity... All good.

Done.

Done.

---------------------
| PRINT QUEUE SETUP |
---------------------


q=quit) ?mer a name for this print queue (m=use model name:'HP_LaserJet_1018'*, q
Using queue name: HP_LaserJet_1018
Locating PPD file... Please wait.
                                                                              01mEnter a location description for this Enter a location description for this printer (q=quit) ?Stampante Studiotudioter a location description for this printEnter additonal information or notes for this printer (q=quit) ?
Enter additonal information or notes for this printer (q=quit) ?Stampante studio

Adding print queue to CUPS:
Device URI: hp:/usb/HP_LaserJet_1018?serial=KP3798T
Queue name: HP_LaserJet_1018
PPD file: drv:///hp/hpcups.drv/hp-laserjet_1018.ppd
Location: Stampante Studio
Information: Stampante studio
error: Printer queue setup failed. Please restart CUPS and try again.

Offline

#4 2012-06-04 09:12:59

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Problems after upgrade with cups and Hp laserjet 1018 printer

Please learn how to paste code...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2012-06-04 10:01:00

gnux83
Member
Registered: 2012-06-02
Posts: 19

Re: Problems after upgrade with cups and Hp laserjet 1018 printer

daniele_arch wrote:

[...]
error: Printer queue setup failed. Please restart CUPS and try again.

Just restart your machine and try again smile. Two days ago I had the same issue...

//EDIT: just restarting CUPS won't work

regards

Last edited by gnux83 (2012-06-04 10:03:30)

Offline

#6 2012-06-04 10:10:56

daniele_arch
Member
Registered: 2009-01-26
Posts: 11

Re: Problems after upgrade with cups and Hp laserjet 1018 printer

Thank you a lot, gnux!
I repeated the process with -u, restarted the machine and now everything works!

Jasonwyran: sorry for my ugly pasting. Next time I will be more careful

Offline

#7 2012-06-04 10:12:12

gnux83
Member
Registered: 2012-06-02
Posts: 19

Re: Problems after upgrade with cups and Hp laserjet 1018 printer

daniele_arch: I'm glad to hear the procedure worked for you, please set this topic to [Solved]

Last edited by gnux83 (2012-06-04 10:12:32)

Offline

Board footer

Powered by FluxBB