Questo sito potrebbe offrire funzionalità limitate durante le operazioni di manutenzione per migliorare l'esperienza utente. Se un articolo non risolve il tuo problema e vuoi richiedere supporto, la nostra comunità di supporto è pronta ad aiutarti tramite @FirefoxSupport su Twitter e /r/firefox su Reddit.

Cerca nel supporto

Attenzione alle mail truffa. Mozilla non chiederà mai di chiamare o mandare messaggi a un numero di telefono o di inviare dati personali. Segnalare qualsiasi attività sospetta utilizzando l'opzione “Segnala abuso”.

Ulteriori informazioni

Questa discussione è archiviata. Inserire una nuova richiesta se occorre aiuto.

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 risposta
  • 1 ha questo problema
  • 1 visualizzazione
  • Ultima risposta di 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

Tutte le risposte (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.