Bug 228710 - setpagedevice without Begin/EndFeature pair in print output
setpagedevice without Begin/EndFeature pair in print output
Product: Fedora
Classification: Fedora
Component: firefox (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Gecko Maintainer
Depends On:
  Show dependency treegraph
Reported: 2007-02-14 11:26 EST by Tim Waugh
Modified: 2018-04-11 09:38 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-05-15 18:47:06 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
Mozilla Foundation 334485 None None None Never
CUPS Bugs and Features 1542 None None None Never

  None (edit)
Description Tim Waugh 2007-02-14 11:26:24 EST
Description of problem:
When printing a page from Firefox, the print output looks like this:

/setpagedevice where
{ pop 2 dict
  dup /PageSize [ 595.25 841.9 ] put
  dup /Policies 1 dict
    dup /PageSize 3 put
} if
[ /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef

but I think it should look like this:

%%BeginFeature: *PageSize A4
/setpagedevice where
{ pop 2 dict
  dup /PageSize [ 595.25 841.9 ] put
  dup /Policies 1 dict
    dup /PageSize 3 put
} if
%%EndFeature: *PageSize
[ /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef

See CUPS STR #1542 for the original complaint:

Please note: Mozilla's output also contains a setpagedevice command without a
corresponding Begin/EndFeature pair, which might cause problems with some

Please file a bug upstream with them to add:

    %%BeginFeature: *PageSize sizename
    ... existing code
    %%EndFeature: *PageSize

"sizename" would be "Letter", "A4", etc.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Print something (anything) to file, and examine the results
Comment 1 Matěj Cepl 2007-05-15 18:47:06 EDT
It is not exactly duplicate of this bug, but when this
https://bugzilla.mozilla.org/show_bug.cgi?id=334485 upstream bug is resolved,
this bug will become automatically obsolete, because there will be no
setpagedevice command whatsoever. Closing as UPSTREAM and waiting for the
upstream bug to be resolved and a patch coming to us.

Note You need to log in before you can comment on or make changes to this bug.