Closed Bug 39845 Opened 26 years ago Closed 26 years ago

PostScript /rowdata bug

Categories

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

x86
Linux
defect

Tracking

()

VERIFIED DUPLICATE of bug 26814

People

(Reporter: erik, Assigned: dcone)

Details

Subject: PATCH: Mozilla printing Date: Mon, 08 May 2000 19:15:18 +0000 From: etrapani@unesco.org.uy Newsgroups: netscape.public.mozilla.layout Mozilla does not print for me the vast majority of the pages I've tried. In fact, I think that most pages having images will not work. I am using the program built from the cvs version updated today 20000508, 01:00 GMT. The program is running on a Pentium PC with Debian potato. The kernel is Linux 2.2.12 and I have a postscript printer. Anyway, a patch (it just modifies one line) is attached to this message. With this patch I have printed all the pages I couldn't print before (www.mozilla.org, www.altavista.com, etc). Bye, Eduardo. --- gfx/src/ps/nsPostScriptObj.cpp.orig Mon May 8 15:46:24 2000 +++ gfx/src/ps/nsPostScriptObj.cpp Mon May 8 15:46:47 2000 @@ -975,7 +975,7 @@ cbits = 8; XP_FilePrintf(mPrintContext->prSetup->out, "gsave\n"); - XP_FilePrintf(mPrintContext->prSetup->out, "/rowdata %d string def\n",bytewidth); + XP_FilePrintf(mPrintContext->prSetup->out, "/rowdata %d string def\n",bytewidth / 3); translate(aX, aY + aHeight); XP_FilePrintf(mPrintContext->prSetup->out, "%g %g scale\n", PAGE_TO_POINT_F(aWidth), PAGE_TO_POINT_F(aHeight)); XP_FilePrintf(mPrintContext->prSetup->out, "%d %d ", width, height);
Status: NEW → ASSIGNED
Target Milestone: --- → M17
*** This bug has been marked as a duplicate of 26814 ***
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → DUPLICATE
Verified duplicate.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.