printing webpages in landscape prints a cropped portrait instead

Bug #1429444 reported by David Tombs
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cups (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Steps to reproduce:

1. Open this Google map in a web browser: https://www.google.com/maps/place/SpringHill+Suites+Florence/@34.1885035,-79.8385784,16z/data=!4m9!1m6!2m5!1shotels!3m3!1shotels!2sFlorence,+SC!3s0x885566d61ff10fe9:0xac3c3b81f5d91e2a!3m1!1s0x0000000000000000:0x0f6c640354e822a9
2. Do a print preview.
3. Switch to landscape mode. Note how the print preview appears.
4. Print.

Expected result:

The printer prints as shown in the print preview.

Actual result:

The printer prints landscape content, but oriented portrait the paper, with the right portion of the content cropped. (See attached photo.)

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: cups 1.7.2-0ubuntu1.5
ProcVersionSignature: Ubuntu 3.13.0-46.77-generic 3.13.11-ckt15
Uname: Linux 3.13.0-46-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.7
Architecture: amd64
Date: Sat Mar 7 14:00:54 2015
Lpstat: device for MFCJ825DW: dnssd://Brother%20MFC-J825DW._ipp._tcp.local/
Lsusb:
 Bus 001 Device 004: ID 045e:0728 Microsoft Corp.
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 002 Device 002: ID 058f:6362 Alcor Micro Corp. Flash Card Reader/Writer
 Bus 002 Device 003: ID 0461:4d16 Primax Electronics, Ltd
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Papersize: letter
PpdFiles: MFCJ825DW: Brother MFC-J825DW CUPS
ProcEnviron:
 LANGUAGE=en_US
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-46-generic root=UUID=cb832714-a26f-4f20-a85f-de2b92164bcb ro
SourcePackage: cups
UpgradeStatus: Upgraded to trusty on 2014-05-30 (281 days ago)
dmi.bios.date: 02/10/2010
dmi.bios.vendor: Award Software International, Inc.
dmi.bios.version: FHm
dmi.board.name: M57SLI-S4
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: x.x
dmi.chassis.type: 3
dmi.modalias: dmi:bvnAwardSoftwareInternational,Inc.:bvrFHm:bd02/10/2010:svn:pn:pvr:rvnGigabyteTechnologyCo.,Ltd.:rnM57SLI-S4:rvrx.x:cvn:ct3:cvr:
mtime.conffile..etc.cups.cupsd.conf: 2015-03-07T13:12:49.170536

Revision history for this message
David Tombs (dgtombs) wrote :
Revision history for this message
David Tombs (dgtombs) wrote :

Here is Firefox's PDF output, captured per instructions here: https://wiki.ubuntu.com/DebuggingPrintingProblems#Capturing_print_job_data

As you can see Firefox's output is fine.

summary: - printing webpages in landscape prints a cropped portrain instead
+ printing webpages in landscape prints a cropped portrait instead
Revision history for this message
David Tombs (dgtombs) wrote :
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

The problem is probably caused by a wrong filter sequence. error_log contains:

D [07/Mar/2015:13:22:00 -0500] [Job 1577] 3 filters for job:
D [07/Mar/2015:13:22:00 -0500] [Job 1577] pdftops (application/pdf to application/postscript, cost 33)
D [07/Mar/2015:13:22:00 -0500] [Job 1577] pstops (application/postscript to application/vnd.cups-postscript, cost 66)
D [07/Mar/2015:13:22:00 -0500] [Job 1577] brother_lpdwrapper_mfcj825dw (application/vnd.cups-postscript to printer/MFCJ825DW, cost 0)

This means that incoming PDF is converted by the sequence

pdftops -> pstops -> brother_lpdwrapper_mfcj825dw

Especially this sequence is missing the pdftopdf filter. Also the current pdftops filter calls the pstops filter by itself, which means that pstops runs twice here.

The correct sequence is:

pdftopdf -> pdftops -> brother_lpdwrapper_mfcj825dw

Probably this is caused by a wrong conversion rule on your system.

Please attach all files whose names end with ".convs" in /etc/cups/ and in /usr/share/cups/mime/ to this bug report. Attach the files one by one, not compressing them nor packaging them together. Thanks.

Changed in cups (Ubuntu):
status: New → Incomplete
Revision history for this message
David Tombs (dgtombs) wrote :
Revision history for this message
David Tombs (dgtombs) wrote :
Revision history for this message
David Tombs (dgtombs) wrote :
Revision history for this message
David Tombs (dgtombs) wrote :
Revision history for this message
David Tombs (dgtombs) wrote :
Revision history for this message
David Tombs (dgtombs) wrote :

---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

Revision history for this message
David Tombs (dgtombs) wrote :
Revision history for this message
David Tombs (dgtombs) wrote :

Thanks for the response. That should be all the files.

Changed in cups (Ubuntu):
status: Incomplete → New
Revision history for this message
gf (gf-interlinks-deactivatedaccount) wrote :

Hello David,
Thank you for submitting this bug and reporting a problem with cups. You made this bug report some time ago and Ubuntu and cups have been updated since then.

Could you confirm that this is no longer a problem and that we can close the ticket?
If it is still a problem, are you still interested in finding a solution to this bug?
If you are, could you let us know and, in the current version, could you run the following (only once):
apport-collect 1429444
and upload the updated logs and and any other logs that are relevant for this particular issue.

Thank you again for helping make Ubuntu and cups better.
G

Changed in cups (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for cups (Ubuntu) because there has been no activity for 60 days.]

Changed in cups (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.