Kyocera KM-C2525E PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 45
User Defined Dash Patterns, Printout of the DPAT Example
View all Kyocera KM-C2525E manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 45 highlights
Path Mode Graphics 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-number. (A value of 1 specifies solid lines.) User-defined patterns can be selected by specifying 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 pattern 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; 2-23