Open Bug 1259565 Opened 8 years ago Updated 2 years ago

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

Categories

(Core :: Printing: Output, defect)

45 Branch
defect

Tracking

()

UNCONFIRMED

People

(Reporter: karl.lindheimer, Unassigned)

References

()

Details

Attachments

(5 files)

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
attaching the html file here would help any developer to look into the bug.
(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.
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.
Component: Untriaged → Printing: Output
WFM with 45/48 on Win 7. Both print preview/output are complete (~217 pages).
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.
Landscape mode does not show the issue. Printer choice is still the same Samsung printer.
Attached image 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
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 .
Could you add a screenshot of your preview page setup (Format&Options + Margins/Header&Footer)?
(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
Attach your screenshot to the bug report, please:
https://bugzilla.mozilla.org/attachment.cgi?bugid=1259565&action=enter
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: