Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Spletno mesto bo delovalo z omejenimi zmožnostmi, medtem ko na njem izvajamo vzdrževalna dela za vas. Če članki ne rešijo vaše težave in želite zastaviti vprašanje, naša skupnost za podporo čaka na vas na @FirefoxSupport na Twitterju in na /r/firefox na Redditu.

Iskanje po podpori

Izogibajte se prevarantski tehnični podpori. Nikoli vam ne bomo naročili, da pokličete telefonsko številko ali nam pošljete osebne podatke. Sumljivo dejavnost prijavite z gumbom »Prijavi zlorabo«.

Več o tem

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

  • 2 odgovora
  • 1 ima to težavo
  • 1 ogled
  • Zadnji odgovor od 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?

Vsi odgovori (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?