OT: PCL line background shading

Jay R. Ashworth jra at baylink.com
Mon Apr 12 08:50:22 PDT 2004


On Mon, Apr 12, 2004 at 09:02:31AM -0700, Jim Asman wrote:
> If you are masochistic and want to lay wad of printcodes on the output format, 
> then the code to draw a gray rectangle @ 10% ...
> 
> $1b *c2400a50b10g2P
> 
> You will have to position the gray to it aligns with the text.

That's at absolute coordinates, then?  I was hoping it might be
possible to save the current cursor position (as Bill's code comments
seem to suggest he's doing), then draw a wide rectangle from there, and
restore (maybe with a tiny move in front).

Or is that what you just said?

Cheers,
-- jr 'right away, Skipper' a
-- 
Jay R. Ashworth                                                jra at baylink.com
Member of the Technical Staff     Baylink                             RFC 2100
The Suncoast Freenet         The Things I Think
Tampa Bay, Florida        http://baylink.pitas.com             +1 727 647 1274

        "They had engineers in my day, too."  -- Perry Vance Nelson


More information about the Filepro-list mailing list