Closed Bug 277152 Opened 20 years ago Closed 20 years ago

bad page size if printing started by javascript

Categories

(Core :: Printing: Output, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 156992

People

(Reporter: soucoupi, Unassigned)

Details

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

I added 'user_pref("print.postscript.paper_size", "A4");' line
to my prefs.js file to change default page size. If I print
using File/Print... everything is all right (page size is A4). 
But If I start brower and go to page which tries to print itself 
by using document.print() function, the default page size is Letter 
again.

Reproducible: Always

Steps to Reproduce:
1. Modify prefs.js 
2. Start firefox
3. DON'T try to print in a normal way (using File\Print...)
4. Open page which calls document.print()
5. Open printer properties

Actual Results:  
Page size is set to Letter

Expected Results:  
Page size should be set to A4
Assignee: bugs → core.printing
Component: Preferences → Printing
Product: Firefox → Core
QA Contact: mconnor
Version: unspecified → Trunk
This should be fixed in Mozilla 1.8 and Firefox 1.1.

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