Rpg - Return To Previous Graphics State - Kyocera DP-1800 Command Reference Manual

Prescribe commands command reference manual rev 4.8
Hide thumbs Also See for DP-1800:
Table of Contents

Advertisement

PRESCRIBE Command Reference
RPG —
Return to Previous Graphics state
Format
Parameter
Function
File
228
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 220.)
!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;

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dp-3600Dp-2800Fs c5015nFs c5020nFs c5030nFs-1010n ... Show all

Table of Contents