Bug 107030 - 3x5 card printing different on Windows and Linux; no 3x5 media
Summary: 3x5 card printing different on Windows and Linux; no 3x5 media
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
(earliest affected)
Inherited From OOo
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
Depends on:
Blocks: Print
  Show dependency treegraph
Reported: 2017-04-08 14:03 UTC by Kevin Zembower
Modified: 2023-03-25 11:25 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:

Example document formatted for 3x5 cards (18.68 KB, application/octet-stream)
2017-11-06 15:07 UTC, Kevin Zembower

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Zembower 2017-04-08 14:03:35 UTC
When I try to print 3.5 cards using LibreOffice Writer on Ubuntu 16.04.2, using a Brother MFC-7840W printer with both the CUPS driver and the PPD from Brother for this printer, in print preview, I view an 8.5x11 page size with the 3x5 card in the upper-left-hand corner. This is also how it prints. The File->Print preview correctly shows the text correctly filling a 3x5 image, with no 8.5x11 margins or border surrounding.

This is notably different on Windows with LibreOffice, where the card appears and prints normally, with the card centered in the paper guides for the manual feed.

Thanks for looking into this.
Comment 1 Buovjaga 2017-04-23 16:16:19 UTC
Could you attach an example document so we can quickly test?

Change back to UNCONFIRMED after you have provided the document.
Comment 2 QA Administrators 2017-10-30 10:54:36 UTC Comment hidden (obsolete)
Comment 3 Kevin Zembower 2017-11-06 15:07:38 UTC
Created attachment 137575 [details]
Example document formatted for 3x5 cards

Please find attached a document formatted for 3x5 cards. When viewed with File->Print Preview, it appears to normally fill a 3x5 card. When I chose File->Print, the left side of the Print window shows a 8 1/2x11 (Letter) outline, with the printing in the upper left corner. This is for my Brother MFC-7840W printer. This, I believe, would be different if I printed my document from the LibreOffice version on my PC, running Windows 7.
Comment 4 Kevin Zembower 2017-11-06 15:09:11 UTC
Sorry, forgot to set status to UNCONFIRMED as directed.
Comment 5 Buovjaga 2017-11-06 16:22:48 UTC
I reproduce on Linux.
My Win 10 virtual machine does not have a real printer driver and the MS PDF and XPS drivers show different previews (216x140 mm vs. 148x100 mm Japanese postcard)

Arch Linux 64-bit, KDE Plasma 5
Build ID: b97d210bce5f05c23330b7a6fb0602f8f74da5a0
CPU threads: 8; OS: Linux 4.13; UI render: default; VCL: kde4; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group
Built on November 5th 2017

Arch Linux 64-bit
LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-
Comment 6 QA Administrators 2018-11-07 04:02:34 UTC Comment hidden (obsolete)
Comment 7 Kevin Zembower 2018-11-08 16:47:35 UTC
I am the Original Poster.

I tested this bug against LibreOffice This is now on an Ubuntu 18.04 (bionic) system with kernel 4.15-0-38-generic. I tried it with printer drivers labeled both "Brother MFC7840W for CUPS" and "Brother MFC-7840W BR-Script3". It still exists with both drivers.

To clarify what I'm seeing: I go to the menu File->Print... On the printing window that opens next, on the left-hand side, I observe a rectangle marked "11 x 8.5" with the image of the page in the upper left-hand corner. When I print, the image appears in the upper left-hand corner of an 8.5x11 paper. When I observe this same window on my Windows 10.0 system, the rectangle is marked "3x5" and the image is centered in the page. When I print this, the image occurs centered on an 8.5x11 paper, or correctly centered on an 3x5 card. On both systems, the Format->Page... is set to "User" and Width: 3.00, Height: 5.00, Orientation: Portrait. As an aside, I don't understand why there is not a 3x5 (and 4x6, etc.) page format choice, like there is for Letter and A5, etc.

Thanks for looking into this issue.

HELP info:
Build ID: 86daf60bf00efa86ad547e59e09d6bb77c699acb
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk2; 
Locale: en-US (en_US.UTF-8); Calc: group threaded
Comment 8 QA Administrators 2021-01-05 03:47:19 UTC Comment hidden (obsolete)
Comment 9 Kevin Zembower 2021-01-05 16:20:38 UTC
Hello, I am the Original Poster.

I tested this bug on version 7.0. Here is the information from About LibreOffice:
Build ID: dcf040e67528d9187c66b2379df5ea4407429775
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

The symptoms are just as I reported on 8 Nov 2018. No change. 3x5 cards still missing as a media type. Still view 3.5 card printing correctly in File->Print Preview, but not in the left-hand preview pane when choosing File->Print... Still on Ubuntu 18.04.5 LTS.

Let me know if there's anything else I can report to help resolve this bug.

Comment 10 QA Administrators 2023-01-06 03:19:43 UTC Comment hidden (obsolete)
Comment 11 Kevin Zembower 2023-03-25 11:23:52 UTC
Hello, I am the original poster.

Yes, this problem still exists in the version of LO I have installed:

Version: / LibreOffice Community
Build ID: 30(Build:2)
CPU threads: 4; OS: Linux 5.19; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Ubuntu package version: 1:7.3.7-0ubuntu0.22.04.1
Calc: threaded

This problem may be caused by the lack of a 3x5 card format in the CUPS definition for the Brother MFC-7840W printer that I'm trying to use. I don't know where to post a request for this format for this printer. If someone can help point out where to post this request, I'll be happy to do it.

Thanks for all your work looking into this problem.