When printing a 200 page html page, firefox only prints the first 88 pages

UNCONFIRMED
Unassigned

Status

()

UNCONFIRMED
3 years ago
3 years ago

People

(Reporter: karl.lindheimer, Unassigned)

Tracking

45 Branch
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(5 attachments)

(Reporter)

Description

3 years ago
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0
Build ID: 20160304114936

Steps to reproduce:

While attempting to print an html file of my movie collection, which is over 200 pages long, firefox only previews and prints first 88 pages.  Chromium correctly previews and prints all 238 pages.


Actual results:

Firefox only printed first 88 pages of html document


Expected results:

it should have printed all 238 pages

Comment 1

3 years ago
attaching the html file here would help any developer to look into the bug.
(Reporter)

Comment 2

3 years ago
(In reply to mayankleoboy1 from comment #1)
> attaching the html file here would help any developer to look into the bug.

OK, I've posted the URL of the file.  I just tested the 32 bit linux version of Firefox, and the bug is present there too.

Comment 3

3 years ago
Can confirm this happens on Nightly on Win10 x64 with/without e10s.

Can you find a regression range from here : http://mozilla.github.io/mozregression/  ?
This would help to pinpoint a suitable developer who can solve this.

Updated

3 years ago
Component: Untriaged → Printing: Output

Comment 4

3 years ago
WFM with 45/48 on Win 7. Both print preview/output are complete (~217 pages).

Comment 5

3 years ago
Created attachment 8734817 [details]
Print_Portrait_Samsung.PNG

Mozilla/5.0 (Windows NT 10.0; WOW64; rv:48.0) Gecko/20100101 Firefox/48.0
Build ID: 20160325030241

I believe it is a bug with the printer choice in Nightly/Firefox (which will explain in later comments). It is also reproducible only at portrait mode in Print Preview.

The screenshot attached is captured with the following settings:
Nightly in a new profile. Test page is loaded completely before print preview;
Printer choice in Nightly: Samsung SCX-4200 printer with driver Universal Print Driver 3 v3.00.03.00:02(14/09/2015);
Print preview at portrait mode


In the preview at portrait mode, the movie list ends at Birds (The) by Alfred Hitchcock which is at page 20. The phrase "List generated by GCstar" appended prematurely after the movie. This phrase should appear after the last movie, Zero Dark Thirty by Kathryn Bigelow.
If I switch to landscape mode, all pages/movies are shown correctly. (screenshot in following comment)
It reverts to only 21 pages if I switch back to portrait mode.

Comment 6

3 years ago
Created attachment 8734819 [details]
Print_Landscape_Samsung.PNG

Landscape mode does not show the issue. Printer choice is still the same Samsung printer.

Comment 7

3 years ago
Created attachment 8734833 [details]
Print_Portrait_PDF.PNG

In this screenshot, the printer choice is changed to "Microsoft Print to PDF" which probably come with Windows 10. The preview is showing all movies correctly even at portrait mode.


The print output _may_ actually depend on the final printer choice at the Print dialog, instead of what is shown in Print Preview.
I preview the page with Samsung printer set which shows 21 pages, and print as PDF with "Microsoft Print to PDF". The output is a complete file including all the movies.
I did not test another way round, i.e. preview with PDF set and print with Samsung printer. As my printer is out of order and disconnected, and I am sure I cannot cancel a 217-page printing job. LOL

Comment 8

3 years ago
I tried the output printer as 
1. Microsoft print ot pdf
2. Microsoft XPS printer
3. Foxit printer

in all these cases the output was truncated .

Comment 9

3 years ago
Could you add a screenshot of your preview page setup (Format&Options + Margins/Header&Footer)?
(Reporter)

Comment 10

3 years ago
(In reply to Loic from comment #9)
> Could you add a screenshot of your preview page setup (Format&Options +
> Margins/Header&Footer)?

Ok I have a screenshot of the page setup, I have selected my Epson WF-2540 printer.  The preview is still truncated, and if I select format for any printer, it's still the same result.  As a previous reviewer noticed, this problem is not present if landscape mode is selected, only in portrait modefile:///home/karl/Desktop/Screenshot%20from%202016-03-26%2009-38-08.png

Comment 11

3 years ago
Attach your screenshot to the bug report, please:
https://bugzilla.mozilla.org/attachment.cgi?bugid=1259565&action=enter
(Reporter)

Comment 12

3 years ago
Created attachment 8735124 [details]
Screenshot from 2016-03-26 09-38-08.png
(Reporter)

Comment 13

3 years ago
Created attachment 8735134 [details]
Screenshot from 2016-03-26 09-38-08.png
You need to log in before you can comment on or make changes to this bug.