HP LaserJet 1005 only prints first page

Bug #1806352 reported by Zoran Mijanovic
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HPLIP
In Progress
Undecided
Unassigned
hplip (Ubuntu)
New
Undecided
Unassigned

Bug Description

After a fresh reinstallation of Ubuntu 18.04 HP LaserJet 1005 printer appeared correct in Setting/Printers. It received jobs and completed them, but no page came out. To solve the problem, I installed hplip-3.18.4.run. Now, after resetting, the computer prints the first page correct. But, after that, it again receives jobs, completes them, but no page comes out. The same is with the other network printer which works correctly before reinstallation.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: cups 2.2.7-1ubuntu2.1
ProcVersionSignature: Ubuntu 4.15.0-39.42-generic 4.15.18
Uname: Linux 4.15.0-39-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.5
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Mon Dec 3 10:20:16 2018
InstallationDate: Installed on 2018-12-02 (0 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
Lpstat:
 device for Hewlett_Packard_HP_LaserJet_Professional_P1102_vaso_MS_7592: implicitclass:Hewlett_Packard_HP_LaserJet_Professional_P1102_vaso_MS_7592
 device for hp_LaserJet_1005: hp:/usb/hp_LaserJet_1005_series?serial=0
MachineType: ASUS All Series
Papersize: a4
PpdFiles:
 Error: command ['fgrep', '-H', '*NickName', '/etc/cups/ppd/hp_LaserJet_1005.ppd', '/etc/cups/ppd/Hewlett_Packard_HP_LaserJet_Professional_P1102_vaso_MS_7592.ppd'] failed with exit code 2: grep: /etc/cups/ppd/hp_LaserJet_1005.ppd: Permission denied
 grep: /etc/cups/ppd/Hewlett_Packard_HP_LaserJet_Professional_P1102_vaso_MS_7592.ppd: Permission denied
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-39-generic root=UUID=55233a2e-4ce3-4fdc-a938-f135b95322e5 ro quiet splash vt.handoff=1
SourcePackage: cups
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 10/21/2014
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1003
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: B85M-K
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: Rev X.0x
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr1003:bd10/21/2014:svnASUS:pnAllSeries:pvrSystemVersion:rvnASUSTeKCOMPUTERINC.:rnB85M-K:rvrRevX.0x:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.family: ASUS MB
dmi.product.name: All Series
dmi.product.version: System Version
dmi.sys.vendor: ASUS

Revision history for this message
Zoran Mijanovic (zoran-mijanovic) wrote :
Revision history for this message
brian_p (claremont102) wrote :

To confirm: The LaserJet 1005 is on the network?

What is the make and model of the other printer?

Please post the outputs of 'lpinvo -v' and 'lpstat -t'.

--
Brian.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Moved to HPLIP and added upstream task as original reporter is using upstream package.

affects: cups (Ubuntu) → hplip (Ubuntu)
Revision history for this message
Zoran Mijanovic (zoran-mijanovic) wrote :

brian, Till, thanks for fast reply.
LaserJet 1005 is the local printer. Model of the network printer is HP LaserJet Professional P1102.

Revision history for this message
brian_p (claremont102) wrote :

Hello Zoran,

You forgot to post the two items of information I asked for. Would you also confirm you have installed the proprietary plugin.

From your error log:

> prnt/backend/hp.c 831: INFO: open device failed stat=21: hp:/usb/hp_LaserJet_1005_series?serial=0; will retry in 30 seconds...

> PID 9030 (/usr/lib/cups/filter/hpcups) crashed on signal 11.

--
Brian.

Revision history for this message
Zoran Mijanovic (zoran-mijanovic) wrote :

Hello Brian

lpinfo -v
network ipps
file cups-brf:/
network beh
network http
network https
network socket
network ipp
network lpd
direct hp:/usb/hp_LaserJet_1005_series?serial=0
direct hpfax
serial serial:/dev/ttyUSB0?baud=230400

lpstat -t
scheduler is running
system default destination: hp_LaserJet_1005
device for hp_LaserJet_1005: hp:/usb/hp_LaserJet_1005_series?serial=0
hp_LaserJet_1005 accepting requests since понедељак, 03. децембар 2018. 15:14:47 CET
printer hp_LaserJet_1005 is idle. enabled since понедељак, 03. децембар 2018. 15:14:47 CET

Revision history for this message
brian_p (claremont102) wrote :

Hello Zoran,

Do you have the proprietary plugin installed with hp-plug? The printer needs it.

--
Brian.

Revision history for this message
brian_p (claremont102) wrote :

From the information you gave:

> direct hp:/usb/hp_LaserJet_1005_series?serial=0

This is fine, although the printer the printer does not provide a serial number. However, I expected to see an 'lpinfo -v' entry beginning "usb://HP/....". This is what CUPS should give for the URI of the printer. The other one is an HPLIP URI.

Would you please do

sudo /usr/lib/cups/backend/usb

Part of the output should have "Device URI: usb://..." Post what the whole of "Device URI" says.

--
Brian.

Revision history for this message
brian_p (claremont102) wrote :

Hello Zoran,

In ny last post I asked you look at the output of 'sudo /usr/lib/cups/backend/usb' and tell us what "Device URI" says. On reflection, it would be better to post the whole output. So, please would you do that instead?

--
Brian.

Revision history for this message
Santhosh Manchikanti (santhosh2357651) wrote :

Dear Zoran,

Please try it on latest driver from below link

https://developers.hp.com/hp-linux-imaging-and-printing/gethplip

If you still face any issue. Please let us know.

Regards,
Santhosh

Changed in hplip:
status: New → In Progress
Revision history for this message
Zoran Mijanovic (zoran-mijanovic) wrote :

Dear Santhosh

I run 'hplip-3.18.12.run' and get:

Gtk-Message: 09:46:22.483: Failed to load module "canberra-gtk-module"
Searching... (bus=usb, search=(None), desc=0)
Segmentation fault
error: The device you are trying to setup requires a binary plug-in. Some functionalities may not work as expected without plug-ins. Please run 'hp-plugin' as normal user to install plug-ins. Visit http://hplipopensource.com for more infomation.

After that, I run 'hp-plugin' and get:

Plug-in version: 3.18.12
Installed HPLIP version: 3.18.12
Number of files to install: 55

Gtk-Message: 09:47:48.835: Failed to load module "canberra-gtk-module"
Plugin installation failed
error: Python gobject/dbus may be not installed
error: Plug-in install failed.

Revision history for this message
Zoran Mijanovic (zoran-mijanovic) wrote :

I just installed 'libcanberra-gtk-module'. Now, 'canberra-gtk-module' problem disappeared.
But, I still have:

Plugin installation failed
error: Python gobject/dbus may be not installed
error: Plug-in install failed.

Revision history for this message
Zoran Mijanovic (zoran-mijanovic) wrote :

I just reinstalled: python and python2.7, but the problem persists. It seems as there is some problem with systray.

/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:127: RuntimeWarning: PyOS_InputHook is not available for interactive use of PyGTK
  set_interactive(1)
No systemtrayicon available

Changed in hplip (Ubuntu):
status: New → In Progress
status: In Progress → New
Revision history for this message
brian_p (claremont102) wrote :

Your problem solving has now changed from an inability of CUPS to detect "usb://HP..." /...." to "some problem with systray" after installing the latest hplip-3.18.12.run.

Which one to pursue is your choice. I wish you luck.

--
Brian.

Revision history for this message
Zoran Mijanovic (zoran-mijanovic) wrote :

Dear Brian
After a lot of trying everything, now I have a more serious problem then systemtry-icon.

When I turn on the printer I get the message:
"HP Device Manager - Plug-in Installer
Driver Plug-in Required
HP Device plug-in version mismatch or some files are corrupted.
Click 'Next' to install required plug-in."

When I click 'Next', just get 'Failed to install Plug-in'.

Revision history for this message
brian_p (claremont102) wrote :

> When I click 'Next', just get 'Failed to install Plug-in'.

This could be

https://bugs.launchpad.net/hplip/+bug/1807051

> HP Device plug-in version mismatch or some files are corrupted.

Download *.run and *.asc from

 https://developers.hp.com/hp-linux-imaging-and-printing/plugins

and install the plugin with 'hp-plugin -p .....'

--
Brian.

Revision history for this message
Zoran Mijanovic (zoran-mijanovic) wrote :

After a lot of wrong trying, I worsen the problem. So I reinstall Ubuntu again. This time I followed instructions from:
https://wiki.ubuntu.com/DebuggingPrintingProblems
and I typed the command
tail -f /var/log/syslog
From the screen report, I saw missing of systray and plugin. I concluded that systray is not essential so didn't install it at all. I just put the:
sudo hp-plugin -i

After that printer worked fine.
Conclusion. Brian you were right this was the bug 1807051.

Thanks

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.