Feisty UVF ER: New HPLIP 1.7.3 release fixes lots of bugs

Bug #98520 reported by Till Kamppeter
24
Affects Status Importance Assigned to Milestone
hplip (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: hplip

Last Friday HPLIP 1.7.3 was released. It does not only fix 9 bugs which were reported to Launchpad but also at least ~80 bugs discovered upstream or in other distributions (see ChangeLog) got fixed. Probably many of the crash bugs of the HP Toolbox reported recently got also fixed. In addition, once packaging HPLIP I have fixed the numerously reported problems with the GUI tools in the menus and python-qt3 not being installed by default (3 Launchpad bugs, one with 8 duplicates) in all flavours but Kubuntu.

Also the newest HP printer models get supported with this release.

The following bugs got fixed:

From the new upstream release:
https://launchpad.net/bugs/82546
https://launchpad.net/bugs/83936
https://launchpad.net/bugs/85805
https://launchpad.net/bugs/87695
https://launchpad.net/bugs/91157
https://launchpad.net/bugs/91563
https://launchpad.net/bugs/92237
https://launchpad.net/bugs/94013
https://launchpad.net/bugs/94015
https://launchpad.net/bugs/94823
https://launchpad.net/bugs/95489

Packaging:
https://launchpad.net/bugs/67892
https://launchpad.net/bugs/86893
https://launchpad.net/bugs/88290

Here is the Ubuntu ChangeLog (it contains a complete copy of the upstream ChangeLog/Release Notes):

------------------------------------------------------------------------
 hplip (1.7.3-0ubuntu1) feisty; urgency=low
 .
   * New upstream release (closes: LP#82546, LP#83936, LP#85805, LP#87695,
     LP#92237, LP#94013, LP#94015, LP#94823, LP#95489)
     * HPLIP 1.7.3
       + Added the <nopjl /> tag to hpijs-generator.in. This will remove
         the extra foomatic PJL options from most HP LaserJet PPD
         files. The extra foomatic PJL options caused some HPIJS PCL data
         issues. This fixes a "PCL XL error" on LJ1010/1012 that can
         occur on different PCs (closes: LP#92237).
       + Fixed defect (An error occurs when send a fax coverpage with "&"
         or "<" character in Regarding or Optional Message field.)
       + Removed banner pages from fax print settings
       + Altered hpfax: device discovery output to match hp: scheme (CUPS
         1.2 only)
       + Removed the wait cursor during the password entry screen
         [reported by Johannes]
       + Added error messages and suppressed content in toolbox when
         device is not found or unsupported
       + A new configure option was added --enable-cups11-build, this
         option controls the hp/hpfax device discovery message when no
         devices are found. If needed, this option provides backward
         compatibility with CUPS 1.1.x applications.
         With --enable-cups11-build set the "no_device_found" message is
         displayed during device discovery by the "hp" backend.
         With --disable-cups11-build (default) set the backend prints a
         scheme based on the following conditions.
             Condition 1 - no daemons
               output nothing stdout return exit 1
             Condition 2 - daemons running, no HP devices, output scheme
               direct hp "Unknown" "HP Printer (HPLIP)" return exit 0
             Condition 3 - daemons running, HP printer found, output URI
               direct hp:/... "hp model" "HP model HPLIP" "deviceid"
             return exit 0
         (closes: LP#87695)
       + Changed the way that hp-setup was being launched from the
         toolbox, it was hanging on Edgy
       + Added Tools > Printer Information
       + Added a check for 'lpr' for Debian installation (to force
         install of cupsys-bsd)
       + Moved the password prompt in the text/CLI installer past the
         distro confirm/select prompts to handle a problem with Mepis
       + Made a change to determine if networking is working during
         installation.
       + Added a private copy of sanei_init_debug to libsane-hpaio. This
         will remove the libsane.so dependency which was a problem for
         WINE.
       + Fixed defect (PPD file "foomatic:HP-PSC_2400-hpijs.ppd" can not
         be found when set up PSC 2400 in interactive mode, closes
         LP#95489)
       + Fixed a page update defect in the toolbox (when switching
         devices, update page correctly)
       + Re-wrote hpaioAdvanceDocument function in libsane-hpaio. This
         change only effects SCL scanners with an ADF (ie: inkjet
         all-in-ones). This fixes a double-feed ADF issue which occurred
         when scanning a single page.
       + Fixed defect (An unexpected error occurs when perform color
         calibration job in GUI mode on photosmart c7180.)
       + Some toolbox UI improvements
       + Converted hp-print to new UI
       + Fixed some defects in scrollprintview and devmgr
       + Added network detection to text/CLI installer
       + Toolbox internal/built-in print utility
       + Added password entry and validation to text/CLI installer
       + Fixed an issue when the ~/.hplip.conf file is not present on 1st
         run, the hp-setup run as root owns the file and doesn't allow the
         regular user to write to it.
       + Fixed defect (hp-setup -i can not setup a printer Photosmart
         c3100 which has multiple possible PPD files.)
       + Some visual updates to the toolbox
       + Fixed defect (DJ 4x0 power/battery settings not staying set)
       + Added a confirmation dialog to device remove in the toolbox
       + Linked quality and printoutmode in print settings
       + Switched [x] Enable style controls to (*) On ( ) Off style in
         print settings
       + Supply icons auto generate (removed supply PNG icons from
         data/images)
       + Fixed an issue with r_values in supplies processing
       + Added type 12 head support for PS33xx, PSC61xx, etc.
       + Fixed defect (The Print Settings of Fax device are invalid)
       + Fixed issue where L7xxx color cal wasn't showing the load paper UI
       + Fixed defect (The command "hp-setup -i" can not work normally)
       + Fixed defect (The setup process will hang up when modify the fax
         name to a name which contains more than 104 characters on setup
         UI.)
       + Changed magic.py to better handle text/plain vs. data detection
       + Added last used working directory support to hp-sendfax,
         hp-print, and hp-unload
     * HPLIP 1.7.2 (Not published as Ubuntu or Debian package)
       + Fixed defect (The fax file is printed out by the sender when use
         printer name with "-p" parameter to perform a fax job.)
       + Added CUPS fax queues to Print Settings and Print Control tabs
       + Added PQ Diag type 2, align type 12, color cal type 6, and LF
         cal type 2 for Officejet Pro L7xxx
       + Added agent types 20 and 21 for Officejet Pro L7xxx
       + Fixed defect (There is no response when click "About" in the
         "Help" menu in the toolbox window.)
       + Fixed defect (Function Commands configuration was disabled)
       + Fixed an issue where the ending banner page combo box would not
         show the proper setting if it were not 'none'
       + Fixed defect (An error occurs when select other ppd files from
         toolbox to setup)
       + Fixed defect (The command "hp-setup -i" can not work normally)
       + Fixed defect (The output of "-t" parameter is not the same as
         "--prettyprint" parameter when send a fax job using pretty
         printing for text files.)
       + Fixed defect (An error occurs when enter "#" in Fax Name field
         on "Enter Printer Information" window during setting up a
         printer.)
       + Fixed defect (Print outcomes are not full when set the "Page
         Orientation" as "Landscape" on "Print Settings" table.) [added
         "Fit to page" option in image printing section of Print Settings
         tab.]
       + Moved installer/images/xxx files from SCRIPT to DATA install in
         Makefile.am.
       + Fixed non-functioning printer control in hp-toolbox
       + Fixed an issue with the settings dialog not working [reported by
         Johannes]
       + Additional fixes to get PPD file handling working on Edgy and
         Feisty for CUPS 1.2.
       + Fixes for CUPS 1.2 and auto-generated PPD files for Feisty Fawn
         [reported by Till] (closes: LP#95489)
       + Fixed potential subscript array overflow in pcard/fat.c
         (reported by Suse).
       + Fixed an issue reported by Till with the device string returned
         by hpfax:
       + Fixed an issue in in the NoDeviceForm (missing __tr() method)
       + Fixed defect (Ubuntu Fiesty Herd 3 - ppd file w/hp-setup
         problem) [implemented change to PPD file enumeration for CUPS 1.2
         as suggested by Till] (closes: LP#95489)
       + Added banner pages to print settings (job-sheets)
       + Fixed problem with watermark angle text in print settings (utf-8
         decoding)
       + Added libusb-devel check to configure.in.
       + Added image printing settings to toolbox print settings
       + Added print adjustment settings to toolbox print settings
       + Enhanced the default button behavior in toolbox print settings
       + Removed sticky print settings from hp-print
       + hp_laserjet_p2015_series: Changed embedded-server-type from '0'
         to '1'
       + hp_laserjet_p2015_series: Changed panel-check-type from '0' to '1'
       + Fixed a traceback in hpfax: if HPLIP is not running during
         device detection (closes: LP#83936)
       + Added print job icons to indicate print job status
       + Updated some status icons
       + Fixed defect (An unexpected error occurs when enter hp-makecopies
         -d<device-uri> -m1 -n in terminal)
       + Fixed defect ("See Also:hp-colorcal" should not occur in the
         explanation for the hp-colorcal command on hplip website.)
       + Fixed defect (Refresh All button can not work on build
         hplip-1.7.1 public release.)
       + Fixed an issue in hpssd that caused history items in the ring
         buffer to slotted incorrectly
       + Added duplexer detection to the "sides" setting in the toolbox
         Print Settings (no "sides" selection if duplexer == 0)
       + Added new, more useful icons to the status list in the toolbox
       + Major toolbox (Device Manager) upgrade/redesign
       + Added printer settings tab (sets printer options in
         ~/.cups/lpoptions)
       + Removed panel tab (merged panel with status tab)
       + Redo of functions tab (new layout)
       + Redo of status tab (new icons, layout, inclusion of front panel
         display)
       + Front panel display will show device panel if available,
         otherwise most recent status text
       + Redo of supplies tab (new layout)
       + Redo of print jobs tab (now called printer control) (print
         control widget, new layout, etc)
       + hpssd will not store multiple history items with the same error
         code (last one gets replaced)
       + About box upgraded
       + cupsext extended in functionality (ppd, options, etc)
       + Removed trailing white space in IEEE 1284 model name. This will
         fix URIs that have a trailing "_" character in the model
         name. This issue crept back into the hpiod code after the libusb
         update (closes: LP#85805).
       + Fixed an issue in hp-check that caused a traceback if
         '/etc/sane.d/dll.conf' is missing
       + Added some more bug messages to hpaio.
       + Fixed a traceback in hp-levels reported on the mailing list (defect)
       + Set the device list column width in the toolbox splitter to be
         more narrow by default
       + Added the toolbox software version to the Device Manager about dialog
     * HPIJS 2.7.2
       + Fixed media type for maxdpi printmode for vip printers and its
         derivatives
       + Fixed the cause of carriage stall error in C41xx printers
       + Added support for the following new printer(s).
           * Officejet Pro L7300 series (OJProKx50)
           * Officejet Pro L7500 series (OJProKx50)
           * Officejet Pro L7600 series (OJProKx50)
           * Officejet Pro L7700 series (OJProKx50)
           * HP Officejet Pro K5300 series (OJProKx50)
           * HP Officejet Pro K5400 series (OJProKx50)
           * HP Officejet J5700 series (DJGenericVIP)
         OJProKx50 is derived from DJGenericVIP.
   * Removed patches 00_01_hplevels_fix.dpatch,
     80_hpijs_deskjet_d41xx_hangs.dpatch,
     85_hpfax_crash_when_hpssd_not_running.dpatch,
     90_hpfax_bad_lpinfo_-v_output.dpatch, merged upstream.
   * Remade patch 14_charsign_fixes.dpatch, most of it was merged upstream.
   * 61_noqt_message.dpatch: Improved error message which appears when
     HPLIP utilities are called from the menu but PyQt is not installed
     (closes: LP#86893)..
   * Modified the debian/*.desktop files so that the environment variable
     "STARTED_FROM_MENU=1" is set to make the utilities showing the
     GTK-based error message window when called from the menu and PyQt is
     not installed (closes: LP#86893).
   * Added "NoDisplay=true" to the debian/*.desktop files so that the menu
     entries for the HPLIP tools are hidden by default (closes: LP#67892).
   * Fixed the pelling of the icon file names in the debian/*.desktop files
     (closes: 88290).
   * Removed debian/hp-toolbox.desktop, it was a duplicate menu entry for the
     HP Toolbox.
------------------------------------------------------------------------

The files you can find at (hplip_1.7.3-0ubuntu1):

http://www.linux-foundation.org/~till/tmp/ubuntu/feisty/hplip/

As some of the Launchpad bugs fixed from upstream needed complexer fixes and the developers from HP did only tell that they fixed the bugs but not where they have fixed them I have packaged the complete 1.7.3. I have tested it and bugs which I could reproduce are really fixed. I also did some testing on 64-bit.

Can you put this into Feisty. Thanks.

Changed in hplip:
importance: Undecided → Medium
status: Unconfirmed → Confirmed
Revision history for this message
Till Kamppeter (till-kamppeter) wrote : CALL FOR TESTING HPLIP 1.7.3
Download full text (4.8 KiB)

CALL FOR TESTING
-----------------

Please add a comment to this bug report reporting about the results of all tests which you did and attach files if needed, for example of bad printouts (scan them), bad scans (photograph the original picture with your digital camera if neede), log files (if needed). Report also if other users have already reported here. We need as many reports as possible.

Do not file new bug reports for problems which you encounter during this test. Add them here.

Do everything what you usually do with your HP device and tell whether everything still works as well as with HPLIP 1.7.1 in Feisty.

All reports will be read by the Ubuntu Release Team, by the HPLIP developers at HP, and by me.

At first update your system to the current Feisty state:

sudo apt-get update
sudo apt-get dist-upgrade

Then download the Printing Bug Info Script from

https://wiki.ubuntu.com/PrintingBugInfoScript

execute it as described and attach its output. Run it again after the testing of HPLIP 1.7.3 and also attach its output which you get then.

Please install the packages from

http://www.linux-foundation.org/~till/tmp/ubuntu/feisty/hplip/binary/

by downloading the .deb files and installing

- hplip
- hplip-data
- hplip-doc
- hpijs

with "sudo dpkg -i <package file name> <package file name> ...".

uninstall

- hpijs-ppds
- python-qt3

with "sudo dpkg -r --force-depends hpijs-ppds python-qt3".

Now do the following steps:

1. Remove all your print queues for HP printers.

2. Go into the menus and try to call HP Toolbox (in System -> Preferences), HP Sendfax and HP Fax Address Book (in Applications -> Office). If they are not there start the menu editor (System -> Preferences -> Main Menu) and activate them. Then call the programs again and tell what happens.

3. Do "sudo apt-get install python-qt3" and repeat step 2. What happens now?

4. Call "hp-setup", either from via

sudo hp-setup

from the command line or by choosing

Device -> Setup New Device

in the HP Toolbox. Enter your password in the password dialog.

5. Follow the steps in the wizard which has appeared now to set up your print queues. Does it work? Do all devices get detected correctly? Do you get offered the correct drivers/PPD files? Do this for all your HP printers and multi-function devices. Let the field for printing a test page checked. Does the test page come out correctly?

6. In the HP Toolbox go through the tabs, are the ink/toner levels correctly displayed? Is the front panel display correctly reproduced (only devices with monochrome text LCD)? Can you clean the print heads (only inkjets)?

7 Can you set the printing options on the "Print Settings" tab? Are all options shown which you can also see in the "Properties" sub-dialog of the printing dialog of OpenOffice.org or under right-click -> "Properties" in the gnome-cups-manager (System -> Preferences -> Printing)? Does changing these options influence the printout (user who runs the Toolbox and who prints must be the same). Does printing from applications work correctly? Do your typical printing tasks.

8. Do the buttons for the functions on the first tab of the Toolbox work?

9. If your device has a scanner, doe...

Read more...

Changed in hplip:
status: Confirmed → Needs Info
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Important notes for the testing:

It is very important that you also report if everything is working for you. Only this way we can assure that the package is really free of regressions.

Subscribe to this bug report to get notified about answers to your report (if you post you will not get automatically subscribed).

Revision history for this message
Johan Kiviniemi (ion) wrote :
Download full text (4.9 KiB)

> 2. Go into the menus and try to call HP Toolbox (in System -> Preferences),
> HP Sendfax and HP Fax Address Book (in Applications -> Office). If they are
> not there start the menu editor (System -> Preferences -> Main Menu) and
> activate them. Then call the programs again and tell what happens.

They don't seem to be visible at all in Xfce.

When i start them from command line (with STARTED_FROM_MENU=yes), they open a
dialog that complains about PyQt not being installed.

After hitting OK in hp-fab's dialog, the dialog seems to hang and there's a
'hp-fab > ' command line visible in the terminal. 'STARTED_FROM_MENU=yes
/usr/bin/hp-fab </dev/null' works. I assume that /dev/null is opened as
standard input when it is started from the menu.

> 3. Do "sudo apt-get install python-qt3" and repeat step 2. What happens now?

hp-toolbox: The following error is printed to the terminal every couple of seconds,
and apport keeps opening a 'Sorry, the program "toolbox" closed unexpectedly'
window, until i kill hp-toolbox.

warning: No status available for device.
Traceback (most recent call last):
  File "/usr/lib/hplip/ui/devmgr4.py", line 443, in TimedRefresh
    self.UpdateDevice()
  File "/usr/lib/hplip/ui/devmgr4.py", line 577, in UpdateDevice
    reread_cups_printers=False)
  File "/usr/lib/hplip/base/device.py", line 1456, in queryDevice
    log.debug("r%d-kind%d-type%d" % (r_value, agent_kind, agent_type))
UnboundLocalError: local variable 'agent_kind' referenced before assignment

hp-sendfax opens a dialog that says "No devices found". I don't have a scanner
or a modem, so that is probably expected.

hp-fab opens the Fax Address Book window correctly.

> 4. Call "hp-setup"

> 5. Follow the steps in the wizard which has appeared now to set up your
> print queues.

> Does it work?

Seems to work.

> Do all devices get detected correctly?

Yes.

> Do you get offered the correct drivers/PPD files?

Yes.

> Does the test page come out correctly?

Yes.

> 6. In the HP Toolbox go through the tabs, are the ink/toner levels correctly
> displayed?

The "Functions" tab is empty when hp-toolbox is initially started. The program
keeps spewing the error message to the terminal. When i switch to another tab
and come back to "Functions", "Print documents or files" and "Scan a document
or image" are the available choices.

The "Status" tab is empty. When switching to it, the following is printed to
the terminal:

fatal error: Traceback (innermost last):
  File "/usr/lib/hplip/ui/scrollview.py", line 144, in onDeviceChange
    self.fillControls()
  File "/usr/lib/hplip/ui/scrollstatus.py", line 101, in fillControls
    for x in self.cur_device.hist:
 AttributeError: 'Device' object has no attribute 'hist'

The "Supplies" tab says "ERROR: Supplies status is not supported on this
device".

The "Tools", "Print Settings" and "Print Control" tabs look normal.

> 7 Can you set the printing options on the "Print Settings" tab?

Yes.

> Are all options shown which you can also see in the "Properties" sub-dialog
> of the printing dialog of OpenOffice.org or under right-click ->
> "Properties" in the gnome-cups-manager (System -> Preferences -> Printing)?

I don't have gn...

Read more...

Revision history for this message
Johan Kiviniemi (ion) wrote :
Revision history for this message
dwelch91 (dwelch91) wrote : Re: [Bug 98520] Re: Feisty UVF ER: New HPLIP 1.7.3 release fixes lots of bugs

I have seen these errors reported with the LJ1100 before. Unfortunately, we
don't have one here, so I am unable to reproduce and fix these easily.

-Don

On 3/29/07, Johan Kiviniemi <email address hidden> wrote:
>
>
> ** Attachment added: "ion's printingbuginfo (1.7.3)"
> http://librarian.launchpad.net/7050298/ion-printingbuginfo-1.7.3
>
> --
> Feisty UVF ER: New HPLIP 1.7.3 release fixes lots of bugs
> https://launchpad.net/bugs/98520
>

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

Johan Kiviniemi, thank you for your report.

Johan Kiviniemi is using the HP LaserJet 1100, a print-only device, on the parallel port.

For point 2: It is normal that you do not see the menu entries as they are disabled by default. Activate them with the menu editor (I hope Xubuntu has a menu editor).

I did not test to run the "STARTED_FROM_MENU=yes hp-fab" from the command line. I tested only via the menu and there everything was OK. Please try to activate the menu entries and try to use them. We can add the "< /dev/null" to the command line in the hp-fab.desktop if needed.

For point 3: Don, Raghu, can you look at this and send a patch for HPLIP 1.7.3 (and also for 1.7.1 if this is a bug in 1.7.1, too).

For point 6: Don, Raghu, can you look at this (first tab empty and error messages on console, Traceback on Status tab, supplies readout for LJ1100) and send a patch for HPLIP 1.7.3 (and also for 1.7.1 if this is a bug in 1.7.1, too).

It is possible that the LaserJet 1100 does not support supply level readout. Let's see what Don and Raghu say.

For point 7: It is OK that the toolbox shows more options, as it also shows the cUPS-specific options where most printer setup tools show only the printer-specific options.

For point 8: On your printer a scanner add-on can be installed. Therefore you have the button for scanning in the Toolbox.

For point 11 and 12: Don, Raghu, is this warning in the syslog a real problem? Why is it there?

For point 16: Johan Kiviniemi what is your opinion about HPLIP in Feisty: 1.7.1 or 1.7.3?

I did not have any problems with the Toolbox, but I have only network and USB printers. Perhaps there is a problem with parallel port access for non-printing functions. Raghu? Don?

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

Don, are these problems with the LJ1100 regressions from HPLIP 1.7.1 to 1.7.3? Or did they already occur on 1.7.1 or older?

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

Don Welch has already provided a small patch to address these issues with the HP LJ 1100 (attached). He has no LJ1100 and me not, too. So it is not guaranteed that this patch helps.

Johan Kiviniemi, try to apply it to

/usr/share/hplip/base/device.py

If nothing changes try to delete

/usr/share/hplip/base/device.pyc

and try again. Does this help? If not I will repackage HPLIP so that a corrected .pyc file gets generated.

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

Don, your patch is to update /usr/share/hplip/base/device.py from HPLIP 1.7.1 to 1.7.3. The 1.7.3 state the user already has. Do you perhaps mean that he should try to downgrade by applying the patch with "patch -R"?

This wouls help if the problems with the LJ1100 are really a regression between 1.7.1 and 1.7.3? Are they? Or not?

Johan Kiviniemi, can you revert to HPLIP 1.7.1 as I described in my last point and check whether you have still the problems with the toolbox (points 3 and 6) and with the syslog warning (point 11 and 12)? After having done so you can update to 1.7.3 again.

Revision history for this message
dwelch91 (dwelch91) wrote :

This is code new to both versions.

On 3/29/07, Till Kamppeter <email address hidden> wrote:
>
> Don, are these problems with the LJ1100 regressions from HPLIP 1.7.1 to
> 1.7.3? Or did they already occur on 1.7.1 or older?
>
> --
> Feisty UVF ER: New HPLIP 1.7.3 release fixes lots of bugs
> https://launchpad.net/bugs/98520
>

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

Don, I get

till@till-desktop:/usr/share/hplip$ sudo patch -p1 < /home/till/device-py-1_7_1-to-1_7_3.patch
Password:
patching file base/device.py
Reversed (or previously applied) patch detected! Assume -R? [n] n
Apply anyway? [n] n
Skipping patch.
3 out of 3 hunks ignored -- saving rejects to file base/device.py.rej
till@till-desktop:/usr/share/hplip$

Can it be that you have simply generated the patch the wrong way around?

Johan Kiviniemi, can you apply the patch with

sudo patch -R -p1 < /home/till/device-py-1_7_1-to-1_7_3.patch

Try in both HPLIP 1.7.1 and 1.7.3. Does it solve your problems? If yes, in both HPLIP versions?

Revision history for this message
dwelch91 (dwelch91) wrote :

Oops. I mean that I just added the code to our tip (pre-1.7.4), and then
created the patch vs. the 1.7.1 code. So, 1.7.3 doesn't have this fix. Sorry
for the confusion.

On 3/29/07, Till Kamppeter <email address hidden> wrote:
>
> Don, your patch is to update /usr/share/hplip/base/device.py from HPLIP
> 1.7.1 to 1.7.3. The 1.7.3 state the user already has. Do you perhaps
> mean that he should try to downgrade by applying the patch with "patch
> -R"?
>
> This wouls help if the problems with the LJ1100 are really a regression
> between 1.7.1 and 1.7.3? Are they? Or not?
>
> Johan Kiviniemi, can you revert to HPLIP 1.7.1 as I described in my last
> point and check whether you have still the problems with the toolbox
> (points 3 and 6) and with the syslog warning (point 11 and 12)? After
> having done so you can update to 1.7.3 again.
>
> --
> Feisty UVF ER: New HPLIP 1.7.3 release fixes lots of bugs
> https://launchpad.net/bugs/98520
>

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

Don, can you also make a patch for 1.7.3, so that Johan can also test with 1.7.3?

Don, can you also give a simple command line here for generating the .pyc file from the .py file? Thanks.

Johan, in the mean time you can test 1.7.1 without and with the patch. Does the patch solve ypur problem?

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

I have also done all the tests of HPLIP 1.7.3 and did not find any regression. Also the listed bugs which I could reproduce with HPLIP 1.7.1 are fixed now (menu/icon bugs, dynamically-created-PPDs-not-listed bug, output-of-hp/hpfax-backends bug).

Printers are

- HP LaserJet 3390 AIO (Ethernet)
- HP LaserJet 3390 AIO (USB)
- HP PSC 1210 (USB)

I have tested everything on a 32-bit box and some tests I did also on a 64-bit box, but on the 64-bit box I did not install Ubuntu/Debian packages, I used the auto-installer from the HPLIP site there.

For the tests on the 32-bit box I made new HPLIP 1.7.3 packages with Don's fix for the LJ1100 (so the fix does not seem to break anything).

printingbuginfo is attached.

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

I have uploaded new packages of HPLIP 1.7.3 to

http://www.linux-foundation.org/~till/tmp/ubuntu/feisty/hplip/binary/

now. They have Don's patch for the LaserJet 1100 applied. The files have the same names. Please download and install them with "sudo dpkg -i <file names>" as the first ones. This will replace the old packages.

Johan, can you test whether this version solves your problems?

The source packages are also replaced by this new version. They are here:

http://www.linux-foundation.org/~till/tmp/ubuntu/feisty/hplip/

The patch, adapted to HPLIP 1.7.3, is attached.

Revision history for this message
Johan Kiviniemi (ion) wrote :

Thanks for the new debs. I installed them, and all the problems i had with hp-toolbox went away.

Considering how many bugs 1.7.3 fixes, i'm definitely in favor of getting it to feisty, FWIW.

Re: the menu issue; i'm not quite sure there is a way to show items that say "NoDisplay=true". The Xfce menu editor seems to be a bit simpler than the one in Gnome. The item is visible in the correct menu after removing the NoDisplay line from the .desktop file.

Revision history for this message
Johan Kiviniemi (ion) wrote :

I also verified that items opened from the menu indeed have /dev/null opened as their standard input, so there is no problem with hp-fab.

Revision history for this message
Matthias Klose (doko) wrote :

scanning and printing on a Photosmart C5180 works

Revision history for this message
gosh (jos-plompen) wrote :

I followed the test steps.
Results are in the attachement.

HP-LIP does not recognize my printer which is connected to a Belkin Print Server at address lpd://192.168.2.253/lp1

Installing this printer with the CUPS webinterface is succesful.

Revision history for this message
gosh (jos-plompen) wrote :

sorry, forgot attachment

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

Matthias, did you use the packages which I have uploaded today (I re-packaged with a patch to solve Johan's problem). Please retest with the new packages if you are using the packages from some days ago.

Matthias, can you also test the toolbox, whether it shows everything of the printer and does not crash or hang?

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

Johan, thank you very much for your help. With your help we have also fixed an additional bug which is in both the HPLIP 1.7.1 and 1.7.3 releases.

Even if we finally decide on staying with 1.7.1, I will put Don's fix into the package. In that case I would like if you test the packages before release.

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

Gosh, thank you for your testing. What you have observed is not a regression between 1.7.1 and 1.7.3. In general HPLIP does not recognize printers which are connected to non-HP print server boxes. To make use of HPLIP with a network printer you need to use a built-in network connector in the printer or an original HP JetDirect print server box. So the behavior of HPLIP is as expected.

If you have printed with this configuration (and used the lpd://192.168.2.253/lp1 which the CUPS web interface perhaps also proposed to you) yoiu have at least tested the printer driver (HPIJS) which comes with HPLIP 1.7.3.

To do the testing of the HP Toolbox, HP Setup, scanning, and other HP tools, connect your printer to the USB or the parallel port of your computer (only for this test) and do the testing again.

Revision history for this message
Thomas Hotz (thotz-deactivatedaccount) wrote :

HP DeskJet 6840: I've successfully installed the packages and followed your steps. Everything works as expected. Testpages were correct. Toolbox information also. I'll report here if I find a bug. Thanks for uploading.

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

Thomas, thank you very much for your report. Could you also attach the output of the printingbuginfo script so that we know somewhat more about your setup? Thanks.

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) wrote :

Till,

Here are my results. Please let me know if I can provide any other information.

Aaron

Revision history for this message
Ron Melton (ron-melton) wrote :

I went through the testing up to the manual invocation of hp-setup. That worked great and the printer is now working.

The hp-toolbox is still not working (from the preferences menu) and causes a crash.

I'm including the results of the test script.

Let me know if there is additional testing to try.

Ron Melton
<email address hidden>

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) wrote :

Sorry--I think that I grabbed the wrong printerbuginfo before test file before I left. I'll resubmit that on monday..A

Revision history for this message
Thomas Hotz (thotz-deactivatedaccount) wrote :

Here is the pintingbuginfo with HPLIP 1.7.3 . The only thing is that my HP DeskJet 6840 is recognized as 6800, but this happened with _every_ HPLIP release.
I don't think there's any difference ?

Revision history for this message
Jason Fergus (leech-sisna) wrote :

This has fixed my issue of the Scanning not working on my HP PSC 1315v so that I don't have to modify the models.dat file, which actually is mentioned in the fixes in 1.7.2.

I surely hope that 1.7.3 makes it into Feisty!

I've attached my output from printingbuginfo

Revision history for this message
Johnny Levai (digistyl3) wrote :

After I installed 1.7.3, everything is working.

5. Everything is working, my printer is detected, the correct driver is recommended, printing a test page and scanning are succesfull.
6. Inc levels are ok, cleaning cartidges works.
7. If i modify options here, it has no effect on other apps, only on the HPLIP Toolbox. If I want to set options globally, I have to set them via the CUPS Web Interface, or in the KDE System Settings.
8. Yes they do.
9. Yes, scanning works, tried it in Kooka and Digikam.

Everything is smooth, except the settings problem i mentioned in point 7, and a little UI bug here: http://librarian.launchpad.net/6995846/snapshot7.png (my resolution is 1024x768, I'm using the default Kubuntu Style).

Revision history for this message
Johnny Levai (digistyl3) wrote :

And here's the printbuginfo for 1.7.3.

Revision history for this message
Dave White (db-white) wrote :

Printer HP960C -

printerbuginfo missing stderr complaint that "No packages found matching libgnomeprint2.2-0."

Step 2. HPLIP fails to start. Get bouncing icon for 3 minutes. Is there a way to kill it? Rebooted. No HP FAX/Scan capability so skipped to step 3.

Step 3. HP Device Manager now starts, with a dialog to setup a device. Exited out.

Step 4. Used hp-setup.

Step 5. Wizard takes me through the install. Detects the printer. Recommends Foomatic/hpijs. Test page has banding in graphic. Bottom of bounding box (line below hp logo) is clipped, probably because it defaults to A4 paper. (Couldn't you use my timezone to guess I'd want letter?)

Step 6. Tabs show ink level. Clean print heads, but banding appears in cleaning printout. (Banding was not present with Windows drivers.)

Step 7. Page size defaults to A4. Print control tab display is clipped, in middle of "The printer is currently NOT SET AS DEFAULT", approximately mid-"e" of "The". OpenOffice subdialog is a subset of controls offered by HPLIP.

Current toolbox settings do NOT appear in OpenOffice Print dialog, even though OO started after changes were made. Requested Landscape, 2 sheets/page in toolbox. OO printed as 2 individual portraits.

Step 8. With Landscape, 2 up, 2 thin borders, mirror print, text file prints but text and right edge of box are in unprintable region on right side of page. [I was expecting a "booklet" style printout, but that didn't happen.]

Step 9 & 10 skipped. No HP Fax/Scan capability

Step 11 - No HPLIP printer device, used HP960 parport. CUPS recommended gutenprint. Set it to crop, printed test page. No banding present!!! Used HPLIP to print test page. It requested me to load plain paper even though printer still had paper. HPLIP test page prints black and white low-res graphic, despite CUPS indicationg RGB or CMYK color modes. OpenOffice defaults to A4 paper despite changing CUPS to Letter.

Step 12 - Used KDE Printer Wizard. Horizontal banding on test page with hpijs. Banding and clipping w cdj970 driver, though now banding runs parallel to each edge of color wheel. Right edge and bottom of bounding box missing.

Again, HPLIP wants paper loaded. If I right click to bring up the HP960C printer menu in the KDE Printing Manager, then click on Printer Tools, the flyout says "EPSON inkjet".

Step 13 - Don't know if these are new or old bugs. Didn't have this recipe to follow previously.

Step 14 - Different driver recommended, different problems. Is this enough to keep you busy?

FYI - CUPS is detecting Canon and EPSON printers on the parallel port, despite the fact that there's only the HP960C on the port.

Revision history for this message
Dave White (db-white) wrote :
Revision history for this message
Dave White (db-white) wrote :
Revision history for this message
Dave White (db-white) wrote :

Next set of files use the following naming convention:
installer, driver, source of test page

FYI - The scanned images appear less vivid than the printouts.

Revision history for this message
Dave White (db-white) wrote :

Sorry, prior file is HPLIP, foomatic + hpijs, HPLIP

This one is HPLIP, foomatic + hpijs, clean button

Revision history for this message
Dave White (db-white) wrote :

HPLIP, foomatic + hpijs, print text via HPLIP

Requested landscape, 2 sheets/page, mirror print, 2 thin borders

Revision history for this message
Dave White (db-white) wrote :

CUPS, gutenprint, CUPS test page. No banding

Revision history for this message
Dave White (db-white) wrote :

CUPS, gutenprint, HPLIP

I hadn't changed resolution in CUPS (prior printout is 300x300), but for some reason HPLIP is printing the test page at 100x100 in black and white.

Revision history for this message
Dave White (db-white) wrote :

KDE Print Manager, foomatic + hpijs, KDE Print Manager

Revision history for this message
Dave White (db-white) wrote :

KDE, foomatic + cdj970, KDE Print Manager

Apparently 600x600 is default DPI. Bounding box clipped on right and bottom, octagonal banding in color wheel.

Revision history for this message
Johnny Levai (digistyl3) wrote :

I forgot to mention, the Toolbox did not start without python-qt3:
"nrg88@nrg88-desktop:~/Desktop/hplip2$ hp-toolbox
error: PyQt not installed. GUI not available. Exiting.
error: PyQt/Qt initialization error. Please check install of PyQt/Qt and try again."

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

Thomas Hotz, Thank you very much for your testing.

That the HP DeskJet 6840 is recognized as 6800 is normal, as all DeskJet 68xx are the same hardware, including the model name info they return on the auto-detection requests.

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

Aaron, thank you for your testing. Here are some remarks about the problems you reported:

6. Photosmart c6100 series

The two printed pages look like a bug in the cleaning procedure of this class of printers. If you (or one of your co-eorkers at HP) have already a solution for 1.7.4, please post a patch here, so that we can fix that in Feisty. Please also check whether this problem was already there in HPLIP 1.7.1.

6. Deskjet D4100 series

You tell that this problem is fixed for 1.7.4. Please provide a patch so that we can have fixed in Feisty. And tell also here if this was already a problem in 1.7.1.

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

Ron Melton, thank you for testing.

Do you get the crash also with 1.7.1?

Can you reproduce the crash?

If a crash reporting assistent pops up, please follow the instructions so that the crash gets reported to us. Do this with BOTH 1.7.3 and 1.7.1. Report the bug numbers of the crash reports here, preceeded by the word "bug" (ex. "HPLIP 1.7.1: bug 1, HPLIP 1.7.3: bug 12345") so that the reports get automatically linked to this bug. This helps us to investigate the problem and the HP team to post a patch for Feisty.

Please do also the tests not involving the toolbox, as scanning, installing the printer by starting "sudo hp-setup" on the command line and using the other printer setup tools.

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

Jason Fergus, thank you very much for your testing. Your scanning problem was also reported by other people, not only Ubuntu users.

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

Johnny Levai, thank you very much for your report.

For point 7 note that the HP Toolbox considers your settings as personal settings and saves them in ~/.cups/lpoptions (please check and report here whether they really appear there, and when: directly when setting them? When switching to another tab in the Toolbox? When closing the Toolbox?). It does not save them for system-wide use in /etc/cups/ppd/<your printer>.ppd. HP Toolbox is considered a user tool, not an admin tool.

To test printing with the changed options, run the apps from the same user account as you are running HP Toolbox from.

If the options are correctly set in your ~/.cups/lpoptions file but applications do not obey them, file a bug against the applications, as they do not use the CUPS API correctly then. Perhaps some applications save printer options also per-document and not per-user (you can see this if you save your document, the "Save" function gets grayed out then, you change printing options and print and after that the "Save" button does not stay grayed out).

The cut-off line in the toolbox is a purely cosmetic problem. Nothing is lost, there is no more line. So all functionality of the Toolbox is conserved. The bug can be in HPLIP or Python Qt and the HP developers are aware of it.

Don, if you have a patch to fix this problem, I am very grateful if you post it here.

None of these two problems are regressions from HPLIP 1.7.1.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :
Download full text (5.8 KiB)

Dave White, thank you very much for your long report.

Did you download my packages AFTER 2007-03-30 13:26:10 CEST? If you are not sure, re-download and install them again, as I have replaced them by new packages at that time. My new version contains a fix concerning parallel printers, so it can be helpful on your problems.

> printerbuginfo missing stderr complaint that "No packages found matching libgnomeprint2.2-0."

This is no problem. The script checks the presence and version of a certain amount of packages. It perhaps simply lacks an update for a recent change in Feisty. For our test this is not relevant, as it is not affected by libgnomeprint2.

> Step 2. HPLIP fails to start. Get bouncing icon for 3 minutes. Is there a way to kill it? Rebooted.
> No HP FAX/Scan capability so skipped to step 3.

Sorry, I did not say that test step 2 does not apply to Kubuntu. The situation of missing Python Qt in Kubuntu does not exist. The fallback which I wanted to trigger in this step is irrelevant for Kubuntu. So ignore this problem. This is neither a bug in the HPLIP packaging nor a regression in HPLIP 1.7.3, it is a bug in my testing scheme presented here.

> Test page has banding in graphic.
[...]
> CUPS recommended gutenprint. Set it to crop, printed test page. No banding present!!!

As the banding problem occurs only with HPLIP and not with Gutenprint this seems to be a bug in the HPIJS driver. Did this problem already occur before you updated to HPLIP 1.7.3? Does it persist if you downgrade to 1.7.1 (instructions in my testing step 15).

Don, Raghu, Aaron, can you check whether the HPIJS driver of HPLIP 1.7.3 works correctly with the HP DeskJet 960C device class?

> Bottom of bounding box (line below hp logo) is clipped,
> probably because it defaults to A4 paper. (Couldn't you use my timezone to guess I'd want
> letter?)

Check the paper size default setting in ~/.cups/lpoptions and in /etc/cups/ppd/<your printer>.ppd. How is it set?

Don, Raghu, Aaron, how do you set the default paper size when you create a queue with hp-setup. I observed in older HPLIP versions that I always got Letter and I need A4 as default in Europe. The best solution would be to check /etc/papersize and/or the internationalization setting (command "locale", "LC_..." environment variables instead of using a static default setting.

> Print control tab display is clipped, in middle of "The printer is currently NOT SET AS DEFAULT", > approximately mid-"e" of "The".

This is a purely cosmetic problem, see my answer to Johnny Levai in my previous posting.

> OpenOffice subdialog is a subset of controls offered by HPLIP.

This is correct. OpenOffice.org only shows the printer-specific options (defined in /etc/cups/ppd/<your printer>.ppd) and not the options provided by CUPS (N-up, Brightness, Gamma, ...). This is a missing feature of OpenOffice.org. File a feature request on the OpenOffice.org web site.

> Current toolbox settings do NOT appear in OpenOffice Print dialog, even though OO started after > changes were made. Requested Landscape, 2 sheets/page in toolbox. OO printed as 2 individual > portraits.

OpenOffice.org seems to save printer options per-document. So ...

Read more...

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

Johnny Levai, it is correct that the HP Toolbox does not work without python-qt3. The step 2 of my test program should show whether the user gets a decent error message now, which tells him to install python-qt3 if he wants to use the Toolbox, and according to all testers including you this is the case now.

Revision history for this message
dwelch91 (dwelch91) wrote :
Download full text (6.4 KiB)

As for the A4 vs. Letter, hp-setup installs the printer using whatever
defaults are in the PPD and/or are supplied by CUPS. HPLIP does not alter
any settings during adding a printer. As you suggested previously, I may
change this in the future.

On 4/1/07, Till Kamppeter <email address hidden> wrote:
>
> Dave White, thank you very much for your long report.
>
> Did you download my packages AFTER 2007-03-30 13:26:10 CEST? If you are
> not sure, re-download and install them again, as I have replaced them by
> new packages at that time. My new version contains a fix concerning
> parallel printers, so it can be helpful on your problems.
>
> > printerbuginfo missing stderr complaint that "No packages found
> matching libgnomeprint2.2-0."
>
> This is no problem. The script checks the presence and version of a
> certain amount of packages. It perhaps simply lacks an update for a
> recent change in Feisty. For our test this is not relevant, as it is not
> affected by libgnomeprint2.
>
> > Step 2. HPLIP fails to start. Get bouncing icon for 3 minutes. Is there
> a way to kill it? Rebooted.
> > No HP FAX/Scan capability so skipped to step 3.
>
> Sorry, I did not say that test step 2 does not apply to Kubuntu. The
> situation of missing Python Qt in Kubuntu does not exist. The fallback
> which I wanted to trigger in this step is irrelevant for Kubuntu. So
> ignore this problem. This is neither a bug in the HPLIP packaging nor a
> regression in HPLIP 1.7.3, it is a bug in my testing scheme presented
> here.
>
> > Test page has banding in graphic.
> [...]
> > CUPS recommended gutenprint. Set it to crop, printed test page. No
> banding present!!!
>
> As the banding problem occurs only with HPLIP and not with Gutenprint
> this seems to be a bug in the HPIJS driver. Did this problem already
> occur before you updated to HPLIP 1.7.3? Does it persist if you
> downgrade to 1.7.1 (instructions in my testing step 15).
>
> Don, Raghu, Aaron, can you check whether the HPIJS driver of HPLIP 1.7.3
> works correctly with the HP DeskJet 960C device class?
>
> > Bottom of bounding box (line below hp logo) is clipped,
> > probably because it defaults to A4 paper. (Couldn't you use my timezone
> to guess I'd want
> > letter?)
>
> Check the paper size default setting in ~/.cups/lpoptions and in
> /etc/cups/ppd/<your printer>.ppd. How is it set?
>
> Don, Raghu, Aaron, how do you set the default paper size when you create
> a queue with hp-setup. I observed in older HPLIP versions that I always
> got Letter and I need A4 as default in Europe. The best solution would
> be to check /etc/papersize and/or the internationalization setting
> (command "locale", "LC_..." environment variables instead of using a
> static default setting.
>
> > Print control tab display is clipped, in middle of "The printer is
> currently NOT SET AS DEFAULT", > approximately mid-"e" of "The".
>
> This is a purely cosmetic problem, see my answer to Johnny Levai in my
> previous posting.
>
> > OpenOffice subdialog is a subset of controls offered by HPLIP.
>
> This is correct. OpenOffice.org only shows the printer-specific options
> (defined in /etc/cups/ppd/<your printer>.ppd) and not the options
> ...

Read more...

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

"Leech" on the Ubuntu Forum has also posted a positive report:

http://www.ubuntuforums.org/showthread.php?p=2381293#post2381293

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

Thanks to all of you for your testing.

Here is a summary of the results so far, but do not think testing time is over. If you still want to test, your report is welcome.

Up to now there are test reports of 11 persons, 5 reported no bug, 3 reported bugs which are for sure no regression or for whose bugs I have already fixes, and for 3 persons I need additional information to exclude for sure whether their issues are no regressions or there are available fixes for their problems.

Here are the bugs where additional information is needed:

Aaron's report:
---------------

Don, please provide a patch for the issue with the traceback when HPLIP is not able to communicate with the Deskjet D4100, as you have fixed it already for 1.7.4.

Don, Raghu, Aaron, please also check the issue with the PhotoSmart C6100 printing two pages when trying to clean heads. If you cannot provide a fix, at least tell us whether this is a regression from 1.7.1 or not.

Ron Melton's report:
--------------------

He reported that the Toolbox crashed for him. Here we need more info and also a test whether the Toolbox of 1.7.1 works for him. Ron, can you please follow the instruction I have given to you in an earlier posting here. Thanks.

Dave White's report:
--------------------

Only problem still lacking information is the banding on printed images on the DeskJet 960C on the parallel port. Don, Aaron, Raghu, please check whether there is a bug with the HPIJS part for the device class to which the DeskJet 960C belongs. Dave, please check whether this problem is a regression from HPLIP 1.7.1 or whether 1.7.1 exposes the same behavior.

For now the results look well: For 8 of the 11 users there are no regressions for sure and they will have perfectly working printing with a Feisty with HPLIP 1.7.3. For three users we do not know exactly whether their problems are regressions. We need more information from them or the confirmation from HP that they are not regressions (or better patches from HP).

Revision history for this message
dwelch91 (dwelch91) wrote :

On 4/1/07, Till Kamppeter <email address hidden> wrote:
>
> Thanks to all of you for your testing.
>
> Here is a summary of the results so far, but do not think testing time
> is over. If you still want to test, your report is welcome.
>
> Up to now there are test reports of 11 persons, 5 reported no bug, 3
> reported bugs which are for sure no regression or for whose bugs I have
> already fixes, and for 3 persons I need additional information to
> exclude for sure whether their issues are no regressions or there are
> available fixes for their problems.
>
> Here are the bugs where additional information is needed:
>
> Aaron's report:
> ---------------
>
> Don, please provide a patch for the issue with the traceback when HPLIP
> is not able to communicate with the Deskjet D4100, as you have fixed it
> already for 1.7.4.

The change in 1.7.4 is merely some defensive coding to keep the exception
from causing a traceback. The root cause of why I/O failed is not known. If
you still want this, I can provide a patch on Monday.

Don, Raghu, Aaron, please also check the issue with the PhotoSmart C6100
> printing two pages when trying to clean heads. If you cannot provide a
> fix, at least tell us whether this is a regression from 1.7.1 or not.

No changes were made in this code since 1.7.1, so I believe that this issue
was present in 1.7.1.

[snip]
>

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

Don, thanks for your comments on Aaron's report.

Don, please post the patch Deskjet D4100 issue. This will prevent us from further bug reports.

Update of the results:

9 (from 11) people have for sure no regressions, 2 issues are still under investigation.

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

Dave White, can you have a look into bug 98920? Here another user has printout quality issues. Can you apply the fix which Don has posted there and report here whether it helps to fix your banding problem. Thanks.

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

Dave White, do a print head alignment (from the hp-toolbox) before and after the fix posted in bug 98920. When do you get your print quality improved?

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

Ron Melton, can you check whether you have a file .hplip.conf in your home directory ("ls -la ~/.hplip.conf")? If this file is owned by root, do

sudo rm ~/.hplip.conf

to delete the file. Then start testing again from step 3 of my testing scheme. If this works for you, HPLIP 1.7.3 fixes this problem for you (known bug of HPLIP 1.7.1).

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

I see that Ron Melton had the HP Toolbox crash problem already with 1.7.1, he reported it in bug 99192. So this is at least not a regression.

So the only thing left which can be a regression is Dave White's banding on the parallel HP DeskJet 960.

Statistics: 10 of 11 testers have for sure no regressions.

Revision history for this message
Greg Aumann (greg-aumann) wrote :
Download full text (3.8 KiB)

> by downloading the .deb files and installing

> - hplip
> - hplip-data
> - hplip-doc
> - hpijs

should I also install hpijs_ppds? I didn't install it. When I do the uninstall it complained that there was no hpijs-ppd package.

> 2. Go into the menus and try to call HP Toolbox (in System -> Preferences), HP Sendfax and HP Fax Address Book (in Applications -> Office). If they are not there start the menu editor (System -> Preferences -> Main Menu) and activate them. Then call the programs again and tell what happens.

can't get these to show up in the menus. Hp-toolbox is checked in the menu editor.

when I start hp-toolbox, hp-sendfax and hp-fab from the commandline it complains about not having pyqt3 present.

> 3. Do "sudo apt-get install python-qt3" and repeat step 2. What happens now?
they run ok from the commandline. So previous crash is fixed.

> 5. Follow the steps in the wizard which has appeared now to set up your print queues. Does it work? Do all devices get detected correctly? Do you get offered the correct drivers/PPD files? Do this for all your HP printers and multi-function devices. Let the field for printing a test page checked. Does the test page come out correctly?
printer is correctly detected. get offered a foomatic ppd and a postscript driver which has recommended in the name but the ppd driver is selected when the dialog opens. Chose the recommended driver.
At install time the test page comes out correctly except that it extends a little too far to the right and the right border goes over the edge of the page.

> 6. In the HP Toolbox go through the tabs, are the ink/toner levels correctly displayed? Is the front panel display correctly reproduced (only devices with monochrome text LCD)? Can you clean the print heads (only inkjets)?
toner supply is marked as good which should be correct as it is new. But the bar graph is empty.

> 7 Can you set the printing options on the "Print Settings" tab? Are all options shown which you can also see in the "Properties" sub-dialog of the printing dialog of OpenOffice.org or under right-click -> "Properties" in the gnome-cups-manager (System -> Preferences -> Printing)? Does changing these options influence the printout (user who runs the Toolbox and who prints must be the same). Does printing from applications work correctly? Do your typical printing tasks.
hp-toolbox > Print Settings > General > Media Size was Letter. It didn't pick up that I had A4 paper loaded in the printer. It took several attempts at changing it before the change took.

> 8. Do the buttons for the functions on the first tab of the Toolbox work?
Printing button sort of works. Tried to print a one line text file. Printer processed for a while and flashed the orange warning light indicating 'continuable error'. After pressing the go button (needed to hold it down for about a second) the page came out and was correct.
If I try to print a test page from System > Administration > Printing > Properties > Print Test Page I get the same continuable error and it comes out after pressing the go button. Sometimes it is several centimetres too far up the page and so the top is clipped.
I also tried printing a five page do...

Read more...

Revision history for this message
Greg Aumann (greg-aumann) wrote :

second attachment

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

Greg Aumann, thank you for your test report.

First thing to say about your report is that nothing of what you reported is a regression on the change from HPLIP 1.7.1 to 1.7.3. The printing issue with the P2015 you reported already for HPLIP 1.7.1 in bug 99316 and I have already informed the upstream developers about the problem. The disappearing of the menu items for HPLIP has nothing to do with HPLIP 1.7.1 or 1.7.3. It is an intended change of our packaging to fix bug 67892, bug 86893, and bug 88290. We do not show the hp-toolbox menu entry br default because python-qt3 is not installed by default (at least not for Ubuntu and Xubuntu).

So for the statistics we are now at 12 reports where at least 11 do not contain anything which can be a regression on the update from HPLIP 1.7.1 to 1.7.3.

Greg, for your printing problem, try the following two tests:

1. Try the PostScript driver instead of the Foomatc/HPIJS. If this works the problem is in HPIJS

2. Do

sudo /etc/init.d/hplip stop
sudo modprobe -r usblp
sudo modprobe usblp
lpinfo -v

You get something like

direct usb://HP/LaserJet%20P2015

now start

gnome-cups-add

and add a print queue. Under the auto-detected entries choose the one which contains your printer's model name (and nowhere HPLIP). If this print queue works correctly, the bug is in the communication between HPLIP and the printer.

Don, Raghu, Aaron, can you check the problem with the empty toner bar Greg is reporting in step 6?

Greg, the problem with the paper size in hp-setup is known and was there already in 1.7.1. It is simply the case that hp-setup does not set the papaer size at all. It simply stays with the default setting of the PPD file. Note also that option settings done in the HP Toolbox affect only your account and are not system-wide.

Revision history for this message
Greg Aumann (greg-aumann) wrote :

> 1. Try the PostScript driver instead of the Foomatc/HPIJS. If this works the problem is in HPIJS

actually I have been using the postscript driver not the foomatic/hpijs one. Anyway this time I tried the hpijs one and that is working much better. The hplip test page is the correct size and better positioned on the page. The openoffice file, simple text file and the ubuntu test page all print without problems.

> 2. Do ...

I get direct usb://HP/LaserJet%20P2015%20Series

When I start gnome-cups-add I have the choice of two drivers: Postscript (recommended) and hpijs. Neither of them contain HPLIP. The default is Postscript (recommended). The hpijs driver works and the Postscript (recommended) doesn't.

One odd thing that I have noticed is if I choose System > Administration > Printing and right click on the printer queue and choose properties it takes about thirty seconds to respond. During that time the CPU usage goes to 100% and if I use top I can see that the CPU is being used by cupsd, gnome-cups-manager and foomatic.

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

Greg, does the PostScript driver work better when you set up the printer without HPLIP as I described under 2.? Or do you have the same problems?

Revision history for this message
Greg Aumann (greg-aumann) wrote :

> does the PostScript driver work better when you set up the printer without HPLIP as I described under 2.? Or do you have the same problems?

exactly the same problem.

Revision history for this message
dwelch91 (dwelch91) wrote :

patch attached

On 4/1/07, Till Kamppeter <email address hidden> wrote:
>
> Don, thanks for your comments on Aaron's report.
>
> Don, please post the patch Deskjet D4100 issue. This will prevent us
> from further bug reports.
>
> Update of the results:
>
> 9 (from 11) people have for sure no regressions, 2 issues are still
> under investigation.
>
> --
> Feisty UVF ER: New HPLIP 1.7.3 release fixes lots of bugs
> https://launchpad.net/bugs/98520
>

Revision history for this message
Tollef Fog Heen (tfheen) wrote :

I'm happy with the regression testing; UVFe approved.

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

Tollef Fog Heen approved the upload of HPLIP 1.7.3 into Feisty.

Thanks to all of you for doing the test.

Thanks also to the HPLIP upstream developer team at HP for quickly fixing the remaining issues.

This way Feisty will get a great distro for all users of HP's printers and multi-function devices.

Dave White, please stay tuned, Raghu is working on a fix for your issue with the HP DeskJet 960C.

Changed in hplip:
status: Needs Info → In Progress
Changed in hplip:
status: In Progress → Fix Committed
Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) wrote :

Dave,

If you change the print setting in cups: (ie do not use the toolbox to set the print quality)

http://localhost:631 > printers > set printer options > Resolution, Quality, Ink Type, Media Type > 1200 dpi, photo

then click "Set Printer Options".

and try and printing your image again and let me know the results.

Aaron

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

Now I have repackaged HPLIP 1.7.3 for release in Feisty. It contains all patches which I got from HP to fix the issues reported here and also fixes bug 98920. In addition, it corrects wrong ownerships of the .hplip.conf files in the user's home directories which caused the hp-toolbox not to start.

Only remaining problems are the banding on the HP DeskJet 960C and the pages being printed when trying to clean heads on the PhotoSmart C6100.

The packages are available under the same name as the previous package on

http://www.linux-foundation.org/~till/tmp/ubuntu/feisty/hplip/binary/

and their sources on

http://www.linux-foundation.org/~till/tmp/ubuntu/feisty/hplip/

To install them proceed again as described in my testing program in the beginning of this thread, or wait for this version hitting the mirrors tomorrow.

Raghu, if you supply your patch to fix the banding problem today or tomorrow by 10 AM Western European Summer Time (GMT+1), I will put out an HPLIP_1.7.3-0ubuntu2 containing this patch.

Don, Raghu, Aaron, the same I will do with patches fixing any of the other open problems.

Changed in hplip:
status: Fix Committed → Fix Released
Revision history for this message
Dave White (db-white) wrote :

Applied updates, rebooted, installed latest hplip packages. Copied form10align.py into /ui directory. Removed queue. ~/.cups/lpoptions contained nothing but "DEST HP960C mirror=true". Removed the lpoptions file anyway. /etc/cups/ppd directory was empty. /etc/papersize was set to a4. (Who's responsible for initializing this? This seems to be the source of my problems.) Manually changed to letter. Used HPLIPS to install printer, took the recommended printer.

Aligned via the toolbox. [Printer had been aligned in Windows when cartridges installed. Shouldn't have needed alignment, but did it per request.]
ALIGNMENT PRINTOUT HAS BANDING in Magenta pattern (roughly the 2nd quarter from the bottom). This banding also appears in composite grey pattern, which is built with Magenta.

Used CUPS to change to 1200 DPI, Photo and reprinted HPLIPS Test page. NO BANDING in photo!
Used HPLIPS to change back to Controlled by Printout Mode, Normal (auto detect paper type), and reprinted HPLIPS Test page. BANDING in photo!

Retried 2 up, reverse print. STILL runs off page. (KDE Print Manager and HPLIPS both indicate Letter sized paper.)

For what it's worth, OpenOffice seems to maintain its own printer settings. Switching the toolbox to Landscape, then starting OO with a blank page, bring up its printer settings and it indicates Portrait. Additionally, if using the HPLIPS driver, there's no option for CUPS to change the orientation.

I'll downgrade to 1.7.1 to see if the problems are still there, but it's not going to happen tonight. I'm thoroughly impressed by the responsiveness of your support! I don't have enough cycles to keep up with you guys!

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

Dave, thank you for the tests. After I have asked you for doing them Raghu from HP told me that there is a bug in the HPIJS driver and he is working on fixing it. The bug was already there in HPLIP 1.7.1, so no downgrading is required. The bug is not a problem of the alignment.

Revision history for this message
Ron Melton (ron-melton) wrote :

I've carried out the changes / tests as requested by Till. Details are in the attached file. Overall, the problem was resolved by deleting the old conf file.

I have not gotten the gnome-cups-manager to successfully set up the printer. HP-Tools and CUPS web interface are working great as long as I select the ppd file I downloaded from the HP Linux Printing web site and not the one included in the package.

Again, see the attached file for details.

Revision history for this message
Dave White (db-white) wrote :

Till -
I ran low on black ink and replaced the cartridge, which triggered an automatic re-calibration (while the printer was under the control of the Windows personality of my system). The banding during alignment was still present. I took it through all 3 cleaning steps and the magenta still had a weak stripe through it.

Toolbox indicates plenty of color ink, but the printer gives me a :-( at the color cartridge. I don't know if the 78+ is incompatible with my 960C, or it's just defective.

Sorry for the false alarm on the calibration banding. Thanks for keeping me posted!

To post a comment you must log in.