How can I set printer's paper size to A4 in about:config?
I'm trying to set printer's setting in about:config copying the values from one machine to another but Thea specific value doesn't work. The property is print.printer_CutePDF_Writer.print_paper_data. On the working machine, it has value of 9. It's supposed to set the paper size to A4. But when I go to the second machine and enter that same value and I went to print, the page size isn't A4 and if I go back to about:config I can see the value of property print.printer_CutePDF_Writer.print_paper_data is set to -1. What am I missing? How do I fix that?
Todas as respostas (2)
Hi Neto,
In de search area of the 'About config' type the following: printer.printer
There you'll find: printer.printer_"NAME OF YOUR PRINTER"_Receipt.print_paper_height. Also paper_width & size_unit.
Right click the value's of the three (heigt, width & size unit) and click reset.
Now go to a website to print something, and choose the printer you've just reset.
After printing, go back into the about:config, and type in the search line: print.save_print_settings, in the Value column right click the word "True", and choose toggle. The value will change to "False".
Now your browser knows to look always at your printer settings.
I hope this helps.
Greetings,
Lars
Neto.Bond said
I'm trying to set printer's setting in about:config copying the values from one machine to another but Thea specific value doesn't work. The property is print.printer_CutePDF_Writer.print_paper_data. On the working machine, it has value of 9. It's supposed to set the paper size to A4. But when I go to the second machine and enter that same value and I went to print, the page size isn't A4 and if I go back to about:config I can see the value of property print.printer_CutePDF_Writer.print_paper_data is set to -1. What am I missing? How do I fix that?
Thank you for your answer. Well, I've already did that actually. print.save_print_settings was set to true. I'd like to set those values I mentioned in another machine by using about:config not Firefox window print dialog. I noticied in the working machine, even after reset, that when I set the paper size to A4 in the Firefox's window dialog, the value of print.printer_CutePDF_Writer.print_paper_data is set to 9. But when I try to use that same value on the machine 2, it doesn't work. The value is set to -1. For some reason, the value is recognized as invalid. Does the number I'm entering is in decimal and the system expect something else? or it's some property I'm missing?