Closed
Bug 122494
Opened 23 years ago
Closed 23 years ago
Xprint has problems parsing paper size enumaerations with tray names
Categories
(Core Graveyard :: Printing: Xprint, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla0.9.9
People
(Reporter: roland.mainz, Assigned: roland.mainz)
References
Details
Xprint has problems parsing paper size enumaerations with tray names.
Example (model-config):
-- snip --
*content-orientations-supported: portrait landscape reverse-portrait
reverse-landscape
*descriptor: Hewlett-Packard LaserJet 5N/5MN (PCL)
*document-formats-supported: {PCL 5}
*input-trays-supported: hp-tray-1 hp-tray-2 hp-tray-3 hp-envelope-feeder
*medium-source-sizes-supported: \
{ '' \
{na-letter FALSE {6.35 209.55 6.35 273.05}} \
{executive FALSE {6.35 177.8 6.35 260.35}} \
{iso-a4 FALSE {6.35 203.65 6.35 290.65}} \
{na-legal FALSE {6.35 209.55 6.35 349.25}} \
} \
{ hp-tray-1 \
{na-letter FALSE {6.35 209.55 6.35 273.05}} \
{executive FALSE {6.35 177.8 6.35 260.35}} \
{iso-a4 FALSE {6.35 203.65 6.35 290.65}} \
{iso-a5 FALSE {6.35 141.65 6.35 203.65}} \
{iso-c5 FALSE {6.35 155.65 6.35 222.65}} \
{iso-designated-long FALSE {6.35 103.65 6.35 213.65}} \
{jis-b5 FALSE {6.35 175.65 6.35 250.65}} \
{monarch-envelope FALSE {6.35 91.948 6.35 184.15}} \
{na-legal FALSE {6.35 209.55 6.35 349.25}} \
{na-number-10-envelope FALSE {6.35 98.425 6.35 234.95}} \
} \
{ hp-envelope-feeder \
{iso-c5 FALSE {6.35 155.65 6.35 222.65}} \
{iso-designated-long FALSE {6.35 103.65 6.35 213.65}} \
{jis-b5 FALSE {6.35 175.65 6.35 250.65}} \
{monarch-envelope FALSE {6.35 91.948 6.35 184.15}} \
{na-number-10-envelope FALSE {6.35 98.425 6.35 234.95}} \
}
*plexes-supported: simplex duplex tumble
*printer-model: Hewlett-Packard LaserJet 5N/5MN (PCL)
*printer-resolutions-supported: 600 300 200 150 100 75
*xp-ddx-identifier: XP-PCL-MONO
*xp-listfonts-modes-supported: xp-list-internal-printer-fonts
xp-list-glyph-fonts
*xp-embedded-formats-supported: {HPGL 2} {PCL 5}
*xp-raw-formats-supported: {HPGL 2} {PCL 5}
*xp-setup-proviso: xp-setup-optional
-- snip --
XpuEnumerateXpAttributeValue() fails to enumerate the paper sizes in the
"hp-tray-1" tray (fortunately the XpuParseMediumSourceSize() is very strict and
just skips the incoming rubbish...)...
Assignee | ||
Comment 1•23 years ago
|
||
A lex/yacc parser for the Xp attribute stuff would be nice - but that would make
the current xprintutil code non-threadsafe due the use of global vars. Fun...
;-(
Assignee | ||
Comment 2•23 years ago
|
||
Switching QA<-->Owner
Assignee: katakai → Roland.Mainz
QA Contact: Roland.Mainz → katakai
Assignee | ||
Updated•23 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.9
Assignee | ||
Comment 3•23 years ago
|
||
Added fix to patch in bug 120916 ("PostScript/Xprint module revamp") ...
Depends on: 120916
Assignee | ||
Comment 4•23 years ago
|
||
Fixed by patch from bug 120916, marking bug as FIXED.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Updated•17 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•