Closed Bug 26814 Opened 26 years ago Closed 26 years ago

greyscale printing doesn't work

Categories

(Core :: Printing: Output, defect, P3)

All
Linux
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: colin, Assigned: dcone)

References

Details

(Whiteboard: [dogfood-] [nsbeta2+] [6/01])

This is occurring on OpenVMS port (based on Linux code), but I suspect its not specific to OpenVMS. Can someone with a Linux M13 platform verify this? Customer reports that using the GREYSCALE option when printing the main Mozilla page (http://www.mozilla.org) causes the following to come out on his printer: ERROR: stackunderflow OFFENDING COMMAND: moveto This is with a HP LaserJet 4000. The customer was also using the A4 option. I tried this myself (also with M13 and main Mozilla page). With all the default options the page prints (kind of big and cropped on the right, but I think that's "normal" for M13 Linux). But when I use the GREYSCALE option my printer (HP LaserJet 4ML) refuses to print (indicator lights continually show "data is still in the printer).
For anyone reading this, 24405 is the bug for the problem where text is printing too bug and cropped on the right.
Ooops, should have said bug 24405 in order to get a clickable link.
I see this too on linux build 2000020708.
Status: NEW → ASSIGNED
Target Milestone: M15
Keywords: beta1
Putting on PDT- radar for beta1. Will not hold for this.
Whiteboard: [PDT-]
On Linux build 2000031808, I printed the main mozilla page to postscript, and the problem seems to be that links are still in blue.
Target Milestone: M15 → M17
Target Milestone: M17 → M18
Have a fix.. the number of bytes needs to be divided by 3 for the rowbytes. This is a one line change..
Keywords: beta1 → dogfood, nsbeta2
Whiteboard: [PDT-]
*** Bug 39845 has been marked as a duplicate of this bug. ***
[dogfood-] [nsbeta2+] [6/01]
Whiteboard: [dogfood-] [nsbeta2+] [6/01]
Index: nsPostScriptObj.cpp =================================================================== RCS file: /cvsroot/mozilla/gfx/src/ps/nsPostScriptObj.cpp,v retrieving revision 1.21 diff -r1.21 nsPostScriptObj.cpp 992c992 < XP_FilePrintf(mPrintContext->prSetup->out, "/rowdata %d string def\n",bytewidth); --- > XP_FilePrintf(mPrintContext->prSetup->out, "/rowdata %d string def\n",bytewidth/3); S:\mozilla\gfx\src\ps>
Put in the divide by 3 on the number of bytes.
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
verified fixed.(2000052309)
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.