Closed Bug 290168 Opened 20 years ago Closed 20 years ago

Printer pulldown selector truncates "/" in CUPS instances

Categories

(Core :: Printing: Output, defect)

1.7 Branch
x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 279298

People

(Reporter: pmurphy+bugzilla, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2

On systems where /etc/cups/lpoptions (or ~/.lpoptions) is present,
the CUPS instances are improperly displayed.  A typical instance would be:

     Dest ps1/dup sides=two-sided-long-edge

but this results in two entries in the list:

     PostScript/ps1
     PostScript/ps1

whereas I think it should show:

     PostScript/ps1
     PostScript/ps1/dup

This should be an easy fix.  In theory.  I think.

Reproducible: Always

Steps to Reproduce:
1. Make sure you have a CUPS server and CUPS_SERVER env. var. is set
2. Make sure /etc/cups/lpoptions has at least one "instance" for a printer
3. Try to print any page (File -> Print); in the pulldown menu you can't tell
   which is the instance.
Actual Results:  
Page prints, but you don't know if you sent to the duplex or simplex instance.

Expected Results:  
Display instances with embedded "/" correctly.
Assignee: bugs → printing
Component: OS Integration → Printing
Product: Firefox → Core
QA Contact: os-integration
Version: unspecified → 1.7 Branch
Interesting. We're simply asking CUPS for the list of printers...
I think this is the issue from bug 279298, only for the aviary and 1.7 branches.
The extra text is an instance name, which is separate from the destination name.

Pat, if you're interested in trying a prerelease version, this should be fixed
in the mozilla 1.8 beta releases and current firefox "trunk" nightly builds.
Status: UNCONFIRMED → NEW
Ever confirmed: true
It would seem that Kenneth Herron's comments were correct.  I checked the
"trunk" nightly of firefox 2005-04-12 version just now and it shows the
CUPS instances correctly.

Thanks for taking the time to investigate this.  Will look forward to seeing
it in a future firefox release :)

                                           - Pat
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED

*** This bug has been marked as a duplicate of 279298 ***
Resolution: FIXED → DUPLICATE
*** Bug 300769 has been marked as a duplicate of this bug. ***
You need to log in before you can comment on or make changes to this bug.