Kyocera TASKalfa 4551ci PRESCRIBE Commands Command Reference Manual Rev 5.1 - Page 238
RPG
View all Kyocera TASKalfa 4551ci manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 238 highlights
PRESCRIBE Command Reference 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 220.) 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; 228