Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Control default printer settings through policies.json file?

more options

Is there a way control the default printer options that appear for the end user? If not by policies.json is there another way I am on 102.10 esr version.

Is there a way control the default printer options that appear for the end user? If not by policies.json is there another way I am on 102.10 esr version.

All Replies (10)

more options

print. is one of the pref branches that are supported for deploying Firefox, so you can make the changes and check in prefs.js what resulting prefs show.

Is this about Firefox in a company/enterprise environment as in that case we can move the thread over to the Firefox for Enterprise forum.

more options

Yes, please move it to the enterprise forum thank you. I saw the print. in the github page but need the specific options to see if I can make it work.

more options

Printer options or setting the default printer?

Unfortunately setting the default printer uses print_ not print. so it can't be set.

I'll get that fixed ASAP.

more options

So what specifically I am looking for is to set the printing option to default to letter size paper / A4 paper size. though more options would be better so if I could find a comprehensive list of printer options that would be best.

more options

so the best way to do this is to set the values you want in Firefox then go to about:config and search on "print."

You'll see the preferences that got set for the specific printer and then you can set those preferences to the values.

You can also open the printer dialog in a separate window and change the values and see how they are reflected in about:config.

I'll see if I can get a more specific answer.

more options

Were you able to find anything? I have not been able to have any custom settings stay.

more options

Were you able to find the preferences in about:config that you wanted to set?

more options

Yes, but when I change them and go to the print screen, I don't see my changes being implemented.

more options

So it looks like there are three values that need to be changed:


print.printer_PRINTER_NAME.print_paper_height 11.6929133858268 print.printer_PRINTER_NAME.print_paper_id 9 print.printer_PRINTER_NAME.print_paper_width 8.26771653543307 ```

the paper_id is the thing that makes it switch to A4 (and then it changes height/width to correspond to that.

Modified by Mike Kaply

more options

I have tried that and it seems to not change anything when I bring up the print screen.

Do you know how that would be formatted in a policies.json file?