Closed
Bug 69735
Opened 25 years ago
Closed 25 years ago
PostScript DSC "%%Pages" comment is always zero [ps][print][quick]
Categories
(Core :: Printing: Output, defect)
Tracking
()
VERIFIED
FIXED
Future
People
(Reporter: atontti, Assigned: dcone)
Details
Attachments
(1 file)
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux 2.4.0-0.43.12 i686; en-US; 0.8)
Gecko/20010221
When printing www page to PostScript file Mozilla writes incorrect
DSC comment to header section:
%%Pages: 0
That implies that PostScript file don't use showpage operator in
this job.
Reproducible: Always
Steps to Reproduce:
1. Print any www page to PostScript file
2. Check PostScript file with less command
| Reporter | ||
Comment 1•25 years ago
|
||
| Reporter | ||
Updated•25 years ago
|
Updated•25 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 2•25 years ago
|
||
setting status to NEW to get this looked at.
| Assignee | ||
Comment 3•25 years ago
|
||
What is the exact impact of this problem. Does the page print?
Are any other programs effected by this. Just trying to get a gauge on this
problem.
Severity: normal → trivial
| Reporter | ||
Comment 4•25 years ago
|
||
PostScript printers don't normally interpret DSC comments (but there are
exceptions). DSC comments are for print servers, PostScript processing and
converter programs, error recovery and resource management systems.
Mozilla generates PostScript code which says it conforms to Adobe's
Document Structuring Conventions (DSC) 3.0 by saying
%!PS-Adobe-3.0
but it violates the DSC conformance with incorrect use of %%Pages comment.
More information about DSC can be obtained from document
Adobe Developer Support: PostScript Language Document Structuring
Conventions Specification, Version 3.0, 25 September 1992
It is available from http://www.adobe.com/.
So basicly it is correctness and this bug can cause problems with programs and
services that counts on DSC "%%Pages" comment.
| Reporter | ||
Comment 5•25 years ago
|
||
I forgot the example.
HUT/CC has central print service that counts pages by using those DSC %%Pages
comments. So it logs Mozilla's print jobs incorrectly. The logs are used to
monitor printer usage per user.
| Reporter | ||
Comment 6•25 years ago
|
||
So, where are we going with this?
Or are there any general problems in fixing this bug? I can try to redo the
patch if there is any problems with it.
BTW I think the severity should be minor - not trivial because it is not
cosmetic problem.
| Assignee | ||
Comment 7•25 years ago
|
||
I will look at this.. see if I can put in a quick fix.. but no promises.
Marking future.. because this will sneak in if its really easy to fix.
Severity: trivial → minor
Status: NEW → ASSIGNED
Summary: PostScript DSC "%%Pages" comment is always zero → PostScript DSC "%%Pages" comment is always zero [ps][print]
Target Milestone: --- → Future
| Assignee | ||
Comment 8•25 years ago
|
||
I will try to fix this.. but no promises. I am marking future, but if its an
easy fix.. I will quick fix it.
Summary: PostScript DSC "%%Pages" comment is always zero [ps][print] → PostScript DSC "%%Pages" comment is always zero [ps][print][quick]
Comment 9•25 years ago
|
||
dcone, there appears to be a fix already attached to this bug. The reporter has
asked if there is anything wrong with his patch. Can you review the patch and
if it looks good push this up to super review and get it checked in?
Thanks.
| Assignee | ||
Comment 10•25 years ago
|
||
see.. it was quicker than I thought. I will check in this patch after the right
approvals.
Comment 11•25 years ago
|
||
Seems OK to me (although I know next to nothing about postscript). If you have
tested it and it works, sr=attinasi
| Reporter | ||
Comment 12•25 years ago
|
||
Any chance for getting this in before 0.8.1?
| Assignee | ||
Comment 13•25 years ago
|
||
Fixed
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
| Reporter | ||
Comment 14•25 years ago
|
||
Sorry, but I cannot see it in trunk? Or have I misunderstood something?
Comment 15•25 years ago
|
||
Well, don just checked the fix in on 2001-03-12 at 7:00 PST or so. Not sure why
it got marked as fixed on the 8th...
In any case, the fix should be in tonight's builds.
| Reporter | ||
Comment 16•25 years ago
|
||
Boris and Don: thanks
| Assignee | ||
Comment 17•25 years ago
|
||
I thought I checked in this fix on the 8th.. but was mistaked. I checked it in
this morning.. and things should be ok now.
Comment 18•25 years ago
|
||
Asko, is this working for you now? if so please mark VERIFIED-FIXED.
thanks.
You need to log in
before you can comment on or make changes to this bug.
Description
•