Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 565444 - =app-text/evince-3.16.1 (=net-print/cups-2.0.3 with =net-print/hplip-3.14.10) fails to print PDF document, version 1.6
Summary: =app-text/evince-3.16.1 (=net-print/cups-2.0.3 with =net-print/hplip-3.14.10)...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-11 07:38 UTC by Sergey S. Starikoff
Modified: 2018-10-08 07:35 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey S. Starikoff 2015-11-11 07:38:07 UTC
I use HP LaserJet 4350dtnsl network printer and =app-text/evince-3.16.1 as pdf-viewer.
Last week I was very unpleased finding it unable to print the PDF document, version 1.6.

The issued (example) file could be downloaded from https://yadi.sk/d/P71LYCwB5HuoC
$ file instruktsiya-k-pylesosu-Samsung-SC6520-SC6530-SC6532-SC6533-SC6540-SC6560-SC6570.PDF 
instruktsiya-k-pylesosu-Samsung-SC6520-SC6530-SC6532-SC6533-SC6540-SC6560-SC6570.PDF: PDF document, version 1.6
$ md5sum instruktsiya-k-pylesosu-Samsung-SC6520-SC6530-SC6532-SC6533-SC6540-SC6560-SC6570.PDF 
b95b938f97c519811ac39bbf2a4cfc1a  instruktsiya-k-pylesosu-Samsung-SC6520-SC6530-SC6532-SC6533-SC6540-SC6560-SC6570.PDF
$ sha256sum instruktsiya-k-pylesosu-Samsung-SC6520-SC6530-SC6532-SC6533-SC6540-SC6560-SC6570.PDF 
297e1bd708adc1774af98aba4b5f4886e2c32d5cb71b74f91cb6fd849cd19b5f  instruktsiya-k-pylesosu-Samsung-SC6520-SC6530-SC6532-SC6533-SC6540-SC6560-SC6570.PDF

First pages were printed successfully, although with significant delay.
On ninth page I've cancelled job.
Sending to print ninth page separately succeed after a long time.
Sending to print tenth page failed (I've cancelled job after hour of processing).

Printing pages, imported in GIMP was quick and succeed.
Comment 1 Pacho Ramos gentoo-dev 2015-11-11 15:00:24 UTC
It prints ok for me... but I am using hplip-3.15.9, could you try with that version?
Comment 2 Sergey S. Starikoff 2015-11-13 06:50:12 UTC
(In reply to Pacho Ramos from comment #1)
> It prints ok for me... but I am using hplip-3.15.9, could you try with that
> version?

Using network (Ethernet-connected) printer? The same model?

Trying to print tenth page with ~arch net-print/hplip showed similiar result: job stayed in status «processing since
Fri Nov 13 09:24:10 2015 "Connected to printer"» without any actions.
At 9:41 I've cancelled it.

$ equery u net-print/cups
…
 * Found these USE flags for net-print/cups-2.0.3:
 U I
 + + X                        : Add support for X11
 + + abi_x86_32               : 32-bit (x86) libraries
 + + acl                      : Add support for Access Control Lists
 + + dbus                     : Enable dbus support for anything that needs it (gpsd, gnomemeeting, etc)
 - - debug                    : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful
                                backtraces see https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
 - - java                     : Add support for the Java interpeter in the web server CGIs. 
 - - kerberos                 : Add kerberos support
 - - linguas_ca               : Catalan locale
 - - linguas_cs               : Czech locale
 - - linguas_de               : German locale
 - - linguas_es               : Spanish locale
 - - linguas_fr               : French locale
 - - linguas_it               : Italian locale
 - - linguas_ja               : Japanese locale
 - - linguas_pt_BR            : Portuguese locale for Brasil
 + + linguas_ru               : Russian locale
 - - lprng-compat             : Do not install lp... binaries so cups and lprng can coexist. 
 + + pam                      : Add support for PAM (Pluggable Authentication Modules) - DANGEROUS to arbitrarily flip
 + + python                   : Add support for the Python interpeter in the web server CGIs. 
 + + python_targets_python2_7 : Build with Python 2.7
 + + ssl                      : Add support for Secure Socket Layer connections
 - - static-libs              : Build static versions of dynamic libraries as well
 - - systemd                  : Enable use of systemd-specific libraries and features like socket activation or session tracking
 + + threads                  : Add threads support for various packages. Usually pthreads
 - - usb                      : Add USB support to applications that have optional USB support (e.g. cups)
 - - xinetd                   : Add support for the xinetd super-server
 - - zeroconf                 : Support for DNS Service Discovery (DNS-SD)

$ equery u net-print/hplip
…
 * Found these USE flags for net-print/hplip-3.15.9:
 U I
 + + X                        : Enables scanner GUI dependencies with USE="scanner" where media-gfx/xsane is preferred over
                                media-gfx/sane-frontends
 - - doc                      : Build documentation
 - - fax                      : Enable fax on multifunction devices which support it
 + + hpcups                   : Build the hpcups driver for cups (by HP)
 - - hpijs                    : Build the IJS driver for cups (Foomatic)
 - - kde                      : Enables kde-misc/skanlite as scanner GUI with USE="scanner X"
 - - libnotify                : Enables desktop notifications
 - - libusb0                  : Depend on virtual/libusb:0. Some old printers do not work with virtual/libusb:1
 - - minimal                  : Only build internal hpijs/hpcups driver (not recommended at all, make sure you know what you are
                                doing)
 - - parport                  : Enable parallel port for devices which require it
 - - policykit                : Enable PolicyKit authentication support
 + + python_targets_python2_7 : Build with Python 2.7
 - - qt4                      : Enable graphical interface using Qt 4
 - - scanner                  : Enable scanner on multifunction devices which support it
 - - snmp                     : Add support for net-analyzer/net-snmp which enables this driver to work over networks (both for
                                server and client)
 - - static-ppds              : Use statically-generated PPDs instead of Dynamic PPDs. Although this is deprecated some printers
                                may still need it to work properly. Use this flag if hp-setup fails to find/create a valid PPD file


P.S. One more strange detail: yesterday my first attemp to install =net-print/hplip-3.15.9 failed at src_install() phase (linking error).
Next attemp (just emerge -1 net-print/hplip) succeed.
Comment 3 Pacho Ramos gentoo-dev 2015-12-12 14:39:18 UTC
This looks to me more like a driver problem
Comment 4 Pacho Ramos gentoo-dev 2016-06-25 07:17:46 UTC
Please try with a fully updated system
Comment 5 Sergey S. Starikoff 2016-06-28 12:47:08 UTC
Issue still present:

# equery u app-text/evince
 * Found these USE flags for app-text/evince-3.18.2:
 U I
 - - debug         : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see
                     https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
 + + djvu          : Support DjVu, a PDF-like document format esp. suited for scanned documents
 + + dvi           : Enable the built-in DVI viewer
 - - gnome         : Add GNOME support
 - - gnome-keyring : Enable support for storing passwords via gnome-keyring
 - - gstreamer     : Add support for media-libs/gstreamer (Streaming media)
 + + introspection : Add support for GObject based introspection
 - - nautilus      : Enable property page extension in gnome-base/nautilus
 - - nsplugin      : Build plugin for browsers supporting the Netscape plugin architecture (that is almost any modern browser)
 + + postscript    : Enable support for the PostScript language (often with ghostscript-gpl or libspectre)
 + + t1lib         : Enable the Type-1 fonts for the built-in DVI viewer (media-libs/t1lib)
 + + tiff          : Add support for the TIFF image format
 - - xps           : Enable XPS viewer using app-text/libgxps

# equery u net-print/hplip
 * Found these USE flags for net-print/hplip-3.16.3:
 U I
 + + X                        : Enables scanner GUI dependencies with USE="scanner" where media-gfx/xsane is preferred over
                                media-gfx/sane-frontends
 - - doc                      : Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of
                                globally
 - - fax                      : Enable fax on multifunction devices which support it
 + + hpcups                   : Build the hpcups driver for cups (by HP)
 - - hpijs                    : Build the IJS driver for cups (Foomatic)
 - - kde                      : Enables kde-misc/skanlite as scanner GUI with USE="scanner X"
 - - libnotify                : Enable desktop notification support
 - - libusb0                  : Depend on virtual/libusb SLOT 0. Some old printers do not work with virtual/libusb SLOT 1.
 - - minimal                  : Only build internal hpijs/hpcups driver (not recommended at all, make sure you know what you are
                                doing)
 - - parport                  : Enable parallel port for devices which require it
 - - policykit                : Enable PolicyKit authentication support
 + + python_targets_python2_7 : Build with Python 2.7
 - - qt4                      : Add support for the Qt GUI/Application Toolkit version 4.x
 - - scanner                  : Enable scanner on multifunction devices which support it
 - - snmp                     : Add support for net-analyzer/net-snmp which enables this driver to work over networks (both for server
                                and client)
 - - static-ppds              : Use statically-generated PPDs instead of Dynamic PPDs. Although this is deprecated some printers may
                                still need it to work properly. Use this flag if hp-setup fails to find/create a valid PPD file

# equery u net-print/cups
 * Found these USE flags for net-print/cups-2.1.3-r1:
 U I
 + + X                        : Add support for X11
 + + abi_x86_32               : 32-bit (x86) libraries
 + + acl                      : Add support for Access Control Lists
 + + dbus                     : Enable dbus support for anything that needs it (gpsd, gnomemeeting, etc)
 - - debug                    : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces
                                see https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
 - - java                     : Add support for the Java interpeter in the web server CGIs. 
 - - kerberos                 : Add kerberos support
 - - linguas_ca               : Catalan locale
 - - linguas_cs               : Czech locale
 - - linguas_de               : German locale
 - - linguas_es               : Spanish locale
 - - linguas_fr               : French locale
 - - linguas_it               : Italian locale
 - - linguas_ja               : Japanese locale
 + + linguas_ru               : Russian locale
 - - lprng-compat             : Do not install lp... binaries so cups and lprng can coexist. 
 + + pam                      : Add support for PAM (Pluggable Authentication Modules) - DANGEROUS to arbitrarily flip
 + + python                   : Add support for the Python interpeter in the web server CGIs. 
 + + python_targets_python2_7 : Build with Python 2.7
 + + ssl                      : Add support for Secure Socket Layer connections
 - - static-libs              : Build static versions of dynamic libraries as well
 - - systemd                  : Enable use of systemd-specific libraries and features like socket activation or session tracking
 + + threads                  : Add threads support for various packages. Usually pthreads
 - - usb                      : Add USB support to applications that have optional USB support (e.g. cups)
 - - xinetd                   : Add support for the xinetd super-server
 - - zeroconf                 : Support for DNS Service Discovery (DNS-SD)

Or I should try some versions from ~arch?
Comment 6 Pacho Ramos gentoo-dev 2016-07-02 10:09:28 UTC
You could try with 3.20 indeed, but I still wonder if this could be a problem with the driver or ghostscript :/

As a workaround, if you print the PDF as document (another PDF file) and, later, you print that second PDF... it will probably work
Comment 7 Mart Raudsepp gentoo-dev 2018-10-04 21:46:48 UTC
Any updates here? Years have passed, has it fixed up itself, or can't test anymore, etc?
Comment 8 Sergey S. Starikoff 2018-10-08 07:35:36 UTC
(In reply to Mart Raudsepp from comment #7)
> Any updates here? Years have passed, has it fixed up itself, or can't test
> anymore, etc?

Thank ypu for remind.
I've re-checked issue. It has gone away.
Probably it was fixed at switching to 17.0 profile.