EasyManua.ls Logo

Kyocera KM-1500

Kyocera KM-1500
408 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
PRESCRIBE Command Reference
226
RPG — Return to Previous Graphics state
Format
RPG;
Parameter
None
Function
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.)
File
!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;

Table of Contents

Other manuals for Kyocera KM-1500

Related product manuals