Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

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 отговор
  • 1 има този проблем
  • 1 изглед
  • Последен отговор от 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

Всички отговори (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.