搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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.