Closed Bug 172726 Opened 22 years ago Closed 22 years ago

[ps] MOZ_PRINTER_NAME not set

Categories

(Core :: Printing: Output, defect)

Sun
Solaris
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 161634

People

(Reporter: bill.shannon, Assigned: rods)

Details

User-Agent:       Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.1) Gecko/20020827
Build Identifier: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.1) Gecko/20020827

The environment variable MOZ_PRINTER_NAME is not set when printing using the
Postscript (non-Xprint) printing method.  The default print command is
lpr ${MOZ_PRINTER_NAME:+'-P'}${MOZ_PRINTER_NAME} but in fact lpr is never
invoked with the -P option, as can be easily seen by creating an lpr script
and echoing the arguments.

Note that I have MOZILLA_POSTSCRIPT_PRINTER_LIST='sp lp ps _default'.  No
matter which printer I select, MOZ_PRINTER_NAME isn't set, and the printout
goes to the default printer.

Reproducible: Always

Steps to Reproduce:
1. export MOZILLA_POSTSCRIPT_PRINTER_LIST='sp lp ps _default'
2. mozilla
3. select Print and select one of the printers in the list

Actual Results:  
Printout is sent to default printer, not selected printer.

Expected Results:  
Printout should be sent to selected printer.
IMHO this is a DUPlicate of bug 161634 ("envvar should not be freed after
PR_SetEnv") ...

*** This bug has been marked as a duplicate of 161634 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Summary: MOZ_PRINTER_NAME not set → [ps] MOZ_PRINTER_NAME not set
verified.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.