XPRINT SET PIXEL statement

Purpose

Set the color of a pixel on a host printer page.

Syntax

XPRINT SET PIXEL [STEP] (x!, y!) [, rgbColor&]

Remarks

XPRINT SET PIXEL draws a single pixel on the host printer page.  The optional color parameter is an RGB value; if not included, the color defaults to the current foreground color for the host printer. If the STEP option is included, the x! and y! coordinates are relative to the last point referenced ( POS).  The coordinate points are specified in pixels, unless world coordinates were set with an XPRINT SCALE statement.  If no host printer is attached, error 57 is generated.

See also

XPRINT ATTACH, XPRINT COLOR, XPRINT GET PIXEL