Closed Bug 1765586 Opened 3 years ago Closed 3 years ago

labels & print pop-ups print too small

Categories

(Core :: Printing: Output, defect, P2)

Firefox 91
defect

Tracking

()

RESOLVED DUPLICATE of bug 1765059

People

(Reporter: papertiq, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0

Steps to reproduce:

When ever I print USPS or EBAY labels from Firefox or print an invoice from Amazon or pop-up window it prints in miniature, too small to read. This happens every time.

The only way to resolve it is to use Chrome for printing and then I have no problem. But I want to print from Firefox.

Expected results:

In the past, not sure how long ago, I could print anything from the Firefox browser and it printed normal size.

The Bugbug bot thinks this bug should belong to the 'Core::Printing: Output' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Printing: Output
Product: Firefox → Core

The severity field is not set for this bug.
:emilio, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(emilio)

Can you attach a label or so that reproduces the issue? Does going to about:support and clicking the "Clear saved print settings" button fix this?

Flags: needinfo?(emilio) → needinfo?(papertiq)
Severity: -- → S2
Priority: -- → P2

I have seen many complaints on ebay forums regarding this issue of printing labels with Firefox both from ebay and USPS. My print settings are the same with after every use. The way printing shipping labels work from ebay or USPS, is that a label is purchased and a new tab opens with the pdf label, 2 labels per page, top and bottom. Instead of printing 4"x6" size for each as it should it prints in miniature 1.5"x2". In order to print it correctly I save the pdf, open it in acrobat and it prints correctly with the same printer settings.

Go to USPS, purchase a label and try printing from Firefox.

I hope this helps.

Flags: needinfo?(papertiq)

(In reply to John from comment #4)

Instead of printing 4"x6" size for each as it should it prints in miniature 1.5"x2".

That smells like wrong resolution to me. Did you check if the steps mentioned in comment 3 helped? I can't purchase USPS labels since I don't have a US address... Daniel, maybe you can?

Flags: needinfo?(dholbert)

(In reply to John from comment #4)

Go to USPS, purchase a label and try printing from Firefox.

Sure, I can test that. First, though, let me check a few things to be sure I'm testing roughly the same content as you (to reduce the number of variables, in case I can't reproduce).

(1) At USPS I see Click-N-Ship Pay for and print shipping labels which links to https://cns.usps.com/ -- is that the right place to test the labels you're talking about?
(2) Did you choose "Flat Rate" vs. "Ship by package weight"?
(3) Did you pick "Priority Mail" or "Priority Mail Express"?
(4) Are there any other choices that you're forced to make that seem like they might be relevant for getting the right sort of shipping label to trigger this?

Flags: needinfo?(dholbert) → needinfo?(papertiq)

Also: if you already have a saved copy of an affected label PDF that you'd be comfortable sharing privately with me and/or Emilio, that would help here as well. I recognize it might have your address and/or a customer's address, so it makes sense not to publish it as an attachment here, and we'd take care to keep it confidential and delete it as soon as we're done investigating.

Asking because: in a perfect world, it's great for us to be working with the exact content that's broken for a particular user (the precise generated PDF that your local Firefox fails to print properly, in this case).

Anyway -- if you're comfortable sharing, you can reach us by email using our usernames (dholbert and/or emilio) at mozilla.com . If not, no worries; I can buy a label that'll hopefully trigger the issue, with help on the questions in comment 6.

Also, I see in comment 0 that you're using Firefox 91, which is somewhat old -- is that because you're on Firefox ESR ("extended support release")? (For Firefox ESR, 91 is indeed the newest version; but for regular Firefox, version 100 is the latest version.)

Either way, it would be worth checking whether this is already fixed in newer Firefox versions, since a lot of time has passed since 91 was released. Perhaps you could test current Nightly (https://www.mozilla.org/en-US/firefox/channel/desktop/#nightly ) with any locally-saved known-"bad" PDF (viewing the PDF in Firefox and trying to print) to see if Nightly is affected.

(Note that Firefox Nightly uses a completely separate browsing profile from regular releases of Firefox, so Firefox Nightly won't use or modify your bookmarks/addons/etc. that are used for your regular Firefox installation.)

(In reply to Daniel Holbert [:dholbert] from comment #6)

(In reply to John from comment #4)

Go to USPS, purchase a label and try printing from Firefox.

Sure, I can test that. First, though, let me check a few things to be sure I'm testing roughly the same content as you (to reduce the number of variables, in case I can't reproduce).

Yes, `Click-N-Ship Pay for and print shipping labels
https://cns.usps.com/
Flat Rate
Priority Mail - Medium Flat Rate Box
No other options

Hope that helps

Flags: needinfo?(papertiq)

(In reply to Daniel Holbert [:dholbert] from comment #7)

Also: if you already have a saved copy of an affected label PDF that you'd be comfortable sharing privately with me and/or Emilio, that would help here as well. I recognize it might have your address and/or a customer's address, so it makes sense not to publish it as an attachment here, and we'd take care to keep it confidential and delete it as soon as we're done investigating.

Asking because: in a perfect world, it's great for us to be working with the exact content that's broken for a particular user (the precise generated PDF that your local Firefox fails to print properly, in this case).

Anyway -- if you're comfortable sharing, you can reach us by email using our usernames (dholbert and/or emilio) at mozilla.com . If not, no worries; I can buy a label that'll hopefully trigger the issue, with help on the questions in comment 6.

Next day or two....
Next time I ship I will purposely use Firefox and generate a label along with a scan of the miniature for you to look at and inspect.

Thank you! I'll hold off on generating my own label for now, then, and I'll plan to take a look with the one that you email over.

I'm testing with a PDF shipping-label that John was kind enough to privately share, and unfortunately I haven't yet been able to reproduce any issues when printing it locally. (Tested in ESR91 as well as current release and Nightly, on Ubuntu 22.04 as well as Windows 11, using my own Brother HL-2280DW printer.)

It looks like it's a pretty simple PDF, with a regular Letter page-size, which happens to just have the print label on the top part of the page. Here's some of the PDF metadata (shown in PDF.js "Document Properties"):

Creator:  eBay Bulk Labels
PDF Producer:  iText® 5.5.13.2 ©2000-2020 iText Group NV (AGPL-version)
PDF Version:  1.4
Page Count: 1
Page Size: 215.9 × 279.4 mm (Letter, portrait)

On John's system, print-preview shows the correct/expected result, but printing to a physical sheet of paper, it's scaled down ~half-size (almost as if we were trying to print with 4 pages-per-sheet -- though that's not precisely the explanation, because if we were doing that, that would show up in the print-preview rendering).

Attached file simple test PDF

John, could you see if you can reproduce the same bug when using Firefox to print this attached simple PDF?

(I suspect you'll be able to, but I'd like to confirm.)

Via email, John says that the attached simple test PDF does indeed print out tiny for him; and also, he can't reproduce any issues in a freshly-created Firefox profile.

So it seems there's some about:config setting in his regular Firefox profile that happens to be set to a value that makes all PDFs print out at ~50% height and width (despite appearing fine in print-preview).

I've requested the list of "modified print settings" from about:support to see if any of those seem likely candidates for being the culprit...

The problematic pref was:

print.printer_Brother_MFC-J480DW_Printer_(Copy_1).print_resolution    300

After John deleted that preference, the issue went away.

It seems this is precisely the same as the problem that was discussed in bug 1765059 comment 2. --> Marking as duplicate of that bug.

Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: