搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

How can I set printer's paper size to A4 in about:config?

  • 2 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 Neto.Bond

more options

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?

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?

所有回覆 (2)

more options

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

more options

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?