Print Problem Firefox

Issue:

Can’t print using firefox while no such problem appear in other applications like Openoffice, etc.

Solution:

Modify print command in firefox to “lpr -P [printer_name]”
where [printer_name] is the actual default print name. for my case, [printer_name] == xerox.

Tricks:

  • restart firefox is required after modification of the print command at File -> Print -> Properties
  • Firefox automatically uses a print command lpr ${MOZ_PRINTER_NAME:+’-P’}${MOZ_PRINTER_NAME} which may not work if there’s more than 1 printer.
  • another method suggested is to add: “export MOZ_PRINTER_NAME=printer_name” in .bashrc
  • in some forum, users using thunderbird also have the same problem.