Duplex printing odd pages shifted down, even shifted up (HP J6410)

Asked by a.h()

On my new HP OfficeJet J6410 I have a problem with duplex printing (using hplip 3.9.8 under Ubuntu 8.04). The problem is that page contents are shifted on the printed page: the odd sides of the page are shifted down ~1cm, the even sides up ~1cm (i.e. the first side to be printed on a page is shifted down, the second side up). I am wondering how to correct this. Same printer under windows has no problems. I am suspecting something with the print margins, but am not sure how to correctly set them up. (What I think is happening is that the driver adds on an extra margin to the margin that the margin that the program is sending out.) On my HP Officejet C990CXi there were no problems with this, using the same test document.

Question information

Language:
English Edit question
Status:
Answered
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:

This question was reopened

Revision history for this message
a.h() (a.h) said :
#1

I'd also like to add that when setting up the printer, I couldn't select standard A4 as output paper with duplex, and had the choice of A4 autoduplex and A4 borderless, which both gave the same (erronous) results.

Revision history for this message
a.h() (a.h) said :
#2

Please ignore this message: I Accidentally pressed solved button, problem isn't solved though.

Revision history for this message
a.h() (a.h) said :
#3

I also tried printing duplex from openoffice, which resulted in it printing the pages seperately, and not double sided at all.

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#4

A few things to check if duplex isn't working.

Run hp-toolbox, click on the printer, click print settings and be sure that the papersize selected is A4 (or) Letter Autoduplex.

In the duplex section make sure that duplex is enabled and select the long-edge, etc.

The duplex "on" setting may be under a section called Options or Misc.

Then duplex printing should work. Although from whatever application you are printing from be sure that the papersize is Letter Autoduplex (or A4, etc).

From the information above I'm seeing "duplexer 1" which means that HPLIP does detect that the printer has a duplexor. It's just a matter of getting the queue configured so that it will indeed print duplex.

Hope this helps.

Aaron

Revision history for this message
a.h() (a.h) said :
#5

Duplex is working, but it is shifting the page content. To make it clear: the pages are coming out duplex, but the content printed is in the wrong place. (Yes, I have enabled the duplexer for my printer: I thought this was strange since my printer doesn't allow replacement of the duplexer with a non duplex paper roller, so therefore duplexer should be selected automatically.)

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#6

I haven't been able to reproduce this.

Please run hp-check -t and post the output.

Also what application are you printing from? What sort of document?

Thanks.

Aaron

Revision history for this message
a.h() (a.h) said :
#7

I'm printing from kpdf, but have also tried kdvi, open office etc, with a multi page word document, but also with latex documents etc.

Here is "hp-check -t"
HP Linux Imaging and Printing System (ver. 3.9.8)
Dependency/Version Check Utility ver. 14.3

Copyright (c) 2001-9 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

Note: hp-check can be run in three modes:
1. Compile-time check mode (-c or --compile): Use this mode before compiling the HPLIP supplied
tarball (.tar.gz or .run) to determine if the proper dependencies are installed to successfully
compile HPLIP.
2. Run-time check mode (-r or --run): Use this mode to determine if a distro supplied package
(.deb, .rpm, etc) or an already built HPLIP supplied tarball has the proper dependencies installed
to successfully run.
3. Both compile- and run-time check mode (-b or --both) (Default): This mode will check both of the
above cases (both compile- and run-time dependencies).

Saving output in log file: hp-check.log

Initializing. Please wait...

---------------
| SYSTEM INFO |
---------------

Basic system information:
Linux andrew-laptop2-ubuntu 2.6.24-24-generic #1 SMP Tue Aug 18 17:04:53 UTC 2009 i686 GNU/Linux

Distribution:
ubuntu 8.04

Checking Python version...
OK, version 2.5.2 installed

Checking PyQt 4.x version...
OK, version 4.3.3 installed.

Checking for CUPS...
Status: scheduler is running
Version: 1.3.7
error_log is set to level: warn

Checking for dbus/python-dbus...
dbus daemon is running.
python-dbus version: 0.82.4

------------------------------------
| COMPILE AND RUNTIME DEPENDENCIES |
------------------------------------

note: To check for compile-time only dependencies, re-run hp-check with the -c parameter (ie, hp-check -c).
note: To check for run-time only dependencies, re-run hp-check with the -r parameter (ie, hp-check -r).

Checking for dependency: CUPS - Common Unix Printing System...
OK, found.

Checking for dependency: CUPS DDK - CUPS driver development kit...
OK, found.

Checking for dependency: CUPS devel- Common Unix Printing System development files...
OK, found.

Checking for dependency: CUPS image - CUPS image development files...
OK, found.

Checking for dependency: DBus - Message bus system...
OK, found.

Checking for dependency: gcc - GNU Project C and C++ Compiler...
OK, found.

Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
OK, found.

Checking for dependency: libcrypto - OpenSSL cryptographic library...
OK, found.

Checking for dependency: libjpeg - JPEG library...
OK, found.

Checking for dependency: libnetsnmp-devel - SNMP networking library development files...
OK, found.

Checking for dependency: libpthread - POSIX threads library...
OK, found.

Checking for dependency: libtool - Library building support services...
OK, found.

Checking for dependency: libusb - USB library...
OK, found.

Checking for dependency: make - GNU make utility to maintain groups of programs...
OK, found.

Checking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...
OK, found.

Checking for dependency: PolicyKit - Administrative policy framework...
OK, found.

Checking for dependency: PyQt 4 DBus - DBus Support for PyQt4...
OK, found.

Checking for dependency: Python DBus - Python bindings for DBus...
OK, found.

Checking for dependency: Python devel - Python development files...
OK, found.

Checking for dependency: Python libnotify - Python bindings for the libnotify Desktop notifications...
OK, found.

Checking for dependency: Python XML libraries...
OK, found.

Checking for dependency: Python 2.3 or greater - Required for fax functionality...
OK, found.

Checking for dependency: Python 2.2 or greater - Python programming language...
OK, found.

Checking for dependency: Reportlab - PDF library for Python...
OK, found.

Checking for dependency: SANE - Scanning library...
OK, found.

Checking for dependency: SANE - Scanning library development files...
OK, found.

Checking for dependency: scanimage - Shell scanning program...
OK, found.

Checking for dependency: xsane - Graphical scanner frontend for SANE...
OK, found.

----------------------
| HPLIP INSTALLATION |
----------------------

Currently installed HPLIP version...
HPLIP 3.9.8 currently installed in '/usr/share/hplip'.

Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf. Generated from hplip.conf.in by configure.

[hplip]
version=3.9.8

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.9.8
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
pp-build=no
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=no
foomatic-drv-install=no
foomatic-ppd-install=no
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=no
cups-ppd-install=yes
internal-tag=3.9.8.36
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=yes
hpijs-only-build=no
lite-build=no
udev-acl-rules=no

Current contents of '/var/lib/hp/hplip.state' file:
# hplip.state - HPLIP runtime persistent variables.

[plugin]
installed=0
eula=0

Current contents of '~/.hplip/hplip.conf' file:
[last_used]
printer_name =
working_dir = .
device_uri = "hp:/net/Officejet_J6400_series?ip=192.168.1.103"

[commands]
scan = /usr/bin/xsane -V %SANE_URI%

[installation]
version = 3.9.8.36
date_time = 09/15/09 12:34:41

[settings]
systray_messages = 0
systray_visible = 2

[fax]
email_address =
voice_phone =

[refresh]
rate = 30
enable = false
type = 1

[polling]
enable = false
device_list =
interval = 5

--------------------------
| DISCOVERED USB DEVICES |
--------------------------

No devices found.

---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------

Officejet_J6400
---------------
Type: Printer
Device URI: hp:/net/Officejet_J6400_series?ip=192.168.1.103
PPD: /etc/cups/ppd/Officejet_J6400.ppd
PPD Description: HP Officejet j6400 Series, hpcups 3.9.8.36
Printer status: printer Officejet_J6400 is idle. enabled since Sun Sep 13 15:26:15 2009
Communication status: Good

----------------------
| SANE CONFIGURATION |
----------------------

'hpaio' in '/etc/sane.d/dll.conf'...
OK, found. SANE backend 'hpaio' is properly set up.

Checking output of 'scanimage -L'...
device `hpaio:/net/Officejet_J6400_series?ip=192.168.1.103' is a Hewlett-Packard Officejet_J6400_series all-in-one

---------------------
| PYTHON EXTENSIONS |
---------------------

Checking 'cupsext' CUPS extension...
OK, found.

Checking 'pcardext' Photocard extension...
OK, found.

Checking 'hpmudext' I/O extension...
OK, found.

Checking 'scanext' SANE scanning extension...
OK, found.

---------------
| USER GROUPS |
---------------

andy

-----------
| SUMMARY |
-----------

No errors or warnings.

Done.

Revision history for this message
a.h() (a.h) said :
#8

I also ran this:
echo -e 'Hello\fWorld' | lp -d OfficeJet_J6400 -o page-border=single -o Duplex=DuplexNoTumble
The bottom border part of the first page was missing, the top border and "World" which should have been printed were likewise missing. (The top border on first page was roughly 1cm lower than when I print a bordered page on single side mode, which works fine.)

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#9

Run:

cat ~/.cups/lpoptions

and post the output.

Thanks!

Aaron

Revision history for this message
a.h() (a.h) said :
#10

cat ~/.cups/lpoptions:
Dest Officejet_J6400 sides=two-sided-long-edge PageSize=A4 PrintoutMode=Draft

Revision history for this message
a.h() (a.h) said :
#11

I just noticed: this states A4 instead of A4-autoduplex which is what I selected for the paper in the printer options thorugh hplip.

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#12

What happens if you select the A4 autoduplex papersize in CUPS and then try to print?

http://localhost:631/printers

Aaron

Revision history for this message
a.h() (a.h) said :
#13

I already have A4 autoduplex selected, selecting A4 borderless changes nothing.

Revision history for this message
Alvin Larson (alvinlarson) said :
#14

I would like to add that I have the same problem. I have an HP Officejet 8000 A809 printer, which I just installed, and am also running Ubuntu 8.04. My version of hplip is 3.9.8.36. Also, I find that the samp printer works well under windows XP.

I have tried many workarounds such a adjusting margins and page size by the Page Setup menu, but everything I have tried makes the problem worse. This must be a bug in hplip and, apparently, it has been there for two months now. I like the printer very much so I hope something is being done to fix it.

Revision history for this message
a.h() (a.h) said :
#15

I have a slight suspicion that this bug only appeared in the hplip 3.x series, since almost all duplex printers seem to be affected now with 3.9, whereas with 2.x my older printer worked fine with duplex (I only upgraded to get support for the new printer.) I can't test the old printer though currently (it's in another country), which could confirm/dispel this suspicion.

Revision history for this message
a.h() (a.h) said :
#16

I just installed hplip 2.8.5 from source which fixes it: okular, which I tested, prints correctly. Installing hplip 2.8.5 is an extreme hassle though I spent over an hour fiddling until I discovered 4 libraries had to be moved to make it work). I still need to test this on my main pc though.

Revision history for this message
Dale Dellutri (dale-daledellutri) said :
#17

I have the same problem with an HP L7590. Specifically, duplex printing produces double-sided output,
but the odd pages are shifted down and and the even pages are shifted up.

[dale@DD ~]$ uname -a
Linux DD.Dellutri.local 2.6.32.9-70.fc12.i686.PAE #1 SMP Wed Mar 3 04:57:21 UTC 2010 i686 i686 i386 GNU/Linux

[dale@DD ~]$ cat /etc/redhat-release
Fedora release 12 (Constantine)

[dale@DD ~]$ cat .cups/lpoptions
Dest home-printer Duplex=DuplexNoTumble PageSize=LetterDuplex

[dale@DD ~]$ rpm -qa | grep hplip
hplip-3.9.8-28.fc12.i686
hplip-gui-3.9.8-28.fc12.i686
hplip-common-3.9.8-28.fc12.i686
hplip-libs-3.9.8-28.fc12.i686

[dale@DD ~]$ rpm -qa | grep cups
cups-1.4.2-28.fc12.i686
cups-pdf-2.5.0-3.fc12.i686
cups-pk-helper-0.0.4-12.fc12.i686
bluez-cups-4.58-1.fc12.i686
cups-libs-1.4.2-28.fc12.i686
gutenprint-cups-5.2.5-2.fc12.i686

[dale@DD ~]$ rpm -qa | grep -i adobe
AdobeReader_enu-9.3.1-1.i486
adobe-release-i386-1.0-1.noarch

Revision history for this message
florianr (florianr-gmx) said :
#18

I hope we get a quick solution for this problem. Same her, I have a HP OfficeJet Por 8500 WLAN. printing doublesided results in shifting first page more than one cm down.

Please provide a solution!

Revision history for this message
Paul Hanchett Launchpad (paul-hanchett) said :
#19

I have the same problem as described above on my HP8500 and Mandriva 2010.0.

Can you help with this problem?

Provide an answer of your own, or ask a.h() for more information if necessary.

To post a message you must log in.