Hi, I'm having trouble setting the header and footer for printing. I
have put the following lines as a test into user.js and prefs.js in
C:\Documents and Settings\Administrator\Application
Data\MozillaControl\profiles\MozillaControl and every other user.js and
prefs.js on my system but it still has no effect.

pref("print.print_headerleft", "&D");
pref("print.print_headercenter", "&D");
pref("print.print_headerright", "&D");
pref("print.print_footerleft", "&D");
pref("print.print_footercenter", "&D");
pref("print.print_footerright", "&D");

user_pref("print.print_headerleft", "&D");
user_pref("print.print_headercenter", "&D");
user_pref("print.print_headerright", "&D");
user_pref("print.print_footerleft", "&D");
user_pref("print.print_footercenter", "&D");
user_pref("print.print_footerright", "&D");

The standard headers and footers are used instead. I have tried loading
page about:config and this does confirm that the headers and footers
have been set as above (all date/time). However, no matter which
printer I use (including print to file) on the actual printout the
standard headers and footers are used (page name, location, page x of
y, date/time).

Any ideas on this would be greatly appreciated.

Thanks,
Cameron
(I'm using the http://www.iol.ie/~locka/mozilla/control.htm control)

_______________________________________________
mozilla-embedding mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-embedding

Reply via email to