My printer won't print a borderless photo under Fedora 17

Asked by stefan

Fedora 17 x86_64
Deskjet 6540 (yeah, old - but still working)

Overall, the printer works fine with Fedora 17. But with one use case it fails. I tried to print some border less photos on a 4x6 photo paper with Shotwell (Version 0.12.3). As the result, I expect a photo with no white border on any of the 4 sides. But with Fedora 17 (hplip 3.12.6) the printer left always a white stripe (about 2 millimeters) on one side.

If I do the same with Ubuntu 12.04 (hplip 3.12.2) the printed photo has no white stripes. I tried hplip 3.12.6 on Ubuntu and the printed photo is still perfect. So the version of hplip is not the difference :-(

Ubuntu uses cups 1.5.3 while Fedora still uses 1.5.2. So I installed cups 1.5.3 from the Fedora testing repository, deleted/added the printer, but there is still the white stripe :-(

So, my question is, how can I print a borderless 4x6 photo under Fedora 17.

Steps to reproduce:
* Open a photo with "Shotwell Photo Viewer"
* Crop the image to 4x6
* Print
** Page Setup > Paper Size: Photo Borderless 4x6 in
** Image Settings > Autosize: Fill the entire page
** Image Quality > Print Quality: Best

Thx, for your help.

Question information

Language:
English Edit question
Status:
Open
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
stefan (stefan-home) said :
#1

I run hp-check -t and there were 17 errors. After hp-check --fix there are 2 errors left. here the output of hp-check -t

hp-check[2020]: info: :
Initializing. Please wait...
scheduler is running

1.5.3

Linux stefan-pc.lan 3.4.4-5.fc17.x86_64 #1 SMP Thu Jul 5 20:20:59 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

hp-check[2020]: info: :
hp-check[2020]: info: :---------------
hp-check[2020]: info: :| SYSTEM INFO |
hp-check[2020]: info: :---------------
hp-check[2020]: info: :
3.4.4-5.fc17.x86_64 #1 SMP Thu Jul 5 20:20:59 UTC 2012 GNU/Linux

stefan-pc.lan

3.4.4-5.fc17.x86_64 #1 SMP Thu Jul 5 20:20:59 UTC 2012 GNU/Linux

hp-check[2020]: info: : Kernel: 3.4.4-5.fc17.x86_64 #1 SMP Thu Jul 5 20:20:59 UTC 2012 GNU/Linux
 Host: stefan-pc.lan
 Proc: 3.4.4-5.fc17.x86_64 #1 SMP Thu Jul 5 20:20:59 UTC 2012 GNU/Linux
 Distribution: fedora 17
hp-check[2020]: info: :
hp-check[2020]: info: :-----------------------
hp-check[2020]: info: :| HPLIP CONFIGURATION |
hp-check[2020]: info: :-----------------------
hp-check[2020]: info: :
hp-check[2020]: info: :HPLIP-Version: HPLIP 3.12.6
hp-check[2020]: info: :HPLIP-Home: /usr/share/hplip
hp-check[2020]: info: :HPLIP-Installation: Auto installation is supported for fedora distro 17 version
hp-check[2020]: info: :
hp-check[2020]: info: :Current contents of '/etc/hp/hplip.conf' file:
hp-check[2020]: info: :# hplip.conf. Generated from hplip.conf.in by configure.

[hplip]
version=3.12.6

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.12.6
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv/hp

# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
libusb01-build=no
pp-build=yes
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=yes
foomatic-drv-install=yes
foomatic-ppd-install=no
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.12.6
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=no
hpijs-only-build=no
lite-build=no
udev-acl-rules=yes
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no

hp-check[2020]: info: :
hp-check[2020]: info: :Current contents of '/var/lib/hp/hplip.state' file:
hp-check[2020]: info: :Plugins are not installed. Could not access file: No such file or directory
hp-check[2020]: info: :
hp-check[2020]: info: :Current contents of '~/.hplip/hplip.conf' file:
hp-check[2020]: info: :[last_used]
device_uri = hp:/usb/Deskjet_6500?serial=MY45L1R1RR040J

[installation]
date_time = 07/17/2012 01:07:29
version = 3.12.6

hp-check[2020]: info: : <Package-name> <Package-Desc> <Required/Optional> <Min-Version> <Installed-Version> <Status> <Comment>
hp-check[2020]: info: :
hp-check[2020]: info: :--------------------------
hp-check[2020]: info: :| External Dependencies |
hp-check[2020]: info: :--------------------------
hp-check[2020]: info: :
hp-check[2020]: info: : gs Ghostscript REQUIRED 7.05 9.05 OK -
hp-check[2020]: info: : network Network-wget OPTIONAL - 1.13.4 OK -
hp-check[2020]: info: : dbus DBus REQUIRED - 1.4.10 OK -
hp-check[2020]: info: : scanimage Shell-Scanning OPTIONAL 1.0 1.0.22 OK -
hp-check[2020]: info: : policykit Admin-Policy-framework OPTIONAL - 0.104 OK -
hp-check[2020]: info: : xsane SANE-GUI OPTIONAL 0.9 0.998 OK -
scheduler is running

hp-check[2020]: info: : cups CUPS REQUIRED 1.1 1.5.3 OK 'CUPS Scheduler is running'
hp-check[2020]: info: :
hp-check[2020]: info: :-------------------------
hp-check[2020]: info: :| General Dependencies |
hp-check[2020]: info: :-------------------------
hp-check[2020]: info: :
hp-check[2020]: info: : reportlab Python-PDF-Lib OPTIONAL 2.0 2.5 OK -
hp-check[2020]: info: : libcrypto OpenSSL-Crypto-Lib REQUIRED - 1.0.0 OK -
hp-check[2020]: info: : pil Python-Image-Lib OPTIONAL - 1.1.7 OK -
hp-check[2020]: info: : pyqt4-dbus PyQt4-DBUS REQUIRED 4.0 4.9.1 OK -
hp-check[2020]: info: : libjpeg JPEG-Lib REQUIRED - - OK -
hp-check[2020]: info: : libpthread POSIX-Threads-Lib REQUIRED - 2.15 OK -
hp-check[2020]: info: : python-dbus Python-DBUS REQUIRED 0.80.0 0.83.0 OK -
hp-check[2020]: info: : python-devel Python-SDK REQUIRED 2.2 2.7.3 OK -
hp-check[2020]: info: : pyqt4 Python-Qt4 REQUIRED 4.0 4.9.1 OK -
hp-check[2020]: info: : cups-devel CUPS-SDK REQUIRED - 1.5.3 OK -
hp-check[2020]: info: : sane-devel SANE-SDK REQUIRED - 1.0.22 OK -
hp-check[2020]: info: : libusb USB-Lib REQUIRED - 1.0 OK -
hp-check[2020]: info: : sane Scan-Lib REQUIRED - 1.0.22 OK -
hp-check[2020]: info: : cups-image CUPS-Image-Lib REQUIRED - 1.5.3 OK -
hp-check[2020]: info: : libnetsnmp-devel SNMP-Networking-SDK REQUIRED 5.0.9 5.7.1 OK -
hp-check[2020]: info: : python-xml Python-XML-Lib REQUIRED - 2.1.0 OK -
hp-check[2020]: info: : python-notify Desktop-notifications OPTIONAL - - OK -
hp-check[2020]: info: :
hp-check[2020]: info: :------------------------------
hp-check[2020]: info: :| Compile Time Dependencies |
hp-check[2020]: info: :------------------------------
hp-check[2020]: info: :
hp-check[2020]: info: : gcc gcc-Compiler REQUIRED - 4.7.0 OK -
hp-check[2020]: info: : libtool Build-tools REQUIRED - 2.4.2 OK -
hp-check[2020]: info: : make GNU-Build-tools REQUIRED 3.0 3.82 OK -
hp-check[2020]: info: :
hp-check[2020]: info: :----------------------
hp-check[2020]: info: :| Python Extentions |
hp-check[2020]: info: :----------------------
hp-check[2020]: info: :
hp-check[2020]: info: : cupsext CUPS-Extension REQUIRED - 3.12.6 OK -
hp-check[2020]: info: : pcardext PhotoCard-Extension REQUIRED - 3.12.6 OK -
hp-check[2020]: info: : hpmudext IO-Extension REQUIRED - 3.12.6 OK -
hp-check[2020]: info: :
hp-check[2020]: info: :-----------------------
hp-check[2020]: info: :| Scan Configuration |
hp-check[2020]: info: :-----------------------
hp-check[2020]: info: :
hp-check[2020]: info: : error: hpaio HPLIP-SANE-Backend REQUIRED - 3.12.6 MISSING 'hpaio not found in /etc/sane.d/dll.conf. hpaio needs to be added in this file.'
hp-check[2020]: info: : scanext Scan-SANE-Extension REQUIRED - 3.12.6 OK -
hp-check[2020]: info: :
hp-check[2020]: info: :------------------------------
hp-check[2020]: info: :| DISCOVERED SCANNER DEVICES |
hp-check[2020]: info: :------------------------------
hp-check[2020]: info: :
hp-check[2020]: info: :device `v4l:/dev/video0' is a Noname UVC Camera (046d:0807) virtual device
device `plustek:libusb:002:008' is a Canon CanoScan LiDE25 flatbed scanner

hp-check[2020]: info: :
hp-check[2020]: info: :--------------------------
hp-check[2020]: info: :| DISCOVERED USB DEVICES |
hp-check[2020]: info: :--------------------------
hp-check[2020]: info: :
hp-check[2020]: info: : Device URI Model
hp-check[2020]: info: : ------------------------------------------ ------------------------------------------
hp-check[2020]: info: : hp:/usb/Deskjet_6500?serial=MY45L1R1RR040J HP Deskjet 6500
hp-check[2020]: info: :
hp-check[2020]: info: :---------------------------------
hp-check[2020]: info: :| INSTALLED CUPS PRINTER QUEUES |
hp-check[2020]: info: :---------------------------------
hp-check[2020]: info: :
hp-check[2020]: info: :
hp-check[2020]: info: :Deskjet-6500
hp-check[2020]: info: :------------
hp-check[2020]: info: :Type: Printer
hp-check[2020]: info: :Device URI: hp:/usb/Deskjet_6500?serial=MY45L1R1RR040J
hp-check[2020]: info: :PPD: /etc/cups/ppd/Deskjet-6500.ppd
hp-check[2020]: info: :PPD Description: HP Deskjet 6500, hpcups 3.12.6
hp-check[2020]: info: :Printer status: printer Deskjet-6500 is idle. enabled since Tue 17 Jul 2012 01:02:36 AM CEST
 ready to print
hp-check[2020]: info: :Communication status: Good
hp-check[2020]: info: :
hp-check[2020]: info: :
hp-check[2020]: info: :--------------
hp-check[2020]: info: :| PERMISSION |
hp-check[2020]: info: :--------------
hp-check[2020]: info: :
stefan

hp-check[2020]: info: :error: groups user-groups Required - - MISSING ['sys', 'lp']
hp-check[2020]: info: :USB Deskjet-6500 Required - - OK Node:'/dev/bus/usb/003/002' Perm:' root lp rw- rw- rw- rw- r--'
hp-check[2020]: info: :
hp-check[2020]: info: :-----------
hp-check[2020]: info: :| SELINUX |
hp-check[2020]: info: :-----------
hp-check[2020]: info: :
hp-check[2020]: info: :SELinux disabled Optional - - OK -
hp-check[2020]: info: :
hp-check[2020]: info: :-----------
hp-check[2020]: info: :| SUMMARY |
hp-check[2020]: info: :-----------
hp-check[2020]: info: :
hp-check[2020]: info: :Missing Required Dependencies
hp-check[2020]: info: :-----------------------------
error: 'hpaio' package is missing/incompatible
hp-check[2020]: info: :
hp-check[2020]: info: :Missing Optional Dependencies
hp-check[2020]: info: :-----------------------------
hp-check[2020]: info: :None
hp-check[2020]: info: :
hp-check[2020]: info: :
hp-check[2020]: info: :Total Errors: 2
hp-check[2020]: info: :Total Warnings: 0
hp-check[2020]: info: :
hp-check[2020]: info: :Re-run 'hp-check --fix' command to prompt and fix the issues.
hp-check[2020]: info: :
hp-check[2020]: info: :Done.

Revision history for this message
Sanjay Kumar (sanjay-kumar14) said :
#2

Hi,

Thanks for reporting the issue in HPLIP. To help us understand and analyze the issue please follow following things.
=> Download and install the latest HPLIP release from http://hplipopensource.com/hplip-web/install/install/index.html (automatic) or http://hplipopensource.com/hplip-web/install/manual/index.html

(manual if automatic does not work)

=> Reconfigure print queue with the commands in the terminal mentioned below.
       => system-config-printer (remove all print queues)
      => su -c "hp-plugin" (This will download right plugin)
       => hp-setup (It should not be run in a root mode. This command is adding print queue, make sure you select ppd name having "-ps" or "hpcups" substring)
=>Try printing now.

If problem does not get solved then please capture some logs by doing following things.

=>Enable/Clear Logs as mentioned below
    a) Enable Log capture
       => su (switch to root mode here and execute all remaing commands in root mode)
      => open /etc/cups/cupsd.conf from terminal e.g (vi /etc/cups/cupsd.conf or gedit /etc/cups/cupsd.conf) and then replace
         LogLevel warn
                   with
        LogLevel debug
        hpLogLevel 15

    b) Open Terminal and run following commands:
       => su (switch to root mode here and execute all remaing commands in root mode)
       => /etc/init.d/cups restart
                  or
       => service cups restart
       => cd /tmp
       => rm *.out
       => rm *.bmp
       => cat /dev/null > /var/log/cups/error_log
       => cat /dev/null > /var/log/messages
       => cat /dev/null > /var/log/syslog
       => hp-check -t > /tmp/hpcheck.log

    c) Try to print the file. If issue is not resolved then please send following files
        (**Please use "Create a bug report" to attach the logs as "Ask a Question" does not provide the file attachment option)
          => /var/log/syslog (if present),
          => /var/log/messages (if present),
          => /var/log/cups/error_log
          => /tmp/*.bmp
          => /tmp/*.out
          => /tmp/hpcheck.log
          => document used for printing
          => scanned copy of the printed document (if present)
    d) Please let me know the application used for testing.

Revision history for this message
stefan (stefan-home) said :
#3

The instructions above doesn't solve the issue. I will prepare a sample image and open a bug in the next few days.

Revision history for this message
stefan (stefan-home) said :
#4

Created a bug #1031871 and attached the requested files (from print with Fedora and Ubuntu)

Can you help with this problem?

Provide an answer of your own, or ask stefan for more information if necessary.

To post a message you must log in.