Closed Bug 282455 Opened 20 years ago Closed 20 years ago

Print isn't using default page format when printing from java script

Categories

(Firefox :: General, defect)

1.0 Branch
x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 156992

People

(Reporter: peter.bergstrom, Assigned: bugzilla)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; sv-SE; rv:1.7.5) Gecko/20041108 Firefox/1.0 (ax)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; sv-SE; rv:1.7.5) Gecko/20041108 Firefox/1.0 (ax)

If setting the default postscript page size to A4, that size will be used when
selecting print from the file menu, but when using a javascript to print the
page the browser is printing in letter format. If I set the format to A4 it will
work to the next time I start the browser.

Reproducible: Always

Steps to Reproduce:
1. Change the setting print.postscript.paper_size to A4.
2. Make a web page that uses javascript (self.print()) to print itself.
3. Open the webpage and print without changing the print settings.

Actual Results:  
The browser tries to print the page in letter format instead of A4.

Expected Results:  
The browser should have printed the page in A4 format, just as it is doing if I
use the file - print menu.
This should be fixed in current nightly trunk builds and in the forthcoming
Mozilla 1.8/Firefox 1.1 release.

*** This bug has been marked as a duplicate of 156992 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Version: unspecified → 1.0 Branch
You need to log in before you can comment on or make changes to this bug.