Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

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.