Rpg - Return To Previous Graphics State - Kyocera KM-1500 Command Reference Manual

Kyocera km-1500: user guide
Hide thumbs Also See for KM-1500:
Table of Contents

Advertisement

PRESCRIBE Command Reference
RPG —
Return to Previous Graphics state
Format
Parameter
Function
File
226
RPG;
None
The RPG command restores the graphics state most recently saved by a SCG (Save
Current Graphics) command. The following items of graphics state revert to the state
saved previously.
Path and cursor position (if defined)
Pen diameter (line width)
Line join type
Line cap type
Miter limit
Dash pattern
Flatness
×
Fill pattern (16
16 dots)
Clipping rectangle
Raster resolution
Image model
It is useful to save the graphics state then later restore it when you want to use a path for
both stroking and filling. One such example is shown below.
The RPG command does not affect other printing system parameters such as page
orientation, unit of measurement, etc. (See RES on page 218.)
!R! RES; UNIT C;
NEWP;
PMZP 4, 2;
PARC 3, 3, 1, 90, 270;
PARC 5, 3, 1, 270, 90;
CLSP;
SCG;
CMNT Saves the graphics state;
STRK;
CMNT Strokes the path;
RPG;
CMNT Restores the graphics state;
GPAT .5;
FILL 1; CMNT Fills the path;
PAGE;
EXIT;

Advertisement

Table of Contents
loading

This manual is also suitable for:

Taskalfa 4501i

Table of Contents