How can I edit the print margins in Firefox in Ubuntu 14.04? I would like to print a page in A3, with custom page margins, to a PDF...

There are suggestions out there like "setting print margins is done in the printer settings" - but, I absolutely cannot find anything related to print page margins... Here's what I'm trying to print:


In the Print dialog/General, there's nothing related to margins:


In the Print dialog/Page Setup, there's nothing related to margins:


EDIT: As per comment, the contents of "Paper size" ("US Letter"):


In the Print dialog/Options, there's nothing related to margins:


I even installed the Print Edit extension, also that has nothing obvious related to page margins:


So, how can I control page margins in Firefox in Ubuntu?

EDIT: I found Where is the Print Setup setting in Firefox so top and bottom margins print on the page (now too high and too low)? | Firefox Support Forum | Mozilla Support (2015):

This is hidden and a little obscure... Firefox stores properties for each of your printers, including the "unwriteable" margin distance and the "edge" distance. ...
(1) In a new tab, type or paste about:config in the address bar and press Enter. ...
(3) Double-click the print.printer_BrandX.print_edge_top preference and enter your desired distance in hundreds of an inch. ...

So to update the question - is there a way to set print page margins in Firefox from a GUI (without changing about:config settings directly)?

  • 1
    On Windows it's in File > Page Setup > Margins & Header/Footer...
    – wb9688
    Apr 28, 2016 at 14:35
  • 1
    What's on "US Letter" ? Third image.
    – userDepth
    Apr 29, 2016 at 18:05
  • Thanks @wb9688 - as visible in the first image, there is no "File > Page Setup" in the Linux version...
    – sdbbs
    May 11, 2016 at 8:02
  • Thanks @user3005629 - I have just updated my post with the image of the contents of "Paper size" ("US Letter")...
    – sdbbs
    May 11, 2016 at 8:03

1 Answer 1


Click on the Main menu and choose Print

Go to the top and clik Page setup

Step one

Then click on where you would choose A3 and go to the bottom of the list to Manage custom... click on that option and you'll be presented with this box.

Step 2

If you want to use Chromium in the future just press CTRL + P and click on Margins -> Custom on the left panel.


  • Thanks @user3005629 - great to have this as workaround, but I'd still like to see if someone finds a solution for Firefox...
    – sdbbs
    May 12, 2016 at 9:42
  • I know, I'll check FF today.
    – userDepth
    May 12, 2016 at 12:26
  • 1
    Done! You're good to go. Tell me if any troubles.
    – userDepth
    May 12, 2016 at 14:40
  • That was what I was looking for @user3005629 - many thanks!
    – sdbbs
    May 13, 2016 at 10:07
  • Well, that was well hidden below the plenthora of preset paper sizes! May 17, 2017 at 16:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.