Closed Bug 302485 Opened 19 years ago Closed 19 years ago

Javascript print dialog defaults to letter not system default of A4

Categories

(Firefox :: Menus, defect)

1.0 Branch
x86
Windows XP
defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 156992

People

(Reporter: xanthium1, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6

Selecting "Print" from the File menu selects your default printer settings
correctly.

i.e. gets the paper size as A4

However when selecting a javascript print function Letter paper is set as the
default.

None of the configured printers on this XP box for any user have the paper size
set to Letter, so where is Firefox getting the setting from.

If the paper size is modified to A4 once per session then this is retained until
the browser is closed.

This behaviour is still present in Firefox 1.0.6 under Windows XP.

None of the modifications to user.js, about:config have any effect at all.

We use a web based email client that uses javascript print functions and if this
issue can not be sorted out soon we may well have to resort to using Internet
Explorer to avoid jamming up the printer queues!

Reproducible: Always

Steps to Reproduce:
1. Click a link on a web page that runs a javascript print dialog (window.print)
2. Click the properties box, then Advanced
3. Check the Paper Size field.

Actual Results:  
Paper size set to Letter

Expected Results:  
I would have expected Firefox (behavious also observed in Mozilla) to select the
system default "A4" as happens if "Print"  is selected from the "File" menu.
The use of Ctrl+P also work correctly.
This was fixed on Trunk (try FF 1.1/1.5).

*** This bug has been marked as a duplicate of 156992 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
Summary: Javascripp print dialog defaults to letter not system default of A4 → Javascript print dialog defaults to letter not system default of A4
Version: unspecified → 1.0 Branch
You need to log in before you can comment on or make changes to this bug.