hplip not finding printer (Slackware 14.1)
In my recently installed Slackware 14.1, I am trying to install the printer. The printer is seen with lsusb command:
Code:
bash-4.2$ lsusb Code:
bash-4.2$ hp-setup Code:
bash-4.2# hp-setup |
I guess you just forgot to activate and start CUPS.
Code:
# chmod +x /etc/rc.d/rc.cups Cheers, Niki |
rc.cups was already executable and running. I loaded http://localhost:631 and added printer from there (the printer was found by this method). However, although print dialog box on geany text editor print command is showing the printer, it is not working. The message on http://localhost:631 is that data is being sent to printer but it does not get printed (printer does not give any indication of activity- light or sound). I have tried switching off and again on the printer, but it has not helped.
|
What's your printer name and model?
|
In one xterm try the command 'hp-toolbox' and click on the hammer icon (DiaGnose HPLIP Driver)
|
@kikinovak : the name etc is: Hewlett-Packard LaserJet 1020 (it is there in my first post- the lsusb output)
On hp-toolbox, there is a warning: Quote:
|
said yes (y) by default is no.
|
Quote:
|
Checking for Deprecated items....
error: This distro (i.e slackware 14.1) is either deprecated or not yet supported. The diagnosis is limited on unsupported platforms. Do you want to continue?(y=yes*, n=no): |
It does not stop on warning but keeps running; does not find the printer. I tried installing printer from kde printer setup settings- it is detected and gets installed all right but does not work. The files are sent to the printer but the printer shows no activity (it is ON!).
|
In your notification area, right-click on the HP icon and start "Device Manager". Setup your printer from there. At one point you'll be asked to provide a login (root) and a password (root password). Don't simply use the standard CUPS interface. Many HP printers require some firmware in order to work correctly, and the HP Device Manager automagically prompts you for downloading that firmware.
Hope that helps. |
Oh, and I forgot. What groups is your user a member of?
Here's what this should look like: Code:
$ groups |
maybe you need to make your printers has a default printer.
|
Just :twocents:
See if the printer is disabled, happens here sometimes. lpstat -t if disabled, enable it cupsenable <printer name> |
Firmware Reload
I recently struggled to get an HP LJ 1020 working on an old laptop with a fresh install of Slackware 14.1.
The HP LJ 1020 is "special". It needs HPLIP proprietary drivers and the firmware isn't retained through power cycles. A key item is that the model 1020 requires reloading the firmware every time it is powered on as it can't retain the firmware when power is removed. So when you set it up with HPLIP as a new printer and let HPLIP automatically download the required files it will work. But when you unplug/power off/reboot stuff it will no longer work unless you once again set it up as a new printer and automatically download the files again. The laptop only has 2 USB ports which are used for a keyboard, mouse, and printer. I remember a further complication when plugging and unplugging the printer, it wouldn't print anymore. Perhaps the printer was "lost" when disconnected from the USB port. The laptop and details of the printer installation are currently in another city. Some scribbled notes I have with me show that the following was involved... - Turned off HPLIP - Used usblp module (/etc/rc.d/rc.modules) - Used /usr/share/foo2zjs files. Firmware is sihp1020.dl I believe the key to automatic loading of the firmware was the usblp module. Perhaps if the firmware loads when the printer is connected then you can still use HPLIP. I just stumble along in getting printers to work. Perhaps more knowledgeable LQ members can shed further light on using the HPLJ 1020 and what happens when connecting and disconnecting printers on USB ports. EDIT: I remembered that the green and amber printer lights flash (alternate?) when the firmware is loading. It may useful for troubleshooting the loading of firmware. I mentioned HPLIP "automatically" downloading files. I still had to tell it to download/install the files. I believe HPLIP automatically selected the files based on the printer model I gave it. I remember not being able to select and download/save the files without HPLIP (probably a personal limitation). |
All times are GMT -5. The time now is 10:19 PM. |