Kyocera FS 820 PRESCRIBE Commands Technical Reference Manual - Rev. 4.7
Kyocera FS 820 - B/W Laser Printer Manual
View all Kyocera FS 820 manuals
Add to My Manuals
Save this manual to your list of manuals |
Kyocera FS 820 manual content summary:
- Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 1
PRESCRIBE Commands Technical Reference - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 2
- Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 3
or errors in the present edition. No responsibility is assumed if accidents occur while the user is following the instructions in this manual. No responsibility is assumed for defects in the printing system's firmware. Regarding Tradenames PRESCRIBE is a registered trademark of Kyocera Corporation - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 4
than three printing systems, not warrant that the Software is free from all bugs, errors and omissions. THE PARTIES AGREE THAT ALL OTHER WARRANTIES, EXPRESSED DAMAGES CAUSED BY ABUSE OR MISAPPLICATION OF THE SOFTWARE AND TYPEFACES. 9. New York, U.S.A. law governs this Agreement. 10. You shall not - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 5
control external optional units (feeders, etc.) You can access the features of PRESCRIBE from any of the seven emulation modes. These modes include: • Hewlett-Packard LaserJet emulation • Hewlett-Packard HP 7550A (plotter) emulation • IBM Proprinter X24E (24-pin dot matrix printer) emulation • Epson - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 6
this manual constitute an tutorial introduction to PRESCRIBE. The rests mainly concern advanced utilities and setups: printing system's firmware for customization. Chapter 7 Emulation gives notes on the printing system's various emulation modes. An Index is also provided at the end of this manual - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 7
...2-2 Drawing Boxes and Circles ...2-6 Drawing Filled Shapes...2-9 Path Mode Graphics...2-16 Path ...2-16 Drawing Lines...2-18 Miter Limit ...2-21 Formats 2-34 Commands for Printing Raster Data 2-35 Printing Raster Data...2-37 Changing the Printing System's Imaging Model 2-37 Saving and - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 8
PDF417 ...5-14 Creating a Macro PDF 417 Representation 5-14 Permanent Parameters Interface-dependent Parameters 6-2 Interface-independent Parameters 6-5 Emulation Automatic emulation sensing ...7-3 General Information on Emulation 7-3 Line Printer Emulation (Mode 0) ...7-3 IBM Proprinter X24E - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 9
language of the Kyocera printing systems including copiers (collectively referred to as printing systems hereafter). application software controls printing systems by means of codes and escape sequences that for you to customize printing and add features that may not be supported by your application. - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 10
at any time during operation from any emulation mode. The initializing string that takes the printing system from the usual text-printing mode into the PRESCRIBE mode is !R!. The command that returns it from the PRESCRIBE mode to the emulation mode is EXIT;. These transitions are diagramed in the - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 11
a semicolon. The use of PRESCRIBE commands in document files is conditional on the behavior of your word processing software. Some word processing programs add control codes that interNote fere with PRESCRIBE. If you cannot control software in this way, try using a non-word processing - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 12
. Spaces, carriage return codes, and line feed codes are generally ignored in PRESCRIBE discusses a few basic concepts concerning how the printing system prints on the page. These concepts are: of the paper cassette (although not to the size of manually fed paper). The edge limits can also be set to - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 13
margin does not occur at an exact number of lines, excess space is printed at the top of the next page. If you are using word-processing called portrait and a horizontal direction would be called landscape. The term print direction, which follows this section, refers to the orientation of the - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 14
remain the same distance from the four edges of the paper. If the printing system cannot make these margin settings (for example, if the left margin would the page orientation. However, in this case, portrait refers to the print direction in which the axes of the coordinate system are oriented in the - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 15
. See the figure on page 10. When the top and left margins are changed, the physical position of the origin changes accordingly. Text Positioning The printing system always keeps track of its current position on the page. The current position can be thought of as a cursor that moves as data is - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 16
Carriage Return MRP 2, 1; Space after EXIT; Cursor ends here Character Spacing Each character is printed within an individual cell as shown below. The character sits on a line called the baseline the right margin, you must use software that supports the printing system's proportional spacing. 1-8 - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 17
to draw lines and curves or specify boundaries of filled areas, including the outline of a character. Paths are explained more fully in section Path Mode Graphics on page 16. Logical Page and Physical Page The logical page defines the limits of the coordinates within which text and graphics can be - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 18
a point to the right of the right edge limit when the standard mode logical page is used. The fine line represents the line as specified by ; the thick line shows what is actually drawn by the printing system. With the path mode logical page, coordinates are not adjusted even if they fall outside - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 19
code values beyond four decimal places, the fifth and subsequent decimal places are ignored. Examples: Number output by computer Number used by printing following string is just text; it does not cause the printing system to exit from the PRESCRIBE mode. TEXT 'NO EXIT; NO RETURN.'; When the string - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 20
command above, the character string starts with a double quotation mark. The printing system therefore expects the string to end with a double quotation mark, the preceding apostrophe or quotation mark, and fails to exit the PRESCRIBE mode. The correct way to write these comments is: Correct: !R! - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 21
prints the capital letter 'A' inside a circle. In the printout shown above, the unit printing system will not enter the PRESCRIBE mode in response to !r!. In this manual, PRESCRIBE commands are printed in upper-case for readability. Outside of PRESCRIBE mode, the printing Packard's printer control - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 22
Chapter 1 Introduction to PRESCRIBE Similarly, the PRESCRIBE command CSET 11U; designates use of the PC-8 Danish/Norwegian symbol set. The corresponding Hewlett-Packard PCL command is ESC(11U. 1-14 - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 23
wide variety of graphics operators, allowing you to easily construct and print almost any imaginable shape or pattern. This chapter introduces the to use many of its graphic functions. It defines standard graphics mode, path mode graphics, and raster graphics. It explains how to use predefined fill - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 24
circles and rectangles • Draw a variety of filled shapes, including boxes and arcs • Draw pie charts This is referred to as the standard graphics mode because it is a standard feature of all versions of PRESCRIBE. Drawing Lines PRESCRIBE provides a number of Draw to commands for drawing lines in - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 25
printing system to the PRESCRIBE mode . Remember that this command must always precede each sequence of PRESCRIBE commands. The RES (RESet) clears the current page from printing system memory and re-establishes the printing system's permanent defaults graphics mode, this prints out the - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 26
Tutorial Figure 2. 2. Result of Draw Commands: Zero-relative Lines Edge limits MZP 0.5, 1; DZP 2, 0.5; The first two lines switch the printing system to the PRESCRIBE mode, reset printing system parameters, and set the line width to 0.01 inch. On the third line, the MZP (Move to Zero-relative - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 27
Edge limits In this command sequence, the PRESCRIBE mode begins with the !R!, resets the printing system defaults to permanent settings with RES;, and establishes a angles. !R! RES; SPD 0.01; MZP 5, 4; DRPA 2, 149; DRPA 2, 221; DRPA 2, 293; DRPA 2, 365; CMNT Equivalent to 5 degrees; DRPA 2, 437 - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 28
Lines in Angles The first two lines of this command sequence initiates the PRESCRIBE mode, resets printing system defaults to permanent settings, and sets the line width to 0.01 inches. Then the The following command sequence draws a box. !R! RES; UNIT C; SPD 0.1; MZP 3, 3; BOX 3, 4; PAGE; EXIT; 2-6 - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 29
mode and resets printing system parameters. The UNIT C; command on the second line sets the unit of measurement to centimeters, and the SPD (Set Pen Diameter) command on line 3 sets the line width to 0.1 centimeters. (If you omit these two commands, the printing system will print using the default - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 30
Chapter 2 Graphics Tutorial Figure 2. 6. Cursor Positioning Options -Y -X Cursor position X Y BOX 4, 2, H; Moves the cursor to the horizontally adjacent corner BOX 4, 2, V; Moves the cursor to the vertically adjacent corner BOX 4, 2, E; Moves the cursor to the diagonally opposite corner BOX 4, - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 31
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 parameters, establish the unit of measurement as centimeters, and set the line width to 0.1 centimeters. Next, the MZP command moves the cursor to - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 32
P; MZP 72, 72; PAT 6; BLK 72, -144, H; PAGE; EXIT; Figure 2. 8. A Filled Block Lines 1 and 2 put the printing system in the PRESCRIBE mode, reset printing system parameters and set the unit of measurement to points. (One point is equal to 1/72 inches.) Next, the MZP command moves the cursor to the - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 33
radius, starting angle, and ending angle. The following PRESCRIBE demonstrates the ARC command. !R! CMNT Enter PRESCRIBE mode; RES; CMNT Reset printing system parameters; UNIT C; CMNT Set centimeters as unit; PAT 9; CMNT Select pattern 9; MZP 8, 8; CMNT Move cursor to point that is 8 cm; CMNT from - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 34
) 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 line 3. Each of the eight numbers in the FPAT defines one row of an - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 35
on the next page, defining it as pattern 100. The PAT command on line 5 selects the pattern for use in fills. Line 6 prints the filled block. Figure 2. 11. Dot Pattern and a Filled Block 16 bits 32 16 8 4 2 1 32 16 8 4 2 result is the ASCII code of the character that represents that section. 2-13 - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 36
effective until they are redefined by another XPAT command, or until the printing system is turned off. Drawing Pie Charts The standard graphics mode provides a convenient function for drawing pie charts. See the following example: !R! RES; UNIT C; SPD .05; MZP 10, 10; PIE 2, 0, 10, 20, 30, 40; PAGE - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 37
to centimeters with the UNIT command), and the starting angle is 0 degrees. Four pie slices are specified, 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 - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 38
Path Mode Graphics With path mode graphics, images are constructed by defining lines and curves as paths, then rendering them as images by a gray scale pattern, ranging from black to white, or with one of the printing system's predefined patterns. In order to be filled, a path must be closed; that - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 39
Path Mode Graphics There are no restrictions on the shape of a path. A single up of one or more subpaths. Subpaths may be either open or closed. Path construction begins with a NEWP (NEW Path) command. Path construction ends with the CLSP (CLoSe Path) command or with any paint operator that paints - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 40
PRESCRIBE mode and resets printing system parameters, including the unit (to inches), line width (to 3 dots), and various other aspects of the graphics state. Path construction begins with the NEWP command on line 2. This command empties the current path (if any), making it possible to start a new - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 41
to the preceding example. Line 1 switches the printing system to the PRESCRIBE mode and resets printing system parameters, line 2 empties the current path, line 6 draws a line to the point 1 inch to the left of the new position and 1 inch below it. The line thickness is changed to 0.04 inches - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 42
Ends Square caps Butt caps Round caps The default line end type is butt caps. You mode; Values for line-cap mode include: 1 (for square caps) 2 (for butt caps) 3 (for round caps) Use of this command is illustrated in the following example. !R! RES; UNIT C; CMNT Sets unit to cm; NEWP; CMNT Starts new - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 43
18. Joins Beveled join Mitered join Round join Notched join The default line join type is beveled. With beveled joins, connected line JoiN) command. This command uses the following format: SLJN line-join mode; Values for line-join mode include: 1 (for beveled joins) 2 (for mitered joins) 3 - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 44
limit is to prevent objectionably long spikes when lines join at small angles. The default miter limit is 10, which results in beveled joins at angles of less 4 29 5 23 6 19 7 16 8 14 9 13 Dash Type By default, the STRK command strokes paths with solid lines. However, you can also use - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 45
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 - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 46
command remain valid until redefined with another SDP command, or until the printing system is turned off. Drawing Arcs and Curves A path can include curves ending angle. Coordinates and radius are measured in the unit currently designated by the UNIT command, and the starting and ending angles are - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 47
Figure 2. 22. Printout of the PARC Example Path Mode Graphics After the arc is drawn, the cursor is specified by the PMRA (Path, Move to Relative position specified by Angle) command prior to drawing the arc. !R! RES UNIT C; NEWP; SPD .1; PMRA 5, 5, 3, 45; PARC 5, 5, 3, 45, 135; STRK; PAGE; EXIT; - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 48
Chapter 2 Graphics Tutorial Figure 2. 24. Printout of a Circle Made with PMRA Drawing Complex Curves PRESCRIBE also provides a second curve-drawing operator for constructing complex curves that are referred to as Bézier curve segments. The PCRP (Path, Curve to Relative Position) uses the following - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 49
Path Mode Graphics The curve leaves the current position in the direction of x1, y1, and defined by the starting point, x1, y1, x2, y2, and x3, y3. See the following examples: !R! RES; UNIT C; NEWP; SPD .1; PMZP 3, 3; PCRP 4, 2, 5, 1.5, 6, 1.8; STRK; PAGE; EXIT; Figure 2. 26. Printout of the PCRP - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 50
Chapter 2 Graphics Tutorial !R! RES; UNIT C; NEWP; SPD .1; PMZP 3, of flatness with the FLAT (set FLATness) command. The default flatness is 1 (dot). Setting smaller values of flatness results , the difference is more noticeable with lower print resolutions [for example, 300 dpi resolution].) The - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 51
RES; UNIT C; NEWP; SPD .1; FLAT 60; PMZP 5, 5; PCRP 4, 2, 5, 4, 4, 0; STRK; PAGE; EXIT; Figure 2. 30. Curve with Flatness 60 Path Mode Graphics an open path, or it can be filled with gray-scale shading or a standard mode fill pattern. Simply ending a path at the path's starting point does not make - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 52
Chapter 2 Graphics Tutorial Figure 2. 31. A Closed Path Filled Areas !R! RES; UNIT C; NEWP; GPAT .5; PMZP 4, 2; PARC 3, 3, 1, 90, 270; gray scale pattern. Note that we could have filled the path with a standard mode fill pattern instead of a gray-scale pattern. The only change necessary would be to - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 53
Path Mode Graphics With simple convex paths such as that shown below, the next two figures, the rule determines areas that are deemed to be inside the path. !R! RES; UNIT C; PMZP 5, 5; PMRA 5, 5, 2, 0; PARC 5, 5, 2, 0, 360; PMRA 5.2, 5.2, 1.5, 0; PARC 5.2, 5.2, 1.5, 0, 360; PMRA 5.5, 5.5, 1, 0; PARC - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 54
define the rectangular region for clipping paths. When the printing system is turned on or reset with PRESCRIBE's the page and the rectangle defined by CLPR. The following is an example of CLPR. !R! RES; UNIT C; NEWP; SPD 1; PMRA 6, 9, 3, 0; PARC 6, 9, 3, 0, 360; CLPR 3, mode graphics commands. 2-32 - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 55
Path Mode Graphics Printing with be either stroked or filled. See the following example. !R! RES; UNIT P; NEWP; PAT 26; SFNT 'Helvetica-Bd', 54; PMZP 72, Figure 2. 35. Character Path Line 2 of this program sets the unit to printing system's points (1 point= 1/72 inch), then the NEWP command on - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 56
the path with the selected pattern, and PAGE prints out the page. Raster Graphics While the graphics commands of the standard and path modes draw shapes such as lines, circles, and boxes, raster graphics commands specify individual dots to draw images. The dot resolution is selectable from 75 to - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 57
byte is handled as a new control byte. Commands for Printing Raster Data PRESCRIBE provides a number of commands for printing raster data, including: • the presentation mode; i.e., the orientation of the raster image. If the presentation mode is 0 (the default mode), raster lines print along the - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 58
the raster image that extends outside of the area is clipped. The STR command specifies the resolution at which raster data is printed. The default resolution resolution 1200 dpi resolution (Default) The RVRD and RVCD commands print raster data in the presentation mode specified by the SRO command - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 59
scale pattern is defined by the PAT command, FPAT command, or GPAT command. The source image is any raster graphics image, standard mode graphic, lines or shapes produced by filling or stroking a path, or text printed using any bitmap or scalable font. The manner in which white bits in the pattern - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 60
) Pattern transparency mode = 1 (opaque) Source transparency mode = 1 (opaque) Pattern transparency mode = 0 (transparent) Source transparency mode = 1 (opaque) Pattern transparency mode = 1 (opaque) PRESCRIBE establishes the printing system's imaging model with the SIMG (Set IMaGe model) command - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 61
the Graphics State The graphics state consists of a variety of items that affect how images are rendered on the page. The graphics state contains various information related to path mode graphics and raster mode graphics. Items included in the graphics state include the following: • Current path and - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 62
to Previous Graphics state) command. The following program demonstrates the commands for constructing a path that is both filled and stroked. !R! RES; UNIT C; NEWP; PMZP 4, 2; PARC 3, 3, 1, 90, 270; PARC 5, 3, 1, 270, 90; CLSP; SCG; STRK; RPG; GPAT .5; FILL 1; PAGE; EXIT; The result appears in the - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 63
Chapter 3 Macros After you have gone to the trouble of creating (and debugging) a PRESCRIBE command sequence, it is inefficient to use it only once, but it is a nuisance to type the same sequence repeatedly. - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 64
For example, F-1 and GRY2 are valid macro names. The dummy sign (the default is the percent sign) indicates dummy parameters in the body of the macro. apostrophes, and quotation marks to be printed. If a macro with the same name has already been defined, the new definition is ignored. To redefine a - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 65
Examples of Macros Figure 3. 1. PRESCRIBE Macro Limitations Macro limitations are summarized as follows. Maximum number of macros downloadable to the printing system Maximum nesting levels Maximum length of macro name Maximum number of parameters Maximum length of CALL command PRESCRIBE commands - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 66
is a safety precaution that clears any previous macros out of memory. !R! RES; UNITC; DAM; MCRO LOCATE; SLM %1; STM %2; ENDM; MCRO GRAPH; UNIT C; SPD 0.05; SCS 0.23; MAP 0, -7.3; TEXT %1; MAP 0, 0; BOX 6, -7; MAP -0.1, 0.5; TEXT 'Sun Mon Tue Wed Thu Fri Sat'; MAP 0, -%2; DAP 1, -%3; DAP 2, -%4; DAP - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 67
Figure 3. 2. Macro Example 2 Examples of Macros 3-5 - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 68
This page is left blank intentionally. 3-6 - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 69
the font type (bit map or scalable), symbol set, spacing, pitch, height, style, stroke weight, and typeface family. In selecting a font, the printing system searches the available fonts to match these characteristics based on the highest priority. For details in this regard, see Selecting Fonts - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 70
. These fonts are referred to as downloadable or soft fonts. The printing system accepts as many downloadable fonts as user memory allows. When the HP LaserJet is the printing system's default emulation, the power-up (default) font is Courier. A different default font can be selected by using the - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 71
Font Name Garamond-Hlb Garamond-Krsv Garamond-HlbKrsv Marigold Albertus-Md Albertus-ExBd Arial Arial-Bd Arial-It Arial-BdIt TimesNewRoman TimesNewRoman-Bd TimesNewRoman-It TimesNewRoman-BdIt Helvetica Helvetica-Bd Helvetica-Ob Helvetica-BdOb Helvetica-Nr Helvetica-NrBd Helvetica-NrOb Helvetica- - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 72
Bd LetterGothic-It CourierPS CourierPS-Bd CourierPS-Ob CourierPS-BdOb LinePrinterBM8.5-Roman (Bitmap) KPDL Fonts In KPDL (Kyocera Print-system Description Language) emulation, the printing system provides PostScript-compatible 47 scalable fonts. These fonts are also accessible by using the PRESCRIBE - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 73
Font Name Clarendon-Condensed-Bold Coronet Courier Courier-Bold Courier-BoldOblique Courier-Oblique CourierPCL CourierPCL-Bd CourierPCL-BoldItalic CourierPCL-Italic Garamond-Antiqua Garamond-Halbfett Garamond-Kursiv Garamond-KursivHalbfett Helvetica Helvetica-Bold Helvetica-BoldOblique Helvetica- - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 74
for bold and italic. The following table lists the bitmap fonts and the bitmap font numbers that the previous lineups of Kyocera printers support.The Kyocera printing system behaves exactly in the same manner when it receives these font numbers. It substitutes the scalable fonts for these fonts - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 75
to select a printing system driver within a software application. This third way is preferable because the fonts are integrated directly into the software. In the absence of this support, the user Font) and RPF (Return to Previous Font) • SCCS (Save Current Code Set) and RPCS (Return to Previous - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 76
SET) • FTMD (set bitmap FonT MoDe) • FONT (select current FONT by the FONT Command on page 4-10.). For example, to print text using the scalable Times font (TimesNewRoman) at 10 points typeface name and 10 represents font height in the unit of points. Note that the SFNT command recognizes all - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 77
), memory card (for card option fonts), and printing system RAM (for downloaded fonts). A font in printing system ROM has lower priority than an identical font which selects the desired HP symbol set. In the example below, the Windows symbol set is selected. CSET 9U; HP symbol set values can be - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 78
the innate line spacing for the new font. Each emulation has a default font mode for bitmap fonts which takes effect when the emulation is enabled. Font mode 15 is the default font mode of the Line Printer emulation. The other emulations have lower default font mode values. If you use a variety of - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 79
modes Code Set) and RPCS (Return to Previous Code Set) commands to the SCF and RPF command, respectively. For instance, to select a font using embedded commands, you can save the current font, call a new print commands whereby the PRESCRIBE command placed in a document is recognized as a print - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 80
Commands Word-processing programs with IBM and Epson printer drivers include support for a set of specific typefaces. The Kyocera printing system internally assigns these typefaces to match similar typefaces already in the printing system. Kyocera users may reassign these fonts to create a custom - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 81
is the unprintable delete code. Character 47 (/) may therefore be used instead. The resolution may be specified for 300 or 600 (dpi) only in printing system models that support the 600-dpi resolution printing. LDFC generated 300 dpi characters may print when the default resolution is 300 or 600 - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 82
In addition to a large selection of bitmap and scalable fonts, the printing system supports many symbol sets (also referred to as character sets). The variety of Kyocera supported symbol sets can be attributed to the numerous printer emulations. Most of those symbol sets are the same regarding the - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 83
its identification code which closely resembles the command parameters of the HP printer control language. In the example below, the Windows symbol set set value 37 assigns the ISO-4 U.K. symbol set to the Universe medium font. !R! UNIT P; SFNT 'Universe-Md', 12, 2000, 37, 1, 0; CMNT 37=ISO-4 U.K.; - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 84
This page is left blank intentionally. 4-16 - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 85
Chapter 5 Barcodes This chapter is a tutorial for encoding data into linear barcode and two-dimensional barcodes (PDF barcodes) by using PRESCRIBE commands. The former part of this chapter deals with how to implement the linear barcodes, the latter part explains the PDF417. - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 86
printing system performs the rest of the work, including bar and space generation, symbol translation, insertion of start and stop codes lengths and character sets. also lists a default character that is used to fill out strings UNIT I; BARC 11, N, '123456'; EXIT; !R! BARC 0, Y, '12345678910'; - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 87
and tall parameters specify the short and tall bar heights in the unit designated by the UNIT command (default: inches). The short and tall parameters must be both specified or both omitted. If they are omitted, the default values as shown in Table 5.3. must be specified. Only barcode types 0 to - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 88
printing system uses suitable default values. Table 5.3. indicates the number of width classes and the default values for each barcode type. Barcode 19 (Code EXIT; Barcode 39 (USPS POSTNET) prints a POSTNET barcode on a mail piece. The United States Postal Service (USPS) utilizes POSTNET (POSTal - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 89
printed ignored and defaulted to 13 DUN-14 (Distribution Unit Number, EAN) 14 DUN-16 (Distribution Unit Number, EAN) 15 MSI Code 128 (USD-6) manual code change 24 Code 128 (USD-6) automatic code change 25 Code 11 with only 'c' checksum (USD-8) 26 Code 11 with both 'c' and 'k' checksums (USD-8) 27 Code - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 90
43 Customer 44 Wide gap CODABAR Table 5.2. Length, Character Set, and Default (Sheet 1 of 2) Type Length Character set Default 0 11 0123456789 0 1 13 2 16 3 13 4 18 5 22 1-25 23 1-40 All printable characters (ASCII codes 32 to 126) Space 24 2-40 25 1-45 -0123456789 Space 26 - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 91
Table 5.2. Length, Character Set, and Default (Sheet 2 of 2) Type Length Character set Default 29 1-25 0123456789 0 30 1-25 31 1- POSTNET. 41 125 0123456789 0 42 80 All printable characters (ASCII codes 32 to 126) 43 1-20 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ - 44 3-32 $+-./0123456789: - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 92
bar Barcode read area 1/8" 1/4" Preferred base height 4-1/2" 4" max. 7/16" 3/16" 3-1/4" min. 5/8"min. Table 5.4. Bar Height and Width Classes Type Tall bars Width classes Default (dots) 12341234 0 Yes Yes Yes Yes Yes 6 12 18 24 1 Yes Yes Yes Yes Yes 6 12 18 24 2 Yes Yes Yes Yes Yes - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 93
Table 5.4. Bar Height and Width Classes Type Tall bars Width classes Default (dots) 12341234 22 - Yes Yes - - 6 12 (18) (24) 23 - Yes Yes Yes Yes 6 12 18 24 24 - Yes Yes Yes Yes 6 12 18 24 25 - - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 94
Two-dimensional Barcodes PDF 417 is a reverse process. In addition, PDF417 is an error-correcting symbology designed for real-world applications where portions spaces are multiples (up to six times) of this width. The nominal unit of measure. codeword A single group of bars and spaces (or elements) - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 95
row indicator. Every symbol contains 1 codeword (the first data codeword in row 0) indicating the total number of data codewords within the symbol, and at least 2 error-detection codewords. General PDF417 symbol structure is indicated in the following diagram: 5-11 - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 96
Error correction area d0 Ck-1 Ck-2 Rm-2 C1 C0 Rm-1 Printing a Two-dimensional Barcode XBAR, XBCP, XBUF, and ENDB commands support two-dimensional barcode printing Specifies various options for the barcode to be printed using XBAR depending on the mode following the command (0 through 19). See - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 97
Reference. By default the cursor is located at the top left corner of the barcode and stays there after printing is done. MAP MRP MZP UNIT Moves the cursor Binary/ASCII plus mode: 1108 bytes. Extended alphanumeric compaction mode (EXC): 1850 ASCII characters. Numeric compaction mode: 2725 digits - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 98
scanning order. The terminology PRESCRIBE macro and macro PDF are not the same. Refer to the PRESCRIBE Commands Command Reference for the PRESCRIBE macro commands Note (MCRO, ENDM, etc.). The following modes 1 to the second barcode. Encode and print the second divided barcode. Position the second - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 99
Some samples for Macro PDF417 are provided in PRESCRIBE Commands Command Reference on the XBCP page. 5-15 - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 100
Chapter 5 Barcodes 5-16 - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 101
to interpret the values. To print a service status page, command: !R! STAT 1; EXIT; Before changing any FRPO parameter, print out a service status page, so you will know the parameter values before the changes are made. To return FRPO parameters to their factory default values, send the FRPO INIT - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 102
-off 1 1: Saved at power-off 0: HP compatibility mode (Characters higher 0 than 127 are not printed.) 32: Conventional mode (Characters higher than 127 are printed. Supported symbol sets: ISO-60 Norway [00D], ISO-15 Italian [00I], ISO-11 Sweden [00S], ISO-6 ASCII [00U], ISO-4 U.K. [01E], ISO-69 - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 103
05/06/07/08 Interface release time- J2 0 to 99 in units of 5 seconds 6 out KC-GL enlarge modea J9 0: Off 0 1: A2 2: A1 3: A0 4: B3 5: B2 6: B1 7: B0 Duplex mode N4 0: Simplex mode 0 1: Long-edge binding 2: Short-edge binding Default emulation P1 0: Line Printer 6 mode 1: IBM - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 104
11: IBM PC-860 (Portuguese) 12: IBM PC-863 (Canadian French) 13: IBM PC-865 (Norwegian) 14: Norway 15: Denmark 2 16: Spain 2 17: Latin America 50 - 99:HP PCL symbol set coding (See page 737.) Code set at power up in U7 daisywheel emulation 0: Same as the default emulation mode (P1) 0 1: IBM - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 105
Audio alarm D2 0: Off 1 1: On Paper size error D3 0: Not notified 0 1: Notified 2: Complies with MS certification Print density D4 Number from 1 (Light) to 5 (Dark) 3 Service status page D5 0: Not printed 1 1: Printed Paper jam retry timing D6 0: End of page 0 1: Fuser sensor - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 106
% Status send controlc M1 0: Off 0 1: Send printer status. Default interface M2 1: Default Serial or Option Serial 2 or 3 2: Parallel 3: Default Network or Option Network 4: Option Network or Option2 Network 5: USB Host buffer moded M3 0: Automatic 0 1: Fixed First buffer size M4 - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 107
the environment. 2: Protects permanent and temporary PCL resources. Parallel interface mode O0 0: Normal 5 1: High-speed 5: Nibble (High) 70: Auto (Negotiation) Command recognition P9 character ASCII code from 33 to 99 82 (R) Default stacker R0 1: Face-down tray 1 2: Face-up tray - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 108
Permanent Parameters Table 6.2. Interface-independent Parameters (Sheet 37: Ledger Wide 50: Statement 51: Folio 52: Youkei 2 53: Youkei 4 Default margin settings R3 0: HP compatible margins. 0 1: Full PCL printable area. 2: Character 0 0 0: Maximum paper size of the printing system 6-8 - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 109
Serial interface mode S9 0: Normal 0 1: Barcode reader MP tray mode T0 0: Cassette mode 1 Cassette 1 paper sizeg T1 1: First mode ( print at U5 0: Not printed automatically 0 power-up 1: Printed automatically at power-up Default Courier weight V9 0: Dark 0 1: Normal Color mode - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 110
6.2. Interface-independent mode. 9: Combination of value 1 and 8. 10: Combination of value 2 and 8. 11: Combination of value 1, 2 and 8. Y0 0: Off 1: On Y1 number from 000 to 495 in increments of 5 seconds Y2 0: On 1: Off Factory setting 1 1 8 (model supporting driver priority mode - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 111
the 0 specified paper type is specified in simplex mode. 1: Adds blank pages and prints the job in duplex mode when the job which the specified paper type is specified in simplex mode. Default operation for Y5 PDF direct printing 0: Enlarges or reduces the image to fit in the 0 current paper size - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 112
available to users accessing the serial interface. c M1-Status send control The FRPO M1 parameter enables the user to receive printing system status information. By sending CTRL-T (Hex 14) from the host computer to the printing system. d M3-Host buffer mode The M3 parameter determines the automatic - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 113
printer (mode 0) • KPDL (mode 9) [PostScript compatible] Word-processing and graphics software for any of the above printers also works with the printing system. All you need to do is to set the printing system to emulate the printer your software supports and select the appropriate printer driver - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 114
be selected (an option on some models) . To set an emulation mode, send the printing system the FRPO commands listed in the table below. Table 7.1. Emulation Switching Command Sequence Mode 0 1 2 5 6 8 9 Emulation Line Printer IBM Proprinter X24E Diablo 630 Epson LQ-850 HP LaserJet HP 7550A KPDL - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 115
assistance of PRESCRIBE commands, the scalable fonts are available for printing in any one of the emulation modes. (See Chapter 4 for details.) • The graphics commands which create a path are also supported in all emulation modes. Instructions on how to create a path are described in Chapter 2. • In - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 116
the escape sequence ESC A, for example, it ignores the escape code and prints the letter A. Therefore, this emulation requires PRESCRIBE commands for controlling the printing system. In font mode (FTMD) 15, the printing system automatically gives the innate character spacing, line spacing, and page - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 117
X24E emulation.) The printing system also emulates three other IBM-printer fonts: Courier, Prestige Elite, and Courier Proportional (See the table on next page). These fonts can be obtained by embedded commands or by using a printer driver from your word-processing software that supports the IBM - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 118
. The printing system supports the IBM printer's bit-image graphics in portrait orientation, so graphics software using the IBM Proprinter X24E emulation will print charts, graphs, and pictures without the need for PRESCRIBE commands. The print model and clipping features of the PRESCRIBE path mode - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 119
1B 4E n Skip Cancel Automatic Perforation 1B 4F Skip Proportional Space Mode 1B 50 n Deselect Printer 1B 51 n Set All Tabs to Power on Set- 1B 52 tings Subscript or Superscript Print- 1B 53 n ing Cancel Subscript or Super- 1B 54 script Supported - Yes Yes Yes Yes Yes Yes Yes Yes - Yes Yes - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 120
Table 7.6. IBM Proprinter X24E Control Codes Command Function Code (hex) Supported ESC U n Set Print Direction 1B 55 n - ESC W n Continuous Double-Wide 1B 57 n Yes Printing ESC X n m Set Horizontal Margins 1B 58 n m Yes ESC Y n1 n2 v1 v2...vn Dual-Density Bit-Image 1B 59 n1 n2 v1 - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 121
IBM Proprinter X24E Emulation (Mode 1) 7-9 IBM Symbol Sets IBM PC-8 (341) IBM PC-8 (D/N) (373) - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 122
Chapter 7 Emulation 7-10 IBM PC-850 (405) IBM PC-860 (30) - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 123
IBM PC-865 (94) IBM Proprinter X24E Emulation (Mode 1) 7-11 IBM PC-863 (62) - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 124
is IBM PC-8 for all emulation modes. Table print in landscape orientation, send the command SPO L; and select a landscape font. Example: To print in landscape, send the following command: !R! SPO L; EXIT; The automatic centering, justification and Hyplot mode of the Diablo printer are not supported - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 125
font number for that scalable font. The default font mode (FTMD) is 0, so the printing system will not adjust character spacing, line CGTimes and red mean CGTimes italicized. The appropriate setup is shown below, together with a short file and the printed result. !R! SFNT 'CGTimes', 10, 3000; SFNT - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 126
table download mode Enter program mode Set offset to n Select printwheel type Upper cassette (for sheet 1) Lower cassette (for sheet 2) Manual paper feed (for envelope) Eject page Memory test Request status byte 1 Request status byte 3 Initialize printer Remote error reset Disable NAK error response - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 127
mode ON Graphics mode OFF Forward printing mode Backward printing mode Print suppression Clear horizontal tab at current position Set left margin at current position Reverse printing mode ON Reverse printing mode 1B 56 07 1B 57 1B 58 1B 59 1B 5A Supported Yes Yes Yes Yes - Yes Yes - - - Yes Yes Yes - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 128
Chapter 7 Emulation 7-16 Diablo 630 Symbol Sets DIABLO US (29) Diablo France (61) - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 129
Diablo 630 Emulation (Mode 2) 7-17 Diablo Germany (93) Diablo U. K. (125) - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 130
Chapter 7 Emulation 7-18 Diablo Denmark (157) Diablo Sweden (189) - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 131
Diablo 630 Emulation (Mode 2) 7-19 Diablo Italy (221) Diablo Spain (253) - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 132
Chapter 7 Emulation 7-20 Diablo Japan (285) - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 133
), and PC 865 (Norway). These sets are available only through the use of Epson control codes. Another Epson control code also provides the US Legal character set. The Korean character set is not supported. When power is first switched on or after a reset, the printing system always defaults in the - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 134
Chapter 7 Emulation Figure 7. 11. Epson LQ-850 Font Printout The five LQ-850 fonts actually use the printing system's resident fonts. The font mode in the Epson emulation is 0. (The printing system does not automatically adjust character spacing.) If you do not need exact character spacing, you can - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 135
orientation. In portrait orientation, the printing system supports Epson bit-image graphics, so with graphics software for the LQ-850 printer, you can use it to print charts, graphs, and pictures. The 9-bit graphics mode is also supported. If you attempt to print beyond the right margin, the - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 136
null Set Horizontal Tabs Print Size and Character Width ESC P Select 10 CPI 7-24 Code (hex) Supported 1B 40 Yes 11 - 13 - 7F - 1B 3C Yes 1B 55 - 1B 19 - 1B 3D Yes 1B 3E Yes 1B 35 Yes 07 - 0D Yes 18 - 0C Yes 1B 43 Yes 1B 43 00 Yes 1B 4E - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 137
Table 7.13. Epson LQ-850 Control Codes Command Function Code (hex) Supported ESC M Select 12 CPI 1B 4D Yes ESC g Select 15 CPI 1B 67 Yes ESC p n Turn Proportional Mode On/Off 1B 70 Yes SI Select Condensed Mode 0F Yes ESC SI Select Condensed Mode 1B 0F Yes DC2 Cancel Condensed - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 138
Chapter 7 Emulation 7-26 LQ-850 Symbol Sets LQ US (28) LQ France (60) - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 139
LQ U.K. (124) Epson LQ-850 Emulation (Mode 5) 7-27 LQ Germany (92) - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 140
Chapter 7 Emulation 7-28 LQ Italy (220) LQ Spain (252) - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 141
Chapter 7 Emulation 7-29 LQ Japan (284) LQ Norway (316) - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 142
Chapter 7 Emulation 7-30 LQ Denmark 2 (348) LQ Spain 2 (380) - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 143
LQ Denmark (156) Epson LQ-850 Emulation (Mode 5) 7-31 Latin America (412) - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 144
Chapter 7 Emulation 7-32 LQ Sweden (188) - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 145
HP LaserJet Emulation (Mode 6) HP LaserJet Emulation (Mode 6) On shipment from the factory, the printing system is set to power up in the HP LaserJet (PCL 6) emulation. The Kyocera printing systems support to emulate the following HP printer language as tabled below: Table 7.14. HP LaserJet - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 146
, or through the printer driver provided with your software. The following font sample was created through driver support. Figure 7. 15. HP LaserJet Word-Processing Printout Additional soft fonts can be downloaded from external sources before printing begins. The printing system selects the fonts - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 147
be correct when using the LaserJet printer driver (when a LaserJet driver is selected within the application software). LaserJet Fonts The printing system emulates the LaserJet fonts as listed below. Table 7.16. LaserJet Fonts No. HP LaserJet Font Kyocera Font Style 1 Arial Arial Medium, Bold - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 148
(bolding) of Courier and Letter Gothic is changeable between regular and dark. The default is regular and matches the Hewlett-Packard. It can be changed to dark which was the default stroke weight of Courier and Letter Gothic in order Kyocera printing systems by changing the FRPO V9 parameter. 7-36 - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 149
Mode ; Several other LaserJet codes should be considered for default symbol set is IBM PC-8 (10U) for the LaserJet emulation. The LaserJet printer printing system substitutes with a scalable font when a bitmap font is required for downward compatibility. The following symbol sets are supported - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 150
Extension 9Q (305) 5 53 IBM PC-8 10U (341) 41 53 IBM PC-8 (D/N) 11U (373) 73 53 IBM PC-850 12U (405) 5 54 PC-858 13U (437) 37 54 Symbol Sets for Scalable Fonts The following table lists symbol set support for resident scalable fonts. To power up the printing system in one of these - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 151
HP LaserJet Emulation (Mode 6) Table 7.18. Symbol Sets for Scalable Fonts (Sheet 2 of 2) Symbol Set HP Symbol Set ID (Value) FRPO U6 Value FRPO U7 Value PC Cyrillic 3R (114) 14 51 PS math 5M (173) 73 ISO Latin 5 5N (174) 74 Windows Latin 5 5T (180) 80 MS Publishing 6J (202) 2 52 - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 152
prints a status page that enables the user to confirm changes made with the preceding sequences. The power-up font and symbol set are shown in the Interfaces section. Resource Protection The resource protection feature is Kyocera follows. Note that the factory default setting for the N9 command is - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 153
system models, refer to the operation manual supplied with the printing system. Table 7.20. Example: FS-1000 Series Printing Condition HPLJ 4 HPLJ 4, duplex mode=None, raster memory=A4/Letter HPLJ 4, duplex mode=None, raster memory=Legal HPLJ 4, duplex mode=on, raster memory=A4/Letter Resolution - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 154
MB 10 MB 10 MB - 14 MB 14 MB 14 MB Switching the Print Resolution Because the printing systems with the 1200 dpi resolution support print at 300, 600, 1200 dpi, the printing system provides an FRPO command to establish a default at either level of resolution. For fine 1200 dpi resolution, command - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 155
as a comment. Chooses a printer language for processing the current job. Informs printing system of the start of a print job, resets the page count, allows naming of the job, supports non-printing mode for printing portions of jobs. Instructs printing system that the print job is complete, resets - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 156
Supported PJL Commands Command Group Environment Commands Command DEFAULT printing system online. Deletes printing system mass storage files. Downloads files to the printing system mass storage system. Initializes the printing system mass storage file system. Creates a directory on the printing - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 157
Mode 6) ^D Printable characters (ASCII characters 33 through 255) and , starting with a printable character. KPDL end-of-file indication. It is not part of PJL, but is used to end KPDL instructions for all of the other PJL commands. @PJL DEFAULT LPARM : PCL PTSIZE=14.25 Rules for - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 158
not be used in numeric variables). Strings Strings should be enclosed in quotation marks, and consist of any combination of characters of ASCII codes from 32 through 255 including 9 (horizontal tab) but excluding 34 (quotation marks). Examples are as follows. Examples of valid strings: "Model:FS - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 159
HP LaserJet Emulation (Mode 6) Invalid Commands Invalid commands are in two general types: those with syntax errors and those with syntax or semantic warnings. The printing system handles each of those types different ways. Syntax errors contain errors such as unrecognized commands and command - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 160
Chapter 7 Emulation Table 7.24. PJL Reset Status Environment Duplex Default font Point size Pitch Symbol set PJL command DUPLEX FONTNUMBER PTSIZE PITCH SYMSET FRPO parameter FRPO N4 FRPO V3 FRPO V0-2 - FRPO U6/U7 7-48 - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 161
HP LaserJet Emulation (Mode 6) HP LaserJet Printer Commands - PCL In the tables below, Yes means that the command is supported and No means that the command is not supported. Table 7.25. HP LaserJet PCL Commands (Sheet 1 of 15) Function Parameter Command Hexadecimal 1000 Value 1000+ JOB - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 162
Chapter 7 Emulation Table 7.25. HP LaserJet PCL Commands (Sheet 2 of 15) Function Output Bin Media Type Media Type Parameter Command Destination Tray 1 (Face down) Destination Tray 2 (Face up) Destination Tray 3 (Opt. Face down) Destination Tray 1 (Face down) Destination Tray 2 (Face down) - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 163
HP LaserJet Emulation (Mode 6) Table 7.25. HP LaserJet PCL Commands (Sheet 3 of 15) Function Page Size Parameter Command Hexadecimal 1000 Value 1000+ Color ESC&n6Wd 36 57 64 43 - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 164
ESC&l1O Reverse Portrait ESC&l2O Reverse ESC&l3O Landscape Print Direction Degrees of ESC&a#P Rotation (counterclock wise 90° Right Margin # of Columns ESC&a#M Clear Horizontal Margins Perforation Skip Mode Perforation Skip Disable Enable Horizontal Column Spacing Horizontal # of 1/120" - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 165
HP LaserJet Emulation (Mode 6) Table 7.25. HP LaserJet PCL Commands (Sheet 5 of 15) Function ESC&f#S FONT SELECTION Symbol Set Selection Primary ISO 60: ESC(0D Symbol Set Norwegian ISO 4; United ESC(1E Kingdom Windows 3.1 ESC(9E Latin 2 ISO 69: French ESC(1F ISO 21: German ESC(1G ISO - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 166
850 ESC(12U Pi Font ESC(15U PC-852 ESC(17U Windows 3.1 ESC(19U Latin 1 (ANSI) PC-775 ESC(26U Windows 3.1J ESC(19K (Japanese) Spacing Primary Spacing Fixed ESC(s0P Proportional ESC(s1p Pitch Primary Pitch # Characters/ ESC(s#H inch Set Pitch Mode 10.0 ESC&k0S Compressed ESC&k2S (16 - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 167
HP LaserJet Emulation (Mode 6) Table 7.25. HP LaserJet PCL Commands (Sheet 7 of 15) Function Parameter Command Inline ESC(s64S Shadowed ESC(s128S Outline Shadowed Stroke Weight Primary Font Ultra - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 168
New Roman SimHei ESC(s16901T ESC(s37110T SimSun ESC(s37058T Symbol ESC(s16686T Wingdings ESC(s6826T Wingdings ESC(s31402T Font Default Font Default 1-Byte/2-Byte ESC&t31P 1-Byte/2-Byte ESC&t38P Transparent Print Transparent # of Bytes Print Data FONT MANAGEMENT Assign Font ID Font ID # ESC - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 169
29 73 #...# 57 Yes Download character # of bytes ESC(s#W[Data] 1B 28 73 #...# 57 Yes Character code Character code # (decimal) ESC*c#E 1B 2A 63 #...# Yes 45 GRAPHICS PCL Vector Graphics Switching/Set-Up Enter PCL Mode Use previous - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 170
ESC*r0A Current Cursor ESC*r1A Scale mode (logical left page boundary) ESC*r2A Scale mode ESC*r3A (at CAP) Raster Y Raster Width # Pixels of the ESC*r#S (Source) Specified Resolution THE PRINT MODEL Imaging Hexadecimal 1000 1800 6300 9100DN 8000C Value 1000+ 1900 6750 9500DN 3800 - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 171
Select Current Solid Black ESC*v0T Pattern (default) Solid White ESC*v1T HP-defined Shading Pattern ESC*v2T HP-defined CrossHatched Pattern ESC*v3T User defined ESC*v4T pattern Source Transparent ESC*v0N Transparency Mode Opaque ESC*v1N Pattern Transparent ESC*v0O Transparency - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 172
1B 2A 73 31 54 Yes All Locations ESC*s2T 1B 2A 73 32 54 Yes Internal ESC*s3T 1B 2A 73 33 54 Yes Downloaded ESC*s4T 1B 2A 73 34 54 Yes Cartridge ESC*s5T 1B 2A 73 35 54 Yes User-installed ESC*s7T ROM (SIMMs) 1B 2A - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 173
Mode 6) Table 7.25. HP LaserJet PCL Commands (Sheet 13 of 15) Function Parameter Command Hexadecimal 1000 Value 1000+ Set Status All entities of ESC*s0U Readback the Location Location Unit Graphics Switching/Set-Up Picture Frame Enter PCL Mode Use previous ESC%0A PCL cursor position 1B 25 - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 174
# of Bytes Image Data ESC*v#W Download # of Bytes Dither Matrix ESC*m#W Foreground Index Number ESC*v#S Color Gamma Correction Gamma number ESC*t#I Monochrome Mixed Print Error diffusion ESC*t#J Monochrome ESC*t#J device best dither Monochrome ESC*t#J error - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 175
HP LaserJet Emulation (Mode 6) Table 7.25. HP LaserJet PCL Commands (Sheet 15 of 15) palette ESC*r#U 3-Plane ESC*r#U Device RGB Palette Transfer # of Bytes Raster (Plane) ESC*b#V a Not supported by HP PCL. Hexadecimal 1000 Value 1000+ 1B 2A 74 30 4A No 1800 1900 3800 No 6300 - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 176
Table 7.26. HP-GL/2 Context Printer Commands (Sheet 1 of 2) Command DUAL CONTEXT EXTENSIONS ENTER PCL MODE Mnemonic ESC%#A RESET ESCE PRIMARY FONT Color Range CR Number of Pens NP Pen Color Assignment PC TRANSPARENCY MODE TR SCREENED VECTORS SV VECTOR GROUP ARC ABSOLUTE AA ARC - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 177
PEN WIDTH PEN WIDTH UNIT SELECTION SELECT PEN SYMBOL MODE FILL TYPE ANCHOR WINDOW IW INPUT P1 AND P2 IP INPUT RELATIVE P1 AND P2 IR DEFAULT VALUES DF INITIALIZE IN Replot RP ROTATE COORDINATE SYSTEM RO TECHNICAL GRAPHICS EXTENSION Begin Plot BP Chord Tolerance Mode CT Download - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 178
in brackets indicate optional parameters. < > Identifies a control code character Special Identifiers Horizontal tab character (ASCII 9). WS> PJL Commands COMMENT @PJL COMMENT [] DEFAULT @PJL DEFAULT [LPARM: personality] variable = value [] DINQUIRE @PJL - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 179
HP LaserJet Emulation (Mode 6) 7-67 LaserJet Symbol Sets ISO-60 Norway (0D) ISO-15 Italian (0I) - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 180
Chapter 7 Emulation 7-68 ECMA-94 Latin 1 (0N) ISO 11 Sweden (0S) - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 181
ISO-4 U. K. (1E) HP LaserJet Emulation (Mode 6) 7-69 ISO-6 ASCII (0U) - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 182
Chapter 7 Emulation 7-70 ISO-69 France (1F) ISO-21 Germany (1G) - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 183
ISO Latin 2 (2N) HP LaserJet Emulation (Mode 6) 7-71 US Legal (1U) - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 184
Chapter 7 Emulation 7-72 ISO-17 Spain (2S) PC Cyrillic (3R) - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 185
ISO Latin 5 (5N) HP LaserJet Emulation (Mode 6) 7-73 PS math (5M) - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 186
Chapter 7 Emulation 7-74 Windows Latin 5 (5T) MS publishing (6J) - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 187
Desktop (7J) HP LaserJet Emulation (Mode 6) 7-75 ISO Latin 6 (6N) - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 188
Math-8 (8M) Chapter 7 Emulation 7-76 Greek-8 (8G) - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 189
HP Roman-8 (8U) HP LaserJet Emulation (Mode 6) 7-77 Turkish-8 (8T) - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 190
Chapter 7 Emulation 7-78 Windows Latin 2 (9E) Windows Greek (9G) - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 191
ISO Latin 9 (9N) HP LaserJet Emulation (Mode 6) 7-79 PC-1004 (9J) - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 192
Chapter 7 Emulation 7-80 Win Cyrillic (9R) PC-Turkish (9T) - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 193
PC-851 Greek (10G) HP LaserJet Emulation (Mode 6) 7-81 Windows (9U) - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 194
Chapter 7 Emulation 7-82 PS text (10J) ISO Cyrillic (10N) - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 195
HP LaserJet Emulation (Mode 6) 7-83 PC-855 Serbia (10R) PC-869 Greek (11G) - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 196
Chapter 7 Emulation 7-84 PC-8 Greek (12G) Macintosh (12J) - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 197
USSR-GOST (12R) HP LaserJet Emulation (Mode 6) 7-85 ISO Greek (12N) - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 198
Chapter 7 Emulation 7-86 ABICOMP Brazil (13P) PC-8 Bulgarian (13R) - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 199
HP LaserJet Emulation (Mode 6) 7-87 PC-8 Greek/437G (14G) ABICOMP Int. (14P) - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 200
Chapter 7 Emulation 7-88 PC Ukrainian (14R) Pi font (15U) - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 201
HP LaserJet Emulation (Mode 6) 7-89 PC-857 Turkish (16U) PC-852 Latin 2 (17U) - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 202
Chapter 7 Emulation 7-90 ISO-10646 (18N) PC-853 Turkish (18U) - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 203
Windows Latin 1 (19U) HP LaserJet Emulation (Mode 6) 7-91 Winbalt (19L) - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 204
Chapter 7 Emulation 7-92 PC-860 Portugal (20U) PC-861 Iceland (21U) - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 205
HP LaserJet Emulation (Mode 6) 7-93 PC-863 Canada (23U) PC-8 Polish (24Q) - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 206
Chapter 7 Emulation 7-94 PC-865 Norway (25U) PC-775 (26U) - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 207
HP LaserJet Emulation (Mode 6) 7-95 PC-8 PC Nova (27Q) - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 208
plotting status information from the printer via the RS-232C interface. Status information is not available when the parallel interface is used. Basic This section explains basic information about the KC-GL language. KC-GL Instruction Format The syntax for KC-GL instructions consists of two letters - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 209
instruction. The default terminator is the ETX character (End of Text), which uses ASCII code 3. If this terminator is inconvenient, the DT instruction Position Bit Value Logic Value Description 0 0 0 Plot coordinate mode A 1 1 Plot coordinate mode B 1 0 0 Form feed in response to SP 2 - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 210
which it came, in other words, it prints nothing when it receives a SP; or SP 0; instruction. Figure 7. 29. Plot Coordinates Mode A (G0, 0;) Mode B (G0, 1;) Automatic Plot Coordinate Mode (bit 2) 0 = Printing System changes the plot coordinate from mode A to mode B when it receives a IP (Input P1 - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 211
(HP 7550A enhance mode and HP 758X standard mode). The enhance mode should be turned on when the printing system uses the HP 758X mode. The enhance mode affects the KC-GL IW (Input Window), OW (Output Window), and UC (plot User-defined Character) instructions as follows: IW: User units are used for - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 212
double. Reducing Data Larger Than A2 Size The KC-GL can print the data of paper sizes larger than A2 size reducing it units from -223 to 223-1 (in the PA instruction). When using plotter units, only integer values are valid. User Units The Scale instruction (SC) establishes a system of user units - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 213
pen 8" CI.1;PR.5,-.5; "Draw circle" SP2; "Select pen 2" CS0;SI.2,.3;LBCURSOR* ; "Print label2" SP; 1 This instruction locates P1 at 0, 0 and P2 at 400, 400 in plotter units. 400 plotter units=1 cm (0.025 mm x 400). 2 ETX (End of Text, character code 03) is required as a terminator. 7-101 - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 214
Information When the RS-232C interface is used, in addition to receiving data, the plotter (printing system) can return information such as the current pen position, pen status, and error numbers. This return information applies to the following KC-GL instructions. Instruction OA OC OE OF OH - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 215
the same way as the OA instruction. Coordinate values are given in plotter units if scaling is off, or user units if scaling is on. OE [Output Error] The plotter returns a decimal error number for the instruction executed immediately before the OE instruction. The error code is converted to a non - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 216
instructions are supported. Pen selection is supported. Pen is not down until the paper feeding completes in auto-feed mode. OP [Output P1 and P2] This instruction returns the coordinate values of the current scaling points P1 and P2. The coordinates are given in plotter units by ASCII-coded - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 217
status byte is output via the RS-232C interface, or when the IN instruction is executed. 4 16 Ready to receive next data. 5 32 Error. This bit is cleared when an error number is output via the RS- 232C interface, or when the IN instruction is executed. 6 64 SRQ was set. 7 128 (Reserved - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 218
error, parity error, or overrun error has occurred. Output Buffer Size Label (ESC.L) This instruction always returns the value 1024. Output Extended Status (ESC.O) This instruction returns printing system status information regarding: • On-line status • Cover open • Paper empty • Paper jam - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 219
Mode 8) Table 7.31. Status Information Response Description 25 The buffer is empty and the printing system is off-line. 33 The buffer is full with the printing system under one of the following conditions: cover open, paper empty, or paper jam 025 35/45 ISO United Kingdom 004 36/46 ISO - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 220
Chapter 7 Emulation 7-108 KC-GL Symbol Sets ANSI ASCII (0) Roman Extensions (7) - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 221
HP 7550A Emulation [KC-GL] (Mode 8) 7-109 Katakana (8) KC-GL International Characters - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 222
Dots Plotter units Dots A4 11477 3389 7999 2362 A3 16398 4842 11487 3392 Letter 10776 3182 8236 2432 Ledger 16872 4982 10776 3182 Coordinate Values Table 7.35. Coordinate Values, Mode A, RO 0 Paper size P1x P1y P2x P2y A4 430, 200 10430, 7400 A3 380, 430 15580, 10430 Letter - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 223
Mode B, RO 90 Paper size P1x P1y P2x P2y A4 -2480, -4700 2480, 4700 A3 -4700, -6680 4700, 6680 Letter -2598, -4348 2598, 4348 Ledger -4348, -6916 4348, 6916 Summary of KC-GL Instructions The table below lists KC-GL instructions supported by the printing Default Input window character- - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 224
window* x1-coordinate [i/sd], y1-coordinate [i/sd] (,x2- Plot absolute coordinate [i/sd], y2-coordinate [i/sd], ..., xncoordinate [i/sd], yn- coordinate [i/sd]) - Print [c] Symbol mode pen-number IM instruction sets an E-mask that controls how errors are reported on the RS-232C interface. The - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 225
8 3 Initialized 16 4 Ready 32 5 Error 64 6 - 128 7 - Device-Control Instructions Table 7.41. Device-Control Instructions Instruction ESC.( ESC.Y ESC.) ESC.Z ESC.@ ESC buffer space Output extended error Select handshaking mode 1a Select handshaking mode 2a Ignore device-control - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 226
Equivalent Instruction Default Value Plotting mode PA; Absolute (plotter units) Polygon mode PM0; PM2; Empty polygon Line type LT; Solid line Line pattern length LTn,4; 4% of distance between P1 and P2 Scaling SC; Off (plotter units used for x- and y-coordinates) Input window IW - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 227
of KPDL, Kyocera's implementation of the PostScript command language. KPDL deployed in the printing system encompasses the printing system to print a simple graphics sample as shown in Figure 7. 44. on page 116. Example: Operators to draw a text and an enclosing box. Note that, in KPDL mode, unit - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 228
as shown. • The file must not contain any extraneous control codes, as are frequently added by word-processing software. • The file must be sent as a file, not printed. If you print the file, you will only obtain printed output. KPDL Summary This section lists all KPDL operators, their operands - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 229
indicated by 2 (level 2) or 3 (level 3) . Table 7.45. KPDL Page Description Operators (Sheet 1 of 11) Preceding stack obj obj Operator = =print =string == 2 > [ ] num1 num1 num2 array abs add aload string target anchorsearch int - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 230
new clipping path Set current path as clipping path Restore stored clipping path Copy and save the current clipping path Close file Connect subpath to starting point Paint a sample image initial substring of string2 Copy gstate1 to gstate2 Print and retain current page real Find cosine of angle - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 231
miter length limit Return the object format parameter currently in effect Return the value of the overprint parameter Return the current array packing mode Return a device parameter on the current page Get coordinates of current point Get current red/green/blue levels Get current halftone screen - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 232
name bool array font instance num2 Description Replace matrix with device default matrix Define font as a font dictionary associated with key Define boolean value false on stack Open file named string1 in string2 access mode Enumerate all files whose names match Return the current position in a - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 233
proc for each element of string Return residence mode of any Test whether num/string1 is greater and length of subarray Create a new dictionary object Push a dictionary of defined proc1 if bool is true; otherwise do proc2 Print bit-mapped image Print binary mask objn...obj0 objn bool bool bool - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 234
by inverse of matrix bool Test whether key is in dictionary Print string, executing proc between characters int Return the language level bool bool Test whether num/string1 < num/string2 font' Generate new font by matrix transformation pattern Create an instance from a prototype - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 235
curve close pathforall obj string obj tag pop print 2 printobject 2 product prompt pstack array index object numstring matrix rectstroke old new 2 renamefile int filled Enable read access only Convert file of hexadecimal character codes into character string; return true if string is filled - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 236
to nearest integer int Get random number seed Execute file save Save virtual memory matrix Define scaling matrix Scale user space font' Generate new font by scaling old font bool Same as gcheck post match head Search for target substring in true or string false string Select a font - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 237
Set the array packing mode Install a page output Print and reset current page Find sin of angle (in degrees) Find square root of number Set random number seed Write entire stack to standard output as text Push standard character code/name array on stack Make KPDL interpreter ready Start a new - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 238
Chapter 7 Emulation Table 7.45. KPDL Page Description Operators (Sheet 10 of 11) Preceding stack obj Operator statusdict stop stopped key value int string num1 num2 file string x y x y matrix tx ty tx ty matrix num1 obj userpath userpath userpath dict key key key category index bool userpath - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 239
printing system' s password (true: valid password, false: invalid password) job manual wait Get timeout values bool Check disk online (true: disk unit online, false: disk unit whether printing system is in manual-feed mode (true: manual feed on, false: manual feed off) int Get manual-feed - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 240
new mode Set timeout values. Set error-printing mode (true: print errors, false: do nothing) Set KIR level Select whether to print printing system' s password Assign string as printing system name Set sorter to sorting mode Adjust disk size for use with KPDL Get wait time-out value Set imageable - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 241
. This operator is in userdict. Set imageable area to double postcard size. See KPDL Printable Area on page 140. This operator is in userdict. Select whether or not to print in duplex mode as default. (true: duplex, false: simplex) Get default duplex mode setting (true: duplex, false: simplex) Set - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 242
Get default paper tray switch. (true: Autocass, false: Autocass off) Set the current paper tray switch. (true: Autocass, false: Autocass off) Get the current paper tray switch. (true: Autocass, false: Autocass off) Find tray containing A4 size paper, select it as current tray, and set imageable area - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 243
default output tray. Set the current output tray. Get the current output tray. Get string object designating type of printing system' s AppleTalk name according to the AppleTalk Name Binding Protocol. Get setting of error information printout mode. (true: error print mode on, false: error print mode - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 244
for printer's error print off) Indicate whether or not to print status at power on as a bool object. (true: print status, false: do not print status) Indicate with a boolean object whether to initialize the following parameters at power on (true: initialize, false: do not initialize [factory default - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 245
the total number of printed pages since the printer's manufacture. Indicate the password necessary when changing system default, 1: use Sys/Start) Indicate the password for changing system parameters. Indicate the default wait timeout value. Limit the working area for processing a single image - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 246
mode flag for the setscreen operator. (true: detail screen on, false: default) Return the name of the job currently being processed by the printer arrays but in compressed form. Indicate the automatic garbage collection mode. Indicate the threshold at which automatic garbage collection is executed - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 247
Execute the procedure for installing values during graphics mode when calling the setpagedevice operator. Set whether to perform manual feed. (true: MF on) Return the manual feed timeout. (Read only) [0] Set the printer margins. (default: [0 0]) Use this parameter along with /PageSize, /MediaWeight - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 248
mode using a boolean value. (true: shortedge, false: longedge) Define using a boolean object the processing when the page size selected during page setup differs from the paper size of the tray. (true: display cassette error every n pages as given by the integer code. 0: Do not jog 3: Jog using the - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 249
on transparency separator. 1: Do not print on separator 2: Print on separator Control resolution enhancement. When /HWResolution is set to 600 dpi. true: Fast 1200dpi false: 600dpi Model FS-5900C only. Control vivid color mode. Ex: >> setpagedevice - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 250
integer PIN code integer Barcode output /BarcodePosition integer Barcode printing position (viewed in portrait orientation) /Share /Name /User /Time /Destination integer Share flag string string string array Job name User name Time stamp VMB destination Parameters default 0: HP Mopier mode - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 251
, only error codes 00 and 98 are available. These error codes are also reported from the printer to the computer. Some software will display these error names on the computer screen. Table 7.52. KPDL Error Messages Code Error Meaning 00 Cannot initiate KPDL 01 dictfull Dictionary full; no new - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 252
Error Messages Code Error Meaning 12 ioerror Input/output error 13 error 26 vmerror Virtual memory is exhausted, or illegal access was attempted 27 badpassword Bad password error (User memory exhausted) KPDL Printable Area This printing system does not quite print manually fed paper). 7-140 - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 253
340 x 496 10.16 x 21.3 288 x 604 16.75 x 24.13 475 x 684 22.0 x 31.7 625 x 899 15.34 x 22.18 435 x 629 14.00 x 20.00 397 x 567 14.11 x 19.30 400 x 547 9.56 x 14.14 271 x 401 9.28 x 14.11 263 x 400 10.68 x 16.78 768 x 1208 8.18 - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 254
This page is left blank intentionally. 7-142 - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 255
22 Decimal place, 1-11 Default font, 4-2 Destination image, 2-37 Diablo 630 character set, 7-16 control code, 7-14 emulation, 7-12 Dot resolution, 2-34, 2-36 Double-high printing, 7-5 Double-strike printing, 7-5 Double-wide fonts, 7-21 Double-wide printing, 7-5 Downloadable font, 4-2 Dummy parameter - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 256
ii character set, 7-9 control codes, 7-6 emulation, 7-4 Imaging model, 2-37 International characters KC-GL, 7-109 K KC-GL character sets, 7-107 coordinates, 7-98 default status, 7-114 device control, 7-106 emulation, 7-96 instruction format, 7-96 instructions (table), 7-111 modes A and B, 7-98 - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 257
2-14 Plotter units, 7-100 PRESCRIBE command length limit, 1-4 format, 1-4 Presentation mode, 2-36 Print direction, 1-6 Print model, 2-1 Proportional fonts, 1-8 Proportional spacing, 1-8 Q Quotation marks, 1-11 R Radius, 2-9, 2-15 Raster data in taggged image file format, 2-34 printing commands, 2-35 - Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 258
- Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 259
- Kyocera FS 820 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 260
Rev. 4.7 2009.7
Technical Reference
PRESCRIBE Commands