[plug] Mozilla printing woes
Craig Ringer
craig at postnewspapers.com.au
Thu Jul 10 12:24:31 WST 2003
> Has anyone managed to get Mozilla to print properly with Debian and
> Cups?
Yes, but its a pain. You need to export an environment varible telling
it what the available printers are, because it's too dumb to read
/etc/printcap.
export MOZILLA_POSTSCRIPT_PRINTER_LIST="xerox typeset"
Put this in /etc/profile, ~/.bash_profile, or define the environment
variable in /etc/security/pam_env.conf . I use the latter personally, as
I really like the way pam_env handles everything, but you'll need to
make sure pam_env is being used in your PAM config (/etc/pam.d/*) for it
to work.
Once that env var is set, you should be able to set it to A4 once in the
Mozilla print window (click "properties" once you select the printer)
and have it remember the setting correctly for each printer.
> Printing works fine from KDE and OpenOffice.
Becuse they can read the printcap, like any other app except Mozilla
written since 1970-something.
> So: what have I done wrong here?
Nothing, this is mozilla braindeadness. The developers answer it with
"use xprint" which isn't IMHO overly helpful.
Craig Ringer
More information about the plug
mailing list