All PDFs when printed come out mirror image
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libppd (Ubuntu) |
Fix Released
|
Undecided
|
Till Kamppeter | ||
Lunar |
Fix Released
|
Undecided
|
Unassigned | ||
Mantic |
Fix Released
|
Undecided
|
Till Kamppeter |
Bug Description
Since updating to Ubuntu 23.04. Whenever I try to print a PDF (regardless of application the PDF is open in) it will print the PDF in mirror image.
If I enable printing mirror image in the settings, every other page become mirror image as instead. (I'm printing double sided/long edge print, so one side is normal and the other side becomes mirror image when I do this).
I'm trying to print to a HP Colour LaserJet CP2025dn
Note: If I print from my second device when it was running Ubuntu 22.10 it would print normally, but as soon as I updated it to 23.04, it started having the same issue as well.
ProblemType: Bug
DistroRelease: Ubuntu 23.04
Package: ubiquity (not installed)
ProcVersionSign
Uname: Linux 6.2.0-20-generic x86_64
NonfreeKernelMo
ApportVersion: 2.26.1-0ubuntu2
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Thu May 4 20:31:48 2023
InstallCmdLine: BOOT_IMAGE=
InstallationDate: Installed on 2022-10-22 (194 days ago)
InstallationMedia: Ubuntu 22.10 "Kinetic Kudu" - Release amd64 (20221020)
SourcePackage: ubiquity
Symptom: installation
UpgradeStatus: Upgraded to lunar on 2023-04-21 (13 days ago)
[ Impact ]
This affects all printers which have an option named "MirrorPrint" in their PPD file. These are typically PostScript printers, especially those from HP. Also Brother PTouch label printers are affected.
Printing is completely impossible without applying special tricks as described in the comments in this bug report.
[ Test plan ]
Download the attached sample PPD file, a file to use the Brother QL-800 label printer with the free software "ptouch-ql" printer driver. Also have a PDF file handy.
No printer is required for the tests, simply check the output file out.pdf whether it is mirrored or not.
Run the following command:
cupsfilter -P QL-800.ppd -m application/
and display the output file with evince.
Also run
cupsfilter -P QL-800.ppd -m application/
cupsfilter -P QL-800.ppd -m application/
All commands give mirrored output. After installing the proposed SRU package the output is correct, only with "-o MirrorPrint=true" the output gets mirrored.
Who has an affected printer can also test by printing to their print queue, too.
[ Where problems could occur ]
The change is tiny, only an "if" statement was added to check the actual setting (True or False) of the MirrorPrint option got added, to only mirror when te option set to True and not already mirror when the option is just present in the PPD file.
Therefore it is practically impossible that the change causes a regression.
affects: | ubuntu → ubiquity (Ubuntu) |
affects: | ubiquity (Ubuntu) → cups (Ubuntu) |
tags: | removed: ubiquity-22.10.10 |
description: | updated |
Changed in cups (Ubuntu): | |
assignee: | nobody → Till Kamppeter (till-kamppeter) |
description: | updated |
Status changed to 'Confirmed' because the bug affects multiple users.