Alexander, I could reproduce your problem on Oneiric, so no further
files/data are needed from you for now.

The problem cannot be solved by doing changes in CUPS, it has to be
solved by a fix in LibreOffice.

To fulfill your print settings, reverse order and duplex, LibreOffice
sends the pages starting with the last page and terminating with the
first, to get the reverse order, and for duplex it sends the job with
the duplex attribute according to the PPD file of the printer.

CUPS does not know about that the job is reverse order. It simple gets a
deck of pages and prints them in the order in which they come. The
duplex attribute is passed on to the driver and the driver sends a
command to the printer to print the pages double-sided. CUPS cannot know
that the first page it gets is a front side and not a back side of the
sheet, it does not know that the last page is page 1 which has to be a
front side.

Possible solutions:

1. (Recommended) LibreOffice should not execute reverse order by itself
but instead it should send the pages in their original order (page 1
first) and send the job with the reverse-order attribute for CUPS (you
do not find it in the PPD, it is and option provided by the CUPS
filters, it is "OutputOrder=Reverse"), simply added to the PPD options.
Then CUPS has full control about the page management and knows that this
is a job which is printed double-sided, in reverse order, and with an
odd number of pages. This way CUPS will know to print a blank page
before it starts printing the job starting with its last page.

2. LibreOffice could precede such jobs with a blank page. This is AFAIK
what evince does.

In general, page management (reverse order, selected pages, even/odd
pages, N-up, multiple copies, collate, ...) should get concentrated at
one point, preferably CUPS and not be done partially by the application
and partially by CUPS.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to libreoffice in Ubuntu.
https://bugs.launchpad.net/bugs/872873

Title:
  Printing duplex in reverse order doesn't work properly HP Officejet
  Pro 8500

Status in “libreoffice” package in Ubuntu:
  Triaged

Bug description:
  When using the duplex mode and printing backwards I've always got an
  empty page as the first page when printing documents with an impair
  number of pages (3, 5 and so on). This bug might be a duplicate of bug
  #370591. But now I'm using a HP Officejet Pro 8500 as printer.

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: libreoffice 1:3.4.3-3ubuntu2
  ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
  Uname: Linux 3.0.0-12-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 1.23-0ubuntu3
  Architecture: amd64
  Date: Wed Oct 12 16:11:22 2011
  ProcEnviron:
   LANGUAGE=de_DE:en
   PATH=(custom, no user)
   LANG=de_DE.UTF-8
   LC_MESSAGES=de_DE.UTF-8
   SHELL=/bin/bash
  SourcePackage: libreoffice
  UpgradeStatus: Upgraded to oneiric on 2011-10-02 (10 days ago)
  --- 
  ApportVersion: 1.23-0ubuntu3
  Architecture: amd64
  DistroRelease: Ubuntu 11.10
  Lpstat:
   device for HP-Officejet-Pro-8500-A909a: 
usb://HP/Officejet%20Pro%208500%20A909a?serial=MY96K430MF
   device for Officejet_Pro_8500_A909a: 
hp:/usb/Officejet_Pro_8500_A909a?serial=MY96K430MF
   device for Officejet_Pro_8500_A909a_fax: 
hpfax:/usb/Officejet_Pro_8500_A909a?serial=MY96K430MF
  MachineType: System manufacturer System Product Name
  NonfreeKernelModules: nvidia
  Package: cups 1.5.0-8ubuntu1
  PackageArchitecture: amd64
  Papersize: a4
  PpdFiles:
   Officejet_Pro_8500_A909a: HP Officejet Pro 8500 a909a hpijs, 3.11.7
   Officejet_Pro_8500_A909a_fax: HP Fax hpcups
   HP-Officejet-Pro-8500-A909a: HP Officejet Pro 8500 a909a hpijs, 3.11.7
  ProcEnviron:
   LANGUAGE=de_DE:en
   PATH=(custom, no user)
   LANG=de_DE.UTF-8
   LC_MESSAGES=de_DE.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-12-generic 
root=UUID=2b8662c4-a153-4b83-b732-17f4bd99e945 ro quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
  Tags:  oneiric running-unity
  Uname: Linux 3.0.0-12-generic x86_64
  UpgradeStatus: Upgraded to oneiric on 2011-10-02 (10 days ago)
  UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
  dmi.bios.date: 10/16/2008
  dmi.bios.vendor: Phoenix Technologies, LTD
  dmi.bios.version: ASUS IPN73-BA ACPI BIOS Revision 0105 Targa
  dmi.board.name: IPN73-BA
  dmi.board.vendor: ASUSTeK Computer INC.
  dmi.board.version: 1.XX
  dmi.chassis.asset.tag: 123456789000
  dmi.chassis.type: 3
  dmi.chassis.vendor: Chassis Manufacture
  dmi.chassis.version: Chassis Version
  dmi.modalias: 
dmi:bvnPhoenixTechnologies,LTD:bvrASUSIPN73-BAACPIBIOSRevision0105Targa:bd10/16/2008:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnIPN73-BA:rvr1.XX:cvnChassisManufacture:ct3:cvrChassisVersion:
  dmi.product.name: System Product Name
  dmi.product.version: System Version
  dmi.sys.vendor: System manufacturer

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/872873/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to