[13220] in Athena Bugs
rsaix 7.7J: HPLJ4siMX printers
daemon@ATHENA.MIT.EDU (Harry Tsai)
Thu Feb 16 00:01:31 1995
To: bugs@MIT.EDU
Date: Thu, 16 Feb 1995 00:01:16 EST
From: Harry Tsai <hftsai@MIT.EDU>
System name: w20-575-105
Type and version: POWER 7.7J
Display type: POWER_Gt1
What were you trying to do?
Write a PostScript program to print a full-page grid
with .1 inch spacing. (Program text included below.)
What's wrong:
The grid is missing a large block of vertical lines. From 1.3 inches
from the left of the paper to 4.2 inches from the left (approximately
the middle of the page), there simply are no vertical lines.
This problem only occurs on the [Athena HPLJ4siMX] printers.
I tried two different printers, pulp and fiber, with the same
results on both. The GhostScript interpreter (/mit/gnu/bin/gs),
on the other hand, does the right thing, displaying a complete
grid on my screen.
What should have happened:
The printers' PostScript interpreters shouldn't randomly lose
parts of my graphic, especially when an alternate PostScript
interpreter (GhostScript) gives me the result I thought I would
be getting.
Please describe any relevant documentation references:
This is the bare bones of my program. The full version also prints
some numbers propagating from the corners of the page, but this
simplified version is enough to demonstrate the bug. The full version
is in /mit/hftsai/Public/grid.ps
%!
/inch {72 mul} def
/width 8.5 inch def
/height 11 inch def
/gridsize .1 inch def
% y hline--draws a horizontal line across the page at height y
/hline {
/y exch def
0 y moveto
width 0 rlineto
} def
% x vline--draws a vertical line the full height of the page at x
/vline {
/x exch def
x 0 moveto
0 height rlineto
} def
0 gridsize width {vline} for
0 gridsize height {hline} for
0 setlinewidth
.75 setgray
stroke
showpage