Home > Kyocera > Printer > Kyocera FS 1028DP User Manual

Kyocera FS 1028DP User Manual

Here you can view all the pages of manual Kyocera FS 1028DP User Manual. The Kyocera manuals for Printer are available online for free. You can easily download all the documents as PDF.

Page 31

2-9
Drawing Circles 
The CIR (draw circle) command draws a circle of a specified radius using the line thick-
ness set by the SPD (set pen diameter) comm and. The circle drawn is centered on the 
current cursor position; the position of the cursor remains unaffected. See the following 
example: 
!R! RES; UNIT C;
SPD 0.1;
MZP 8, 8;
CIR 1;
CIR 2;
CIR 3;
PAGE;
EXIT; 
Figure 2. 7.  Circles   
Lines 1, 2 and 3 start PRESCRIBE mode, reset  the printing system to its default parame-
ters, establish the unit of...

Page 32

Chapter 2 Graphics Tutorial
2-10
A filled block consists simply of a rectangle of any desired dimensions. A filled arc is an 
area enclosed by an arc segment and the line  segments extending from the ends of the arc 
to the center of the circle  of which the arc is a part. 
This section shows how to select a fill pattern and print a filled block or arc. 
Drawing Filled Blocks 
The following command sequence prints the block shown below. 
!R! RES; UNIT P;
MZP 72, 72;
PAT 6;
BLK 72, -144, H;
PAGE;
EXIT;...

Page 33

2-11
The BLK (draw filled-in BLocK) command on line 5 actually draws the filled in block. 
This command closely resembles the BOX co mmand explained in the preceding section. 
However, whereas the BOX command draws a  line around a rectangular area, the BLK 
command fills a rectangular area with the currently selected pattern. 
As with the BOX command, th e position of the rectangular area with respect to the cur-
sor depends on the sign of the values specified for width and height. The box is drawn to...

Page 34

Chapter 2 Graphics Tutorial
2-12
Defining Fill Patterns 
With a little work, you can construct your own fill patterns. You can generate 8 × 8 dot 
patterns using the FPAT (generate Fill PATtern) command, or 16 × 16 dot patterns using 
the XPAT (generate eXpanded fill PATtern) command. This section gives examples of 
both. 
!R! RES;MZP 1, 1;
FPAT 16, 40, 68, 130, 65, 34, 20, 8;
BLK 1, 1;
PAGE;
EXIT; 
Line 4 of this command sequence prints a filled block using a fill pattern defined by the 
FPAT command on...

Page 35

2-13
!R! RES;XPAT 100;
@X0@ | 0Af0CC0FA8L@

Page 36

Chapter 2 Graphics Tutorial
2-14
 
If the character resulting for section x of any row is @ (indicating  that all bits in that sec-
tion are white), then that charact er may be omitted. If sections x and  y are both @, then 
both characters may be omitted. Howe ver, if the result for section y is @ and that for sec-
tion  x is a character other than @, then no char acters may be omitted. In terms of the pro-
gram example above, what this m eans is that the bit map string,
@X0@ | 0Af0CC0FA8L@

Page 37

2-15
Figure 2. 12.  PIE Example   
The PIE command uses the format
PIE radius , starting angle,  size of slice, ... ; 
In the example above, the  radius is 2 centimeters (since we set the unit to centimeters 
with the UNIT command), and the starting angle  is 0 degrees. Four pie slices are speci-
fied, with sizes of 10, 20, 30, and 40. 
The printing system automatically converts the slice sizes to angles totalling 360 
degrees. Then it draws the first slice with  a cut at the angle specified by the...

Page 38

Chapter 2 Graphics Tutorial
2-16
Figure 2. 13.  Pattern Filled PIE   
This program first draws four filled arcs, each using a different fill pattern, then prints 
the pie chart over the arcs. Each arc has an inne r radius of zero, an outer radius of 2 (the 
same as the pie chart), and a  starting angle and ending angle  that correspond to the rela-
tive size of the pie slices. Since the total si ze of the pie slices in the example is 100 
(10+20+30+40), the angular extent of each arc is equal to 360 x...

Page 39

Path Mode Graphics
2-17
There are no restrictions on the shape of a path. A single path may include multiple 
closed  subpaths, representing several areas, and a pa th may intersect itself in an arbitrary 
manner. 
The order of the segments that define a path is significant. A pair of line segments is said 
to connect only if they are defined consecuti vely, with the second segment starting where 
the first one ends. Non-consecutive segments that meet or intersect fortuitously are not 
connected. 
A...

Page 40

Chapter 2 Graphics Tutorial
2-18
Drawing Lines 
The following example shows how to draw a line in the path mode. 
!R! RES; NEWP;
PMZP 1, 1;
PDZP 2, 3;
STRK;
PAGE;
EXIT; 
Figure 2. 14.  Drawing Lines in Path Mode   
Line 1 of the program switches the printing  system to the PRESCRIBE mode and resets 
printing system parameters, including the unit (to inches), line width (to 3 dots), and var-
ious other aspects of  the graphics state. 
Path construction begins with the NEWP co mmand on line 2. This command...
Start reading Kyocera FS 1028DP User Manual

Related Manuals for Kyocera FS 1028DP User Manual

All Kyocera manuals