Detailed instructions for use are in the User's Guide.
[. . . ] PRESCRIBE Commands
for Kyocera Mita Print System
Command Reference
We shall have no liability or responsibility to customers or any other person or entity with respect to any liability, loss or damage caused or alleged to be caused directly or indirectly by equipment sold or furnished by us, including, but not limited to, any interruption of service, loss of business or anticipatory profits, or consequential damages resulting from the use or operation of the equipment or software. NO LIABILITY WILL BE ASSUMED FOR ANY DAMAGE CAUSED BY IMPROPER INSTALLATION. Notice on Software SOFTWARE USED WITH THIS PRINTER MUST SUPPORT THE PRINTER'S NATIVE MODE OR ONE OF ITS EMULATION MODES. Notice This manual, the computer programs in the page printer referred to in this manual, and any other copyrightable subject matter sold or provided with or in connection with the sale of the page printer, are protected by copyright. [. . . ] Coordinates and radius are measured in the units designated by the UNIT command; the starting and ending angles are measured counterclockwise from the positive x axis. To draw a simple arc as specified by the parameters, the cursor must be moved to the beginning of the arc by using the PMRA command. (See the example below. ) The arc is drawn at the starting angle through the ending angle in counterclockwise direction only. After the path is stroked, the cursor remains at the ending angle of the arc.
File
!R!RES; UNIT C; NEWP; SPD . 1; PMZP 5. 0, 10. 0; PARC 6. 5, 12. 5, 1. 5, 180, 270; STRK; NEWP; CMNT This program draws a circle; PMRA 6. 5, 18, 1. 5, 0; CMNT Moves cursor 1. 5 cm by 0 degree; PARC 6. 5, 18, 1. 5, 0, 360; STRK; PAGE; EXIT;
175
PRESCRIBE Command Reference
Printout
176
PAT
PAT -- select fill PATtern
Format
PAT pattern-number[, resolution];
Parameters pattern-number:
number from 1 to 60 or 100 to 105
resolution:
300 [dpi], 600 [dpi], or 1200 [dpi]
Function
The PAT command specifies the shading pattern used by the BLK and ARC commands and to fill a path. The pattern-number should be any number between 1 through 60 if a resident pattern is selected. A full list of the printer's resident patterns appear on the following page. Pattern numbers 100 through 105 are reserved for selecting the expanded patterns and can be generated by using the XPAT command. If you specify a pattern number between 100 and 105 when no expanded patterns are defined, the printer selects the No. Variable resolution support is valid for 600 dpi and 1200 dpi models only.
177
PRESCRIBE Command Reference
Resident Fill Patterns (300 dpi)
178
PCRP
PCRP --
Format
in Path, Curve to Relative Position
PCRP x1, y1, x2, y2, x3, y3;
Parameters x1, y1:
coordinates of the first control point as measured from the current cursor position
x2, y2:
coordinates of the second control point as measured from the current cursor position
x3, y3:
coordinates of the end point as measured from the current cursor position
Function
The PCRP command adds a Bézier curve segment to the path, starting from the current cursor point, referred to as current position as shown at right, through two control points of (x1, y1) and (x2, y2), and ending at (x3, y3).
Example:
NEWP; PMZP 5, 10; PCRP 2. 5, -4, 7, -5, 7, 0; STRK;
179
PRESCRIBE Command Reference
File
!R!RES; UNIT C; NEWP; SPD . 1; PMZP 3, 3; PCRP 4, 2, 5, 1. 5, 6, 1. 8; STRK; PAGE; EXIT;
Printout
Current positon
(5, 1. 5) (4, 2) (6, 1. 8)
File
!R!RES; UNIT C; NEWP; SPD . 1; PMZP 3, 3; PCRP 5. 5, 1. 5, 1. 5, 5. 5, 7, 7; STRK; PAGE; EXIT;
Printout
Current positon
(5. 5, 1. 5)
(1. 5, 5. 5)
(7, 7)
180
PCZP
PCZP -- in Path, Curve to Zero-relative Position
Format
PCZP x1, y1, x2, y2, x3, y3;
Parameters x1, y1:
coordinates of the first control point as measured from the left and top edge limits of paper
x2, y2:
coordinates of second control point as measured from the left and top edge limits of paper
x3, y3:
coordinates of end point as measured from the left and top edge limits of paper
Function
The PCZP command adds a Bézier curve segment to the path, starting from the current cursor position through two controls points of (x1, y1) and (x2, y2), and ending at (x3, y3), measured from the left and top edge limits of the paper.
Example:
NEWP; PMZP 1. 5, 3. 5; PCZP 4. 5, 1. 5, 5. 5, 5. 5, 8, 3. 5; STRK;
(4. 5, 1. 5)
(8, 3. 5) Current position (1. 5, 3. 5)
(5. 5, 5. 5)
181
PRESCRIBE Command Reference
File
!R!RES; UNIT C; PMZP 3, 6; PCZP 11, 3, 2, 2, 9, 6; STRK; PAGE; EXIT;
Printout
(2, 2) (11, 3)
(9, 6) Current position (3, 6)
182
PDIR
PDIR -- set Print DIRection
Format
PDIR angle;
Parameter angle:
angle in degrees; in 90° increments in a counterclockwise direction 0 = portrait 90 = landscape 180 = reverse portrait 270 = reverse landscape
Function
The PDIR command rotates the coordinates of the logical page by the degree represented by the value of the angle which orients the page in one of four directions. When the print direction is changed by the PDIR command, the logical page coordinate system is transformed so the margins maintain the same printable area (the area enclosed by the margins) as shown on next page. The current position uses the same coordinate values as the previous print direction; line-spacing, and the character-spacing of the current font are effected by the new print direction as are the raster and pattern graphics. Scalable fonts should be used for printed text in different page directions. The PDIR command rotates only the coordinates of the logical page on the current page orientation and does not affect the current page orientation. A bitmap font prints text according to the current page orientation (it adheres to the current font mode). The PDIR command does not cause a page break, so you can print text in four different directions on the same page as shown in the sample file on the next page.
183
PRESCRIBE Command Reference
Portrait (PDIR 0;)
Landscape (PDIR 90;)
Reverse Landscape (PDIR 270;)
Reverse Portrait (PDIR 180;)
File
!R!RES; UNIT P; SFNT 'Helvetica', 8; UNIT C; MZP 10, 12; SPD . 144; CIR . 075; PDIR PDIR PDIR PDIR PAGE; EXIT; 270; TEXT ' ENDLESS VARIETY AND VERSATILITY'; 180; TEXT ' ENDLESS VARIETY AND VERSATILITY'; 90; TEXT ' ENDLESS VARIETY AND VERSATILITY'; 0; TEXT ' ENDLESS VARIETY AND VERSATILITY';
184
PDIR
Printout
185
PRESCRIBE Command Reference
PDRP --
Format
in Path, Draw to Relative Position
PDRP x-coordinate, y-coordinate, . . . ;
Parameters x-coordinate, y-coordinate:
coordinates as measured from the current cursor position
Function
The PDRP command adds a line to the current path from the current cursor position to a specified relative position, measured in the units designated by the UNIT command. Negative coordinates may draw the line extending outside the current page. The printer then draws a connected series of line segments, proceeding from one point to the next. [. . . ] In the example below, the fourth line XBCP 19 has no coordinating parameters specified. This allows the first segment barcode of the ensuing PDF data to be positioned at the current cursor position and the remaining data on the subsequent pages if there are data beyond the first page. The combinations of MZP and ENDB allow the second and third PDF barcodes printed at the specific coordinates on the following page. : !R!RES; XBCP 0, 1; XBCP 17, "TrnOvr0"; XBCP 19; XBAR; large data such as 3000 bytes;ENDB; PAGE; MZP 1, 2; ENDB; MZP 4, 4; ENDB; EXIT;
369
PRESCRIBE Command Reference
Printout 3
First page
Second page
370
XBUF
XBUF -- define a BUFfer name
Format
XBUF buffer-name[, [data-length]]; data-string;ENDB;
Parameters buffer-name:
name of the buffer that contains XBAR data
data-length:
length of data in bytes, terminated with a semicolon
data-string:
data to be encoded, terminated with a semicolon immediately followed by an ENDB command (256 international characters or binary data)
Function
The XBUF command defines/undefines a buffer that contains actual data for the two dimensional barcodes. [. . . ]