Closed Bug 143480 Opened 23 years ago Closed 22 years ago

[ps] incorrect printing due a $MOZ_PRINTER_NAME

Categories

(Core :: Printing: Output, defect)

x86
Linux
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 161634

People

(Reporter: vecchioc, Assigned: rods)

Details

I'have added a list of my printer whith pref("print.printer_list", "hp1 hp2"); in unix.js then in printer properties I have set as command for lpr "xmsg ${MOZ_PRINTER_NAME:+'-P'}${MOZ_PRINTER_NAME}" xmsg is a simple script like this ----- #!/bin/sh TMP=/tmp/xmsg.$$ ( echo ARG= $* ; echo ---- ; env ) > $TMP xmessage $TMP ------ If I print a page, choosing the (for example) the 'hp1' printer: in 0.9.9 : then MOZ_PRINTER_NAME is incorrectly inserted in the environment ( the /tmp/xmsg contains an entry like this: "(^M<E0><89>T@TER_NAME=hp1" in rc1 and in 2002050921 the variable is not present.
Over to "component: Printing"... The "component: Printing/Xprint" is for Mozilla's Xprint module (it handles printing, too - but in a different way) ...
Assignee: katakai → rods
Component: Printing: Xprint → Printing
QA Contact: Roland.Mainz → sujay
Summary: incorrect printing due a $MOZ_PRINTER_NAME → [ps] incorrect printing due a $MOZ_PRINTER_NAME
bz: Can you reproduce this problem ?
can amybody reproduce this problem (with 1.1beta or so)?
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
verified.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.