Have you tried all.js in the greprefs sub folder of where you installed the control? It has lines of the format:
pref("print.print_headerleft", "&T");
pref("print.print_headercenter", "");
pref("print.print_headerright", "&U");I haven't tried this, just offering a possibility.
Dave.
Dave Murray Glasgow, UK PGP KeyID: 0x838592B3
Remove NOSPAM from my email address to reply.
Cameron wrote:
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
