所以,我發現所有的答案。?並會在這裏發佈,以防其他人需要此信息:
添加以下行到默認的prefs.js文件
user_pref("print.print_headerleft", "");
user_pref("print.print_headercenter", "");
user_pref("print.print_headerright", "");
user_pref("print.print_footerleft", "");
user_pref("print.print_footercenter", "");
user_pref("print.print_footerright", "");
user_pref("print.print_bgcolor", true);
你也可以使用下面的
user_pref("print.print_margin_bottom", "0.4");
user_pref("print.print_margin_left", "0.4");
user_pref("print.print_margin_right", "0.4");
user_pref("print.print_margin_top", "0.4");
修改默認的利潤率,我發現編輯頁眉和頁腳添加的部分這些行到Data/Profile中的默認prefs.js仍然沒有找到背景顏色部分 'user_pref(「print.print_headerleft」,「」)user_pref(「print.print_headercenter」,「」)user_pref(「print。 print_headerright「,」「) user_pref(「print.print_footerleft」,「」); user_pref(「print.print_footercenter」,「」); (「print.print_print.htm」,「」);' –
修復打印背景我最終發現:'user_pref(「print.print_bgcolor」,true);' –