change default print margin

Post Reply
PaulvW
Posts: 1
Joined: Tue Apr 17, 2012 2:29 am

change default print margin

Post by PaulvW » Tue Apr 17, 2012 2:35 am

The default print margins in Firefox are 0.5 inch; How can I change this default for all users?
I have tried to find the right line in about:config but nothing works. *edge* *margin*

clearing the header and footer works, but only if a user has not changed the defaults for his printer.
(Firefox FE 3.6 / 10 + adm's)

[edit]

I have made a custom adm, based on the mozila adm and it works!
For Firefox 3.6 replace "print_" with "print.print_"


CATEGORY "print"
POLICY "print_bottom"
EXPLAIN !!PRINT_BOTTOM
PART "print_margin_bottom" EDITTEXT
VALUENAME "print_margin_bottom"
END PART
END POLICY

POLICY "print_left"
EXPLAIN !!PRINT_LEFT
PART "print_margin_left" EDITTEXT
VALUENAME "print_margin_left"
END PART
END POLICY

POLICY "print_right"
EXPLAIN !!PRINT_RIGHT
PART "print_margin_right" EDITTEXT
VALUENAME "print_margin_right"
END PART
END POLICY

POLICY "print_top"
EXPLAIN !!PRINT_TOP
PART "print_margin_top" EDITTEXT
VALUENAME "print_margin_top"
END PART
END POLICY

POLICY "print_footercenter"
EXPLAIN !!PRINT_FOOTERCENTER
PART "print_footercenter" EDITTEXT
VALUENAME "print_footercenter"
END PART
END POLICY

POLICY "print_footerleft"
EXPLAIN !!PRINT_FOOTERLEFT
PART "print_footerleft" EDITTEXT
VALUENAME "print_footerleft"
END PART
END POLICY

POLICY "print_footerright"
EXPLAIN !!PRINT_FOOTERRIGHT
PART "print_footerright" EDITTEXT
VALUENAME "print_footerright"
END PART
END POLICY

POLICY "print_headercenter"
EXPLAIN !!PRINT_HEADERCENTER
PART "print_headercenter" EDITTEXT
VALUENAME "print_headercenter"
END PART
END POLICY

POLICY "print_headerleft"
EXPLAIN !!PRINT_HEADERLEFT
PART "print_headerleft" EDITTEXT
VALUENAME "print_headerleft"
END PART
END POLICY

POLICY "print_headerright"
EXPLAIN !!PRINT_HEADERRIGHT
PART "print_headerright" EDITTEXT
VALUENAME "print_headerright"
END PART
END POLICY

Post Reply