Closed Bug 152109 Opened 22 years ago Closed 22 years ago

can't store the page setup info

Categories

(Core :: Printing: Output, defect)

x86
Windows 98
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 166217
mozilla1.2beta

People

(Reporter: shubhrakant, Assigned: rods)

Details

Attachments

(1 file)

I am unable to remove the nagging title of the page from the print each time I 
launch mozilla. I have also tried tinkering with the prefs/userprefs .js files 
both in my profile as well as in the mozilla directory, but nothing changes. 
Kindly tell me the method to remove this once for all. If possible kndly send 
me the relevant prefs/ user prefs/.js files for this. Thanking you.
You can change these in your all.js:
pref("print.print_headerleft", "&T");
pref("print.print_headercenter", "");
pref("print.print_headerright", "&U");
pref("print.print_footerleft", "&PT");
pref("print.print_footercenter", "");
pref("print.print_footerright", "&D");
pref("print.show_print_progress", true);

to be ""
Attached patch patchSplinter Review
Seems very reasonable to save the changes to the headers and footers and BG
colors/images. The rest of the settings I am not so sure about.
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Target Milestone: --- → mozilla1.0.1
Comment on attachment 87947 [details] [diff] [review]
patch

r=roland.mainz@informatik.med.uni-giessen.de

(non-mandatory) nit:
+    dump("gPrintSettings.headerStrLeft   
"+gPrintSettings.headerStrLeft+"\n");

Can you add "'" around the values,
e.g.
+    dump("gPrintSettings.headerStrLeft   
'"+gPrintSettings.headerStrLeft+"'\n");
, please ?
Attachment #87947 - Flags: review+
after having changed the all.js no change happens. Moreover regarding the
attachment, I could not locate the file(PrintPageSetup.js) in my distribution.
If it is an additional file, then please do tell me where to place this js file
in my mozilla image.

=Shubhrakant
have not got any further inputs. Can anybody help me. Please see my previous 
comment.
PrintPageSetup.js is in a jar file.
Have changed printpagesetup.js from comm.jar and have updated it in the jar 
file.I have also kept the file as a standalone file in 
chrome/content/communicator/printpagesetup.js.

But the changes have not done anything atall. It is still showing the default 
Header and footers. I also have changed the "all.js" by replacing &U with &T so 
that atleast the title will print instead of the URL. Have also put "'" in the 
places told by you in the printpagesetup.js file.

But no changes have come.

Please help. Or else tell me the alternate us of the patch.

My build id is 2002053012. 
I have not got any further comments on my previous request. Please tell me the 
solution.

I am repeating the previous querry :
____________________________________________________________________________
Have changed printpagesetup.js from comm.jar and have updated it in the jar 
file.I have also kept the file as a standalone file in 
chrome/content/communicator/printpagesetup.js.

But all the changes have not done anything atall. It is still showing the 
default Header and footers. I also have changed the "all.js" by replacing &U 
with &T so that atleast the title will print instead of the URL. Have also 
put "'" in the places told by you in the printpagesetup.js file.

But no changes have come.

Please help. Or else tell me the alternate us of the patch.

My build id is 2002053012.
Target Milestone: mozilla1.0.1 → mozilla1.1alpha
Target Milestone: mozilla1.1alpha → mozilla1.2beta
bug 166217 ("Print settings on Linux are saved at shutdown but not read at next
start") will fix this issue, too...

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

Attachment

General

Creator:
Created:
Updated:
Size: