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!

Pretraži podršku

Izbjegni prevare podrške. Nikad te nećemo tražiti da nas nazoveš, da nam pošalješ telefonski broj ili da podijeliš osobne podatke. Prijavi sumnjive radnje pomoću opcije „Prijavi zlouporabu”.

Saznaj više

Firefox 6.0.2 / SLES 11.1 : Firefox ignores MOZ_PRINTER_COMMAND environment variable; also resets selected printer to first printer avaliable every time you print.

  • 1 odgovor
  • 1 ima ovaj problem
  • 1 prikaz
  • Posljednji odgovor od Tom

more options

Regardless of what I have tried, everytime I go to print from the browser, I have to reselect my printer from the list of printers available on the system.

Print queues defined on the system are: ip1, ip2, ip3

The print dialog box always opens with the first print queue, ip1, selected. I can select a different queue and print to it, but once the print dialog closes and re-opened, the first queue is again the selected queue.

I have tried setting various user_prefs (in prefs.js) to use the preferred printer (ip2) (see below)

I have tried to disable/enable print.save_pritn_settings

I have set MOZ_PRINTER_NAME=ip2 and exported that environment variable.

Nothings seems to make any difference.

Would appreciate any help/suggestions

Tom

Regardless of what I have tried, everytime I go to print from the browser, I have to reselect my printer from the list of printers available on the system. Print queues defined on the system are: ip1, ip2, ip3 The print dialog box always opens with the first print queue, ip1, selected. I can select a different queue and print to it, but once the print dialog closes and re-opened, the first queue is again the selected queue. I have tried setting various user_prefs (in prefs.js) to use the preferred printer (ip2) (see below) I have tried to disable/enable print.save_pritn_settings I have set MOZ_PRINTER_NAME=ip2 and exported that environment variable. Nothings seems to make any difference. Would appreciate any help/suggestions Tom

Svi odgovori (1)

more options

Still don't know why Firefox ignores the MOZ_PRINTER_COMMAND settings, but I have determined that by using the 'lpoptions -d myprinter ', it is possible to set a default printer on a per user basis for CUPS printing. Firefox uses the cups 'default printer' settings to pre-select the default printer in the print dialog box.