Firefox: Printing Borderless pages in Linux – [ workaround fix ]

Affects Firefox versions 4 to 17, while printing to PDF.

For some reason I have never been able to print a borderless (zero margin) page in Firefox on Linux.  Even when creating a custom page size and explicitly setting all margins to zero the prints would contain a margin.

This frustrated me for a while untill i discovered this workaround:

  • type ‘about:config’ into address bar
  • search for ‘margin_’ in the filter area.
  • change the “printer_Print_to_File.print_unwriteable_margin_” keys to zero.

I hope this helps others that run into a similar issue.