Kyocera TASKalfa 3051ci Technical Reference Manual page 45

Prescribe commands
Hide thumbs Also See for TASKalfa 3051ci:
Table of Contents

Advertisement

The following program illustrates use of this command.
!R! RES;
UNIT C; CMNT Sets unit to cm;
NEWP; CMNT Starts new path;
SPD .5; CMNT Sets line width to .5 cm;
PMZP 2, 2;
PDZP 4, 4;
DPAT 5;
STRK;
PAGE;
EXIT;
Figure 2. 20. Printout of the DPAT Example
In this program, the DPAT command selects the dash pattern with which the line is
stroked.
Predefined dash patterns are selected by specifying values from 1 to 10 for pattern-num-
ber. (A value of 1 specifies solid lines.) User-defined patterns can be selected by specify-
ing values from 11 to 20. The next section explains how to use the SDP (Store Dash
Pattern) command to define your own dash patterns. Specifying an undefined user pat-
tern number results in solid black lines.
User Defined Dash Patterns
Using the SDP command, you can define your own dashed patterns for use in stroking
lines, arcs, and curves. See the following example:
!R! RES;
UNIT P;
SDP 11, 2, 2, 5, 2;
UNIT C; CMNT Sets unit to cm;
NEWP; CMNT Starts new path;
SPD .5; CMNT Sets line width to .5 cm;
PMZP 2, 2;
PDZP 4, 4;
DPAT 11;
STRK;
PAGE;
EXIT;
Path Mode Graphics
2-23

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents