Problem with HP Laserjet 1020 printer

Problem with HP Laserjet 1020 printer

Postby rmag » Feb 4th, '16, 12:29

I tried to install HP Laserjet 1020 printer with system-config-printer and got following errors:

Code: Select all
starting installing packages
created transaction for installing on / (remove=0, install=0, upgrade=1)
removing installed rpms (hplip-gui-3.14.6-8.1.mga5.i586.rpm) from /var/cache/urpmi/rpms
unlocking urpmi database
unlocking rpm database
task-printing-server-2011-8.mga5                                                                             
task-printing-hp-2011-8.mga5
Redirecting to /bin/systemctl start cups.service
rmmod: ERROR: Module lp is not currently loaded
task-printing-hp-2011-8.mga5
**** Incorrect IEEE 1284 Device ID: ['3-distribution/HP/hp-laserjet_1020.ppd.gz', 'drv:///hp/hpcups.drv/hp-laserjet_1020.ppd']
**** Actual ID is MFG:Hewlett-Packard;MDL:HP LaserJet 1020;
**** Please report a bug against the HPLIP component
task-printing-hp-2011-8.mga5
**** Incorrect IEEE 1284 Device ID: ['3-distribution/HP/hp-laserjet_1020.ppd.gz', 'drv:///hp/hpcups.drv/hp-laserjet_1020.ppd']
**** Actual ID is MFG:Hewlett-Packard;MDL:HP LaserJet 1020;
**** Please report a bug against the HPLIP component

Where is the proolem? Especially regarding the "Module lp not currently loaded" error above. Thanks for your help.
rmag
 
Posts: 32
Joined: Jan 31st, '16, 14:58

Re: Problem with HP Laserjet 1020 printer

Postby doktor5000 » Feb 4th, '16, 12:42

Apart from getting the errors, is there an actual malfunction, or does the printer work?
You should get accustomed to the fact that an error message with no actual encounterd error happens pretty often due to verbose output of many tools.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17659
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Problem with HP Laserjet 1020 printer

Postby rmag » Feb 4th, '16, 13:06

Printer works immediately after installing it but not after restarting. There is a practical problem.
rmag
 
Posts: 32
Joined: Jan 31st, '16, 14:58

Re: Problem with HP Laserjet 1020 printer

Postby doktor5000 » Feb 4th, '16, 13:19

You mean after rebooting? So if the printer works after installation in the first place, I don't think those messages during installation are related.

Please provide some more information. How is the printer connected to your box? What does the cups web frontend say about the status of the printer? http://127.0.0.1:631

And after reboot when printer is not working, please show the output as root of
Code: Select all
systemctl status cups.path cups.service cups.socket -a -n250
journalctl -ab|grep -i cups
cat /etc/cups/printers.conf
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17659
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Problem with HP Laserjet 1020 printer

Postby rmag » Feb 4th, '16, 14:20

Printer is connected by usb cable.

The cups web interface (http://localhost:631) shows the installed printer. It shows when document is sent for printing. It shows that rendering is complete and job is finished while there is no sign of any activity in the printer and nothing is printed.

Remaining I will post ASAP.
rmag
 
Posts: 32
Joined: Jan 31st, '16, 14:58

Re: Problem with HP Laserjet 1020 printer

Postby doktor5000 » Feb 4th, '16, 15:01

rmag wrote:The cups web interface (http://localhost:631) shows the installed printer. It shows when document is sent for printing. It shows that rendering is complete and job is finished while there is no sign of any activity in the printer and nothing is printed.

Ok, but what does it show as status for the printer itself? At http://localhost:631/printers/ in the rightmost column ...
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17659
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Problem with HP Laserjet 1020 printer

Postby rmag » Feb 4th, '16, 16:34

I am not on that computer right now but I think it just showed 'Idle' and in the print dialog box of geany text editor- "Ready to print".
rmag
 
Posts: 32
Joined: Jan 31st, '16, 14:58

Re: Problem with HP Laserjet 1020 printer

Postby rmag » Feb 5th, '16, 14:49

The output of different commands are as follows:

Code: Select all
[root@localhost bin]#     systemctl status cups.path cups.service cups.socket -a -n250
● cups.path - CUPS Scheduler
   Loaded: loaded (/usr/lib/systemd/system/cups.path; enabled)
   Active: active (running) since Fri 2016-02-05 18:06:58 IST; 7min ago

● cups.service - CUPS Scheduler
   Loaded: loaded (/usr/lib/systemd/system/cups.service; enabled)
   Active: active (running) since Fri 2016-02-05 18:07:24 IST; 7min ago
     Docs: man:cupsd(8)
 Main PID: 1556 (cupsd)
   Status: "Scheduler is running..."
   CGroup: /system.slice/cups.service
           ├─1556 /usr/sbin/cupsd -l
           └─3339 hp:/usb/HP_LaserJet_1020?serial=JL1CQE6 23 cardio geany job #2 1 InputSlot=Auto number-up...

Feb 05 18:13:43 localhost.localdomain hp[3339]: io/hpmud/musb.c 1142: unable to open hp:/usb/HP_LaserJet_1020?serial=JL1CQE6
Feb 05 18:13:43 localhost.localdomain hp[3339]: prnt/backend/hp.c 809: INFO: open device failed stat=12: hp:/usb/HP_LaserJet_1020?serial=JL1CQE6; will retry in 30 seconds...
Feb 05 18:14:13 localhost.localdomain hp[3339]: io/hpmud/musb.c 1142: unable to open hp:/usb/HP_LaserJet_1020?serial=JL1CQE6
Feb 05 18:14:13 localhost.localdomain hp[3339]: prnt/backend/hp.c 809: INFO: open device failed stat=12: hp:/usb/HP_LaserJet_1020?serial=JL1CQE6; will retry in 30 seconds...

● cups.socket - CUPS Scheduler
   Loaded: loaded (/usr/lib/systemd/system/cups.socket; enabled)
   Active: active (running) since Fri 2016-02-05 18:06:58 IST; 7min ago
   Listen: /var/run/cups/cups.sock (Stream)


Code: Select all
[root@localhost bin]#     journalctl -ab|grep -i cups
Feb 05 18:07:24 localhost.localdomain colord[1698]: Device added: cups-HP_LaserJet_1020
Feb 05 18:07:29 localhost.localdomain udev-configure-printer[1896]: ● cups.service - CUPS Scheduler
Feb 05 18:07:29 localhost.localdomain udev-configure-printer[1896]: Loaded: loaded (/usr/lib/systemd/system/cups.service; enabled)
Feb 05 18:07:29 localhost.localdomain udev-configure-printer[1896]: Docs: man:cupsd(8)
Feb 05 18:07:29 localhost.localdomain udev-configure-printer[1896]: Main PID: 1556 (cupsd)
Feb 05 18:07:29 localhost.localdomain udev-configure-printer[1896]: CGroup: /system.slice/cups.service
Feb 05 18:07:29 localhost.localdomain udev-configure-printer[1896]: └─1556 /usr/sbin/cupsd -l
Feb 05 18:14:20 localhost.localdomain udev-configure-printer[3384]: ● cups.service - CUPS Scheduler
Feb 05 18:14:20 localhost.localdomain udev-configure-printer[3384]: Loaded: loaded (/usr/lib/systemd/system/cups.service; enabled)
Feb 05 18:14:20 localhost.localdomain udev-configure-printer[3384]: Docs: man:cupsd(8)
Feb 05 18:14:20 localhost.localdomain udev-configure-printer[3384]: Main PID: 1556 (cupsd)
Feb 05 18:14:20 localhost.localdomain udev-configure-printer[3384]: CGroup: /system.slice/cups.service
Feb 05 18:14:20 localhost.localdomain udev-configure-printer[3384]: ├─1556 /usr/sbin/cupsd -l


Code: Select all
[root@localhost bin]#     cat /etc/cups/printers.conf
# Printer configuration file for CUPS v2.0.4
# Written by cupsd on 2016-02-05 18:07
# DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING
<Printer HP_LaserJet_1020>
UUID urn:uuid:2a91702d-77fe-3448-7098-c5b651616479
Info HP_LaserJet_1020
Location rnoffice
MakeModel HP LaserJet 1020, hpcups 3.14.6, requires proprietary plugin
DeviceURI hp:/usb/HP_LaserJet_1020?serial=JL1CQE6
State Idle
StateTime 1454643545
Type 36892
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>
<Printer Laserjet>
UUID urn:uuid:7c35d6fc-9af9-3754-5158-e47214bcea5d
Info HP LaserJet Professional M1213nf MFP
Location NPIA01FD3
DeviceURI ipp://NPIA01FD3.local:631/printers/Laserjet
State Idle
StateTime 1454675844
Type 6
Accepting Yes
Shared No
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
Option cups-browsed true
</Printer>
<Printer Samsung_ML_1660_Series>
UUID urn:uuid:da9fdca3-264d-3e71-6e4b-84eb7b6bd72c
Info scx-3401 @ Dr’s iMac
Location Drs-iMac-3
DeviceURI ipps://Drs-iMac-3.local:631/printers/Samsung_ML_1660_Series
State Idle
StateTime 1454675845
Type 6
Accepting Yes
Shared No
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
Option cups-browsed true
</Printer>
[root@localhost bin]#

I am interested in only the first of the 3 printers listed in this file. Other 2 are probably on the network and I actually want them not to be included in my list of printers when I try to print some document from an application. Can they be interfering with my local printer? How can I prevent them to be not seen and how to make my own printer (first one listed in above file) to work reliably?

The root is member of lp and lpadmin groups, while the user is member of lp group. Is anything else needed?

The message in the cups web interface (http://localhost:631) is: Idle - "ready to print"
rmag
 
Posts: 32
Joined: Jan 31st, '16, 14:58

Re: Problem with HP Laserjet 1020 printer

Postby doktor5000 » Feb 5th, '16, 17:08

You should try to delete the LaserJet 1020 via system-config-printer and then try to configure it again via hp-setup.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17659
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Printers and Scanners

Who is online

Users browsing this forum: No registered users and 1 guest

cron