Kyocera TASKalfa 4551ci PRESCRIBE Commands Technical Reference Manual - Rev. 4
Kyocera TASKalfa 4551ci Manual
View all Kyocera TASKalfa 4551ci manuals
Add to My Manuals
Save this manual to your list of manuals |
Kyocera TASKalfa 4551ci manual content summary:
- Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 1
PRESCRIBE Commands Technical Reference - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 2
- Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 3
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. KPDL is a trademark of Kyocera Corporation. Diablo 630 is a product of - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 4
such copy shall contain the same proprietary notices as those appearing on the original. 5. This License shall continue until the last use of the Software and Typefaces, unless sooner terminated. This License may be terminated by Agfa Japan if you fail to comply with the terms of this License and - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 5
Introduction This manual contains information needed to use the firmware features provided by the Kyocera printing system. Among these features is PRESCRIBE, a highly accessible, human-readable command language that makes it easy for programmers to take full advantage of the printing system's - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 6
Parameters explains how to reprogram the 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. Notice Most PRESCRIBE commands operate in the same way on all of these - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 7
Table of Contents General Infomation ...i Introduction...iii Introduction to PRESCRIBE Format of PRESCRIBE Commands ...1-4 Basic Concepts...1-4 Edge Limits ...1-4 Margins ...1-4 Page Orientation and Direction ...1-5 Coordinate Systems ...1-7 Text Positioning ...1-7 Character Spacing ...1-8 Paths - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 8
Basic ...7-97 KC-GL Environment Options ...7-98 Plotter Status Information ...7-103 Device-Control Instructions ...7-107 Fonts and Symbol Sets in KC-GL 7-108 Summary of KC-GL Instructions 7-112 KPDL Operators ...7-116 Communication with the Printing System 7-116 KPDL Summary ...7-117 KPDL Error - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 9
native language of the Kyocera printing systems including copiers (collectively referred to paper source, output stack, and finishing operations such as sorting, stapling, etc. Most application software printing and add features that may not be supported by your application. This chapter presents an - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 10
printing out files and other data. Application software can control the printing system using one of emulation mode. PRESCRIBE is an additional mode of operation in which the printing system understands data it receives can be permanently set by the FRPO (Firmware RePrOgram) P1 command. See Chapter 7 - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 11
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 mode (ASCII text function, for example - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 12
and Margins on page 5. The edge limits adjust automatically to the size of the paper cassette (although not to the size of manually fed paper). The edge limits can also be set to various standard sizes by the SPSZ (set paper size) command, or by the equivalent HP LaserJet commands. In HP LaserJet - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 13
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 software that sets the margins automatically, you should not set them with PRESCRIBE commands. Page Orientation and Direction The term page orientation refers to the direction - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 14
to PRESCRIBE Page Orientation Changing the page orientation automatically adjusts the margins so that they 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 be to the right of the right margin - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 15
Figure 1. 6. Print Direction Portrait print direction Current Point Top margin Left margin Right margin Reverse portrait print direction Current point Top margin Bottom margin Bottom margin Basic Concepts Landscape print direction Current Point Top margin Left margin Right margin Reverse - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 16
the size of characters. These proportional fonts produce text that is easier to read. However, in order to align the right margin, you must use software that supports the printing system's proportional spacing. 1-8 - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 17
Figure 1. 8. Character Spacing Font height Basic Concepts Baseline Paths A path is a set of straight and curved line segments. Paths can be open, as in the case of lines, or closed, as in the case of rectangles, circles, or any fully enclosed area of any shape. The segments may be connected with - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 18
Chapter 1 Introduction to PRESCRIBE Figure 1. 9. Logical Page and Physical Page Standard Mode x (0,0) = Logical page y Path Mode −y −x x y With the standard mode logical page, any position specification that lies outside of the logical limits is automatically adjusted to bring it within the - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 19
Command Parameters For computer code values beyond four decimal places, the fifth and subsequent decimal places are ignored. Examples: Number output by computer Number used by printing system 1234.1234 1234.1234 -1234.1234 -1234.1234 0.123456 0.1234 Some commands have angle parameters. - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 20
Chapter 1 Introduction to PRESCRIBE TEXT "You're about to enter PRESCRIBE."; TEXT ' " " " '; In the first 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, and regards the apostrophe in the - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 21
. This command must always use an uppercase R. The 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 system always distinguishes between uppercase and lowercase - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - 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 TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 23
Chapter 2 Graphics Tutorial PRESCRIBE provides a wide variety of graphics operators, allowing you to easily construct and print almost any imaginable shape or pattern. This chapter introduces the print model, the rules that determine the manner in which patterns and images are rendered on the paper. - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 24
Tutorial Standard Graphics The standard graphics mode provides a number of operators for constructing a variety of filled shapes and lines. Using (0,0) is at the intersection of the left and top edge limits of the paper. DRP (draw to relative position) Draws a line to a position specified as - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 25
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. Although you would not include this command in every sequence of PRESCRIBE commands, we include it in this - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 26
Chapter 2 Graphics 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 - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 27
Figure 2. 3. Result of Draw Commands: Relative Lines 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 pen width of 0.01 inches with the SPD 0.01;. The MRP (Move to Relative Position) - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 28
Tutorial Figure 2. 4. Result of Draw Commands: 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 MZP command on line 3 moves the cursor to a point 5 inches - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 29
below the cursor if height is positive, and above the cursor if height is negative. This relation is illustrated in the figure that follows. By default, the position of the cursor is not affected by this command. However, you can also specify an option parameter to make the cursor move to - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - 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 TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 31
; UNIT C; SPD 0.1; MZP 8, 8; CIR 1; CIR 2; CIR 3; PAGE; EXIT; Figure 2. 7. Circles Lines 1, 2 and 3 start PRESCRIBE mode, reset the printing system to its default parameters, establish the unit of measurement as centimeters, and set the line width to 0.1 centimeters. Next, the MZP command moves the - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 32
Chapter 2 Graphics Tutorial A filled block consists simply of a rectangle of any desired dimensions. A filled arc is an area enclosed by an arc segment and the line segments extending from the ends of the arc to the center of the circle of which the arc is a part. This section shows how to select a - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 33
The BLK (draw filled-in BLocK) command on line 5 actually draws the filled in block. This command closely resembles the BOX command explained in the preceding section. However, whereas the BOX command draws a line around a rectangular area, the BLK command fills a rectangular area with the currently - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 34
Chapter 2 Graphics Tutorial Defining Fill Patterns With a little work, you can construct your own fill patterns. You can generate 8 × 8 dot patterns using the FPAT (generate Fill PATtern) command, or 16 × 16 dot patterns using the XPAT (generate eXpanded fill PATtern) command. This section gives - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 35
!R! RES; XPAT 100; @X0@ | 0Af0CC0FA8L@ - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 36
Chapter 2 Graphics Tutorial Column value 0+64=64 (@) 24+64=88 (X) 0+48=48 (0) 0+64=64 (@) 60+64=124 (|) 0+48=48 (0) 1+64=65 (A) 38+64=102 (f) 0+48=48 (0) 3+64=67 (C) 3+64=67 (C) 0+48=48 (0) 6+64=70 (F) 1+64=65 (A) 8+48=56 (8) 12+64=76 (L) 0+64=64 (@) 12+48=60 ( - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 37
Figure 2. 12. PIE Example The PIE command uses the format PIE radius, starting angle, size of slice, ...; In the example above, the radius is 2 centimeters (since we set the unit to centimeters with the UNIT command), and the starting angle is 0 degrees. Four pie slices are specified, with sizes of - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 38
must be closed; that is, it must return to its starting point. A path is constructed by means of one or more path construction operators. The path construction operators modify the current path, usually by appending to it. However, a path in itself does not produce any image on the page. Once a path - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 39
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 the region enclosed by the path or draws a line along it (such as STRoKe or FILL). 2-17 - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 40
(Path, Move to Zero-relative Position) command on line 3 moves the cursor to a position one inch from the top and left edge limits of the paper. The coordinates specified may be positive or negative. On line 4, the PDZP (Path, Draw to Zero-relative Position) draws a line from the current cursor - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 41
Path Mode Graphics Two Lines The preceding example illustrated construction of a path between points specified in terms of absolute coordinates. The following program draws two lines, using both absolute coordinate specification and a new method: relative coordinate specification. !R! RES; NEWP; - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 42
are stroked onto the page. PRESCRIBE provides three kinds of line ends. These include: Figure 2. 16. Line Ends Square caps Butt caps Round caps The default line end type is butt caps. You can switch from the current line end type to any of the other types with the SCAP command - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 43
are called beveled, mitered, round, and notched. These are illustrated below. Figure 2. 18. Joins Beveled join Mitered join Round join Notched join The default line join type is beveled. With beveled joins, connected line segments end with butt caps, and the notch at the larger angle between - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - 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 TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - 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 DPAT - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 46
Chapter 2 Graphics Tutorial Figure 2. 21. Printout of the SDP Example The SDP command on line 3 defines a dashed pattern consisting of two lengths of black, two lengths of white, five lengths of black, and two lengths of white. On line 11, the DPAT command selects this pattern for stroking. The path - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 47
Figure 2. 22. Printout of the PARC Example Path Mode Graphics After the arc is drawn, the cursor is located at the end of the arc. If you wish to eliminate the straight line segment in the above example, leaving only the arc, the cursor position must be moved in advance to the position at which - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - 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 TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 49
Path Mode Graphics The curve leaves the current position in the direction of x1, y1, and is tangent to the line between the current position and x1, y1. It bends towards x2, y2, then to x3, y3, and at the end point, is tangent to the line between x2, y2 and x3, y3. The curve is always entirely - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 50
of these line segments is referred to as a curve's flatness. You can change the degree of flatness with the FLAT (set FLATness) command. The default flatness is 1 (dot). Setting smaller values of flatness results in smoother curves, but more time is required for computing the larger number of line - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 51
!R! 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 Both of these programs draw an identical curve. The only difference between the two is in the flatness, which is specified on line 2. Closed Paths - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - 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; PARC 5, 3, 1, 270, 90; FILL 1; PAGE; EXIT; This program is similar to the previous one. In this case, we choose to fill the path instead of stroking it. We select a - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 53
Path Mode Graphics With simple convex paths such as that shown below, the entire enclosed area is filled. Figure 2. 32. Simple Filled Paths However, when a path consists of multiple closed subpaths or intersects itself as shown in the next two figures, the rule determines areas that are deemed to be - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 54
Chapter 2 Graphics Tutorial With 1 specified for the rule parameter of FILL, the method for determining whether a point is inside the path involves drawing a ray from that point in any direction and counting the number of times the ray crosses segments of the path. The point is said to be inside the - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 55
Figure 2. 34. Clipping Rectangle Example Path Mode Graphics Printing with Character Paths When a resident scalable (outline) font is selected, you can treat a character as a path and add it to the current path. The PRESCRIBE command is CPTH (Character PaTH). Paths created with the CPTH command can - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 56
an image of a given size. Raster graphics are limited in size only by the dimensions of the paper, and in complexity only by the dot resolution. Raster Data Compression Formats PRESCRIBE supports raster data in three formats: uncompressed raster data, run-length encoded raster data, or raster data - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 57
pattern. In TIFF encoding, the two's complement value -128 indicates a non-operative control byte. The byte following such a byte is handled as a new orientation of the raster image. If the presentation mode is 0 (the default mode), raster lines print along the width of the physical page, regardless - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 58
of 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 is 75 dots per inch, or the equivalent of 16 physical dots for each raster-line dot. The following figure shows how a single raster - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 59
images overlay one another and fill patterns are applied through images. The image model applies to all PRESCRIBE image modes, and also to operation in the Hewlett-Packard LaserJet emulation mode. In general, placing any image on a page involves three elements: a pattern, a source image whose black - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 60
) Pattern transparency mode = 1 (opaque) PRESCRIBE establishes the printing system's imaging model with the SIMG (Set IMaGe model) command. This command uses the following format. SIMG operation-mode; operation-mode is a number from 1 to 6 that determines the image model as follows - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 61
mode 1, the white pixels of the source image do not overlay on the destination. For example, you cannot pattern a character. With operation mode 2, the SIMG command applies the white pixels of the source image onto the destination directly. The following program example illustrates use of the - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 62
Chapter 2 Graphics Tutorial For example, construction of a filled and outlined shape such as that shown below requires that we draw the path and then fill it. However, filling the path also clears it, making it unavailable for stroking. Figure 2. 39. A Path both Stroked and Filled By saving the - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - 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 TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - 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. Dummy parameters only by the amount of the available memory in the printing system. Each command in a macro is limited to 255 characters in length. - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 65
limitations are summarized as follows. Maximum number of macros downloadable to the printing system Maximum nesting levels Maximum length of should not be contained within a macro definition Depends on the available printing system's memory 20 4 characters 19 255 bytes EXIT, LDFC, MCRO, DELM, DAM, - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 66
the macro creating process. The DAM command in the first line 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 - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 67
Figure 3. 2. Macro Example 2 Examples of Macros 3-5 - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 68
This page is left blank intentionally. 3-6 - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 69
Chapter 4 Fonts This chapter covers font-related topics, including the printing system's resident and option fonts, character sets, and usage of font-selection and symbol creation commands. A font is a set of characters of a particular design. The design is referred to as a typeface. Several - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 70
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 FRPO (Firmware RePrOgram) command of parameters V3 (or using the printing system's operator panel - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - 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 TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 72
LetterGothic-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 - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - 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 TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 74
weights 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 - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 75
the examples in Chapter 1; a third way is 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 should read the following information on choosing and placing - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 76
with another SFNT command or until the power is turned off. Following the font number assignment, value 277 selects the symbol set Roman-8. A full list of symbol sets and values appear on the SFNT command page in PRESCRIBE Commands Command Reference. The value .9 following the symbol set parameter - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 77
font is selected. A font may reside in any of three locations: printing system ROM (for resident fonts, and option fonts, if installed), 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 on - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 78
is that a self adjusting line spacing feature can create disastrous affects with software applications designed to handle line spacing without the assistance of PRESCRIBE. For lower font mode, such as the default font modes in emulation modes 1 through 5, spacing and orientation adjustments may be - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 79
managed in stack fashion. These commands are particularly useful at the beginning and end of macros, and when you are using embedded commands of wordprocessing software. To ensure that the saved font is retrieved with the correct code set, add the SCCS (Save Current Code Set) and RPCS (Return to - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 80
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 be constructed by drawing the character on square-ruled paper (shown at right) and proceeding as explained below. - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 81
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 dpi. It is not possible for 600 dpi LDFC generated characters to print - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 82
supports many symbol sets (also referred to as character sets). The variety of Kyocera supported a new symbol set. All downloaded fonts contain specific symbol sets default symbol set (US ASCII). By simply using the INTL command with appropriate parameters for language and country code, the Kyocera - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 83
Symbol Set • CSET (Change symbol SET) • SFNT (Select current FoNT by typeface) The CSET command selects a symbol set by specifying its identification code which closely resembles the command parameters of the HP printer control language. In the example below, the Windows symbol set is selected. CSET - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 84
This page is left blank intentionally. 4-16 - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 85
. The former part of this chapter deals with how to implement the linear barcodes, the latter part explains the PDF417. They are step-by-step guide with a direct and practical approach. - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 86
reversal. The scanability of barcodes is affected by the quality of the paper and the type of scanner used. Parameters of the BARC command enable type. lists the allowed lengths and character sets. also lists a default character that is used to fill out strings shorter than the minimum length - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 87
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 be needed to obtain scannable barcodes for a particular scanner and type of paper. The dots unit (UNIT D;) is convenient. Barcode 40 (USPS FIM - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 88
prints a POSTNET barcode on a mail piece. The United States Postal Service (USPS) utilizes POSTNET (POSTal Numeric Encoding Technique) to process bulk mail be specified as the scanability of the barcode is most effective with the default values. Also the flag parameter for this barcode must be N (do - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 89
Any values entered for bar and space widths are ignored and defaulted to 1.68 points respectively. The rules for the order of (See No. 41.) 22 Identicon two of five with no checksum 23 Code 128 (USD-6) manual code change 24 Code 128 (USD-6) automatic code change 25 Code 11 with only 'c' checksum - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 90
Interleaved two of five (USD-1) with checksum 42 UCC/EAN 128 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 6 25 7 29 86 98 10 11 11 7 12 12 13 13 14 15 15 - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - 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-25 32 1-25 -0123456789 0 33 1-25 0123456789KLMO 0 34 1-25 35 9 0123456789 0 36 12 37 14 38 17 39 139 - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - 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 TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - 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 TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 94
Chapter 5 Barcodes Two-dimensional Barcodes PDF 417 is a two-dimensional stacked barcode symbology capable of encoding over a kilobyte of data per label. This is important for applications where a barcode must be more than merely an identifier, an index to reference a database. The portable data - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 95
start pattern A unique pattern of light and dark elements which indicates the leftmost part of a barcode label. stop pattern A unique pattern of light and dark elements which indicates the rightmost part of a barcode label. row A lateral set of elements made up of a start pattern, codewords, and - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 96
Lm-2 Lm-1 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. Each command does the following to put data together for printing a barcode. XBAR XBCP XBUF ENDB Prints a two-dimensional - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 97
onto a medium such as label. More detailed discussion on these (and some other) positioning commands can be found in the PRESCRIBE Commands Command 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 - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 98
the XBCP command. This allows a reader to make use of this information to correctly reconstruct and verify the file, independent of the barcode scanning order. The terminology PRESCRIBE macro and macro PDF are not the same. Refer to the PRESCRIBE Commands Command Reference for the PRESCRIBE macro - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 99
Some samples for Macro PDF417 are provided in PRESCRIBE Commands Command Reference on the XBCP page. 5-15 - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 100
Chapter 5 Barcodes 5-16 - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 101
memory, interface parameters, and other options. The parameters may be changed permanently with the FRPO (Firmware service status page. Refer to the tables in this chapter to print a service status page, command: !R! STAT 1; EXIT; Before changing any FRPO parameter, print out a service status - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 102
of one parameter in permanent memory. A separate command is required lengtha Page widtha Page orientationa Default font No.a Operation panel settings saving PCL font .) 32: Conventional mode (Characters higher than 127 are printed. Supported symbol sets: ISO-60 Norway [00D], ISO-15 Italian [00I - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 103
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 Proprinter X24E 2: Diablo 630 5: Epson sorter paper messaged 0 1: Remove sorter paper deactivated except at power-up 2: Remove sorter paper deactivated - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 104
: 0-99 12 V2 Default scalable fonta, e V3 Fraction value in 1/100 points: 0, 25, 50, or 75 0 Name of typeface of up to 32 characters, enclosed - with single or double quotation marks a Ignored in some emulation modes. b For models supporting A3 and ledger size paper. c Characters higher than - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 105
Value Factory setting Downloadable PCL font B0 Default pattern B8 0: 300 dpi 0 resolution (PAT, FPAT, GPAT) 1: 600 dpi 3: 1200 dpi Minimum memory Service status page D5 0: Not printed 1 1: Printed Paper jam retry timing D6 0: End of page 0 1: Fuser sensor activated 2: Fuser - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 106
recognized only as protocol Buffer nearly-full H6 threshold Percentage of the received data 6 value Memory card partition I0 reading at power-upb Partition name on a memory card to ^D and ^L Reduce/enlarge ratio J0 0: 100% 0 (Models supporting A3 size only) 5: 70% 6: 81% 7: 86% 8: 94 - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 107
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 3: Bulk tray Auto cassette switching R1 0: Cassette not switched when empty. 0 1: Main - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 108
according to the page size command in data. Default paper size R2 0: Size of the default paper cassette (See R4.) 0 1: Monarch (3-7/8 × Youkei 2 53: Youkei 4 Default margin settings R3 0: HP compatible margins. 0 1: Full PCL printable area. 2: Character pitch given by U2 and U3. - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 109
10: IBM HT reference point as the left margin. 11: Full PCL printable area for HP emulation; HT reference point as the MP tray paper size R7 Same as the R2 values except: 0 0 0: Maximum paper size of the printing system Daisywheel data length R8 7: 7-bit 7 8: 8-bit Default envelope feeder - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 110
Table 6.2. Interface-independent Parameters (Sheet 6 of 8) Environment Monitor simulation Ink simulation Gloss mode Paper type for the MP tray Paper type for paper cassettes 1 to 6 Paper type for Envelope Feeder/ Universal Feeder Parameter Value W4 0: None 1: SMPTE240M 2: HDTV (sRGB - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 111
paper source X9 0: Performs paper selection depending on 8 (model supporting media type. driver priority mode) 1: Performs paper selection depending on or 0 (other) paper sources. 2: Performs paper waste punch box is full. 5: Combination of 16. Duplex operation for Y4 specified paper type ( - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 112
(Sheet 8 of 8) Environment Parameter Value Factory setting Default operation for Y5 PDF direct printing 0: Enlarges or reduces the image to fit in the 0 current paper size. Loads paper from the current paper cassette. 1: Through the image. Loads paper which is the same size as the image - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 113
to do is to set the printing system to emulate the printer your software supports and select the appropriate printer driver. In rare cases when your software does not support any of the printers above, install your software to drive the standard line printer and use PRESCRIBE commands to control - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 114
an emulation that best suits the requirement by the application software. In most cases, the emulation will be the factory default setting (mode 6: HP LaserJet). Refer to the following EXIT; !R! FRPO P1, 9; EXIT; The emulation mode can also be changed from the printing system's operator panel. 7-2 - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 115
true for proportional spacing. When proportional spacing is used, your word processing software, using an HP LaserJet driver, may be unable to properly right justify proportional text. • The printing system supports scalable (outline) fonts. With the assistance of PRESCRIBE commands, the scalable - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 116
. The symbol set may be selected with the INTL command or the operator panel keys. Permanent setting of the symbol set is made with the with the Proprinter escape sequences. The following symbol sets list shows the support for the IBM emulation. Table 7.3. IBM Proprinter X24E Symbol Sets Symbol - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 117
the printing system defaults to LetterGothic (12 points, 10 cpi). This default font emulates the IBM printer's Sans-serif 10cpi font. The default font cannot be changed commands or by using a printer driver from your word-processing software that supports the IBM Proprinter X24E. No PRESCRIBE - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 118
horizontal tabulation, line spacing, and paper length. The font mode set for ; EXIT; It should be noted that for FTMD 13; the default Draft Sans-serif font will be printed in 12 cpi, and system supports the IBM printer's bit-image graphics in portrait orientation, so graphics software using the - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 119
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 - - Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes - Yes Yes Yes Yes Yes - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 120
Chapter 7 Emulation 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 - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 121
IBM Proprinter X24E Emulation (Mode 1) 7-9 IBM Symbol Sets IBM PC-8 (341) IBM PC-8 (D/N) (373) - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 122
Chapter 7 Emulation 7-10 IBM PC-850 (405) IBM PC-860 (30) - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 123
IBM PC-865 (94) IBM Proprinter X24E Emulation (Mode 1) 7-11 IBM PC-863 (62) - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 124
. To select one of these symbol sets, use the INTL command or the operator panel keys. Permanent setting of the symbol set is made with the FRPO U6 reset. In Diablo emulation, the printing system supports the embedded commands of word-processing software essentially the same way as the Diablo 630 - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 125
to apply the appropriate font number for that scalable font. The default font mode (FTMD) is 0, so the printing system will not you can have black mean normal CGTimes and red mean CGTimes italicized. The appropriate setup is shown below, together with a short file and the printed result. !R! SFNT - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 126
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 1B 2C 1B 2D 1B 2E n 1B 2F 1B 5C 1B 30 1B 31 1B 32 Supported Yes Yes Yes - Yes Yes Yes Yes Yes Yes - - Yes - Yes - Yes - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 127
1B 50 1B 51 1B 52 1B 53 1B 54 1B 55 1B 56 1B 56 07 1B 57 1B 58 1B 59 1B 5A Supported Yes Yes Yes Yes - Yes Yes - - - Yes Yes Yes Yes Yes Yes Yes - - Yes - - Yes Yes Yes Yes Yes Yes Yes - - Yes Yes - - 7-15 - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 128
Chapter 7 Emulation 7-16 Diablo 630 Symbol Sets DIABLO US (29) Diablo France (61) - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 129
Diablo 630 Emulation (Mode 2) 7-17 Diablo Germany (93) Diablo U. K. (125) - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 130
Chapter 7 Emulation 7-18 Diablo Denmark (157) Diablo Sweden (189) - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 131
Diablo 630 Emulation (Mode 2) 7-19 Diablo Italy (221) Diablo Spain (253) - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 132
Chapter 7 Emulation 7-20 Diablo Japan (285) - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 133
). This default font emulates LQ-850's Draft, 10 cpi and cannot be changed for the LQ-850 emulation. The printing system also emulates the other four LQ-850 fonts (five in all). These fonts can be selected by embedded commands in the word processing software or using an Epson LQ-850 printer driver - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - 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 TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 135
cpi 8 Condensed 12 cpi, Condensed proportional 9 You can alter these default SETF assignments to suit your own purposes. In the example below, four orientation. In portrait orientation, the printing system supports Epson bit-image graphics, so with graphics software for the LQ-850 printer, you can - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 136
Table 7.13. Epson LQ-850 Control Codes Command Function Printer Operation ESC @ Initialize Printer DC 1 Select Printer DC 3 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 - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 137
Epson LQ-850 Emulation (Mode 5) 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 - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 138
Chapter 7 Emulation 7-26 LQ-850 Symbol Sets LQ US (28) LQ France (60) - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 139
LQ U.K. (124) Epson LQ-850 Emulation (Mode 5) 7-27 LQ Germany (92) - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 140
Chapter 7 Emulation 7-28 LQ Italy (220) LQ Spain (252) - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 141
Chapter 7 Emulation 7-29 LQ Japan (284) LQ Norway (316) - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 142
Chapter 7 Emulation 7-30 LQ Denmark 2 (348) LQ Spain 2 (380) - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 143
LQ Denmark (156) Epson LQ-850 Emulation (Mode 5) 7-31 Latin America (412) - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 144
Chapter 7 Emulation 7-32 LQ Sweden (188) - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 145
as the default font, add operator panel keys, or with LaserJet symbol sets typically accessed through software. The printing system also supports as many HP symbol sets as the LaserJet regularly supports and still other symbol sets can be provided in downloaded fonts. (A full list of the supported - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 146
or downloaded fonts. Since the LaserJet font selection codes are fairly complex (Refer to LaserJet Font Selection section.), software that supports system's memory, the page printing system will choose from the characteristics of the closest matching font. The LaserJet emulation supports 600/1200 - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 147
page size of the default cassette. If you driver is selected within the application software). LaserJet Fonts The printing system emulates the LaserJet fonts as listed below. Table 7.15. LaserJet Fonts No. HP LaserJet Font Kyocera LDFC fonts or downloaded bitmap fonts by resolution support, font - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 148
is not available in the printing systems not supporting the 600/1200 dpi resolutions. For example, source 1 Downloaded and LDFC-generated fonts Smaller font ID 2 Memory card fonts dark which was the default stroke weight of Courier and Letter Gothic in order Kyocera printing systems by - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 149
priority in the HP font selection. The factory default symbol set is IBM PC-8 (10U) for the CSET (Change symbol SET) command or from the operator panel keys. You can also assign one of these downward compatibility. The following symbol sets are supported when substituted bitmap fonts are in use. - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 150
) 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 symbol set, use the following FRPO U6 and U7 values. . Table - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 151
HP LaserJet Emulation (Mode 6) Table 7.17. 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 TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 152
section. Resource Protection The resource protection feature is Kyocera's implementation of the HP's resource saving. The remain intact when the user switches to and from the HP LaserJet emulation. A permanent default can be set for resource protection using the following FRPO command: !R! FRPO N9, - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 153
requirement for Resource Protection The following tables are memory requirements for typical printing system models. For information on memory requirement on other printing system models, refer to the operation manual supplied with the printing system. Table 7.19. Example: FS-1000 Series Printing - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 154
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 . The amount of available printing system memory will determine whether the 600/1200 dpi default can be effective. If factors such - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 155
Rectangular area fill Macro Troubleshooting command Number of copies Cassette Orientation Paper size VMI HMI Top default states but, more importantly, allows current printing system states to be communicated back to the host system. The Kyocera printing systems described in this manual support - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 156
Table 7.22. Supported PJL Commands Command Group Environment Commands Command DEFAULT SET Status Readback Commands to return the printing system online. Deletes printing system mass storage files. Downloads files to the printing system mass storage system. Initializes the printing system mass - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 157
file indication. It is not part of PJL, but is used to end KPDL instructions. The PJL command syntax should follow one of four formats: Format 1: - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 158
Chapter 7 Emulation PJL variables PJL uses alphanumeric variables, numeric variables, and strings. The following explains the three types of variables and their ranges. Alphanumeric variables Any combination of letters and digits, with the rule that the first character must always be a letter. - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 159
Printing resolution RESOLUTION Raster memory PAGEPROTECT (HP Page protection) Personality PERSONALITY KIR (HP RET) RET Interface timeout TIMEOUT Copy COPIES Paper size PAPER Orientation ORIENTATION Manual feed MANUAL FEED Paper source MANUAL FEED Output stack OUTBIN FRPO - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 160
Chapter 7 Emulation Table 7.23. 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 TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 161
that the command is supported and No means that the command is not supported (depending on the 32 Yes Yes 33 34 35 58 Simplex/Duplex Operation Simplex/Dupl Simplex ex Print Duplex Long-Edge- Paper ESC&l1H Tray (1) 1B 26 6C 31 48 Yes Yes Manual Feeder (2) ESC&l2H 1B 26 6C 32 48 Yes Yes Manual - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 162
Chapter 7 Emulation Table 7.24. HP LaserJet PCL Commands (Sheet 2 of 16) 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 TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 163
HP LaserJet Emulation (Mode 6) Table 7.24. HP LaserJet PCL Commands (Sheet 3 of 16) Function Page Size Parameter Color Prepunched Envelope Card stock Custom 1 Custom 2 Custom 3 Custom 4 Custom 5 Custom 6 Custom 7 Custom 8 Command Hexadecimal Value ESC&n6Wd 36 57 64 43 6F Color 6C 6F 72 ESC - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 164
Chapter 7 Emulation Table 7.24. HP LaserJet PCL Commands (Sheet 4 of 16) Function Parameter Command International ESC&l100A B5 Custom ESC&l101A Monarch ESC&l80A COM 10 ESC&l81A DL ESC&l90A Page Length International ESC&l91A C5 # of Lines ESC&l#P Orientation Orientation Portrait ESC& - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 165
/inch ESC&l48D Alphanumeric # of bytes ID CURSOR POSITIONING Vertical and Horizontal Vertical Position # of Rows # of Dots ESC&n#W [operation] [String] ESC&a#R ESC*p#Y Horizontal Position # of ESC&a#V Decipoints # of Columns ESC&a#C # of Dots ESC*p#X # of ESC&a#H Decipoints Half Line - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 166
Chapter 7 Emulation Table 7.24. HP LaserJet PCL Commands (Sheet 6 of 16) Function Parameter Command Math-8 Symbol ECMA-94 Latin 1 ISO L2 ISO L5 ISO 8859-10 Latin 6 ISO 11: Swedish ISO 17: Spanish Windows 3.1 Latin 5 ESC(8M ESC(19M ESC(0N ESC(2N ESC(5N ESC(6N ESC(0S ESC(2S ESC(5T PC Turkish ESC - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 167
HP LaserJet Emulation (Mode 6) Table 7.24. HP LaserJet PCL Commands (Sheet 7 of 16) Function Parameter Command Inline ESC(s64S Shadowed ESC(s128S Outline Shadowed Stroke Weight Primary Font Ultra Thin Stroke Weight Extra Thin ESC(s160S ESC(s-7B ESC(s-6B Thin ESC(s-5B Extra Light ESC(s-4B - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - 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 Underline Underline Text Parsing Method Primary Font ESC(3@ Secondary Font ESC)3@ Enable Fixed ESC&d0D Enable Floating ESC&d3D Disable - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 169
58 Yes Yes 1B 29 #...# 58 Yes Yes Soft Font Creation Font descriptor # of bytes ESC)s#W[Data] 1B 29 73 #...# 57 Yes Yes (font header) Download # of bytes ESC(s#W[Data] 1B 28 73 #...# 57 Yes Yes character Character code Character code # (decimal) ESC*c#E 1B 2A 63 #...# Yes Yes 45 GRAPHICS PCL - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 170
Chapter 7 Emulation Table 7.24. HP LaserJet PCL Commands (Sheet 10 of 16) Function Parameter Command Enter HP-GL/2 Mode Use Previous ESC%0B HP-GL/2 pen position Use current PCL cursor position ESC%1B HP-GL/2 Plot Horizontal ESC*c#K Horizontal size in inches Size HP-GL/2 Plot Vertical size - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 171
Resolution THE PRINT MODEL Imaging Select Current Solid Black ESC*v0T Pattern (default) Solid White ESC*v1T HP-defined Shading Pattern ESC*v2T HP-defined Transparent ESC*v0O Transparency Mode Opaque ESC*v1O Logical Operation # = ROP3 ESC*l#O input value Pixel Placement Grid - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 172
Chapter 7 Emulation Table 7.24. HP LaserJet PCL Commands (Sheet 12 of 16) Function Parameter Command Hexadecimal Value Desk- Floor top type type B&W B&W Shading 2% Gray ESC*c2G 1B 2A 63 32 47 Yes Yes 10% Gray ESC*c10G 1B 2A 63 31 30 Yes Yes 47 15% Gray ESC*c15G 1B 2A 63 31 35 Yes Yes 47 - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 173
ESC*s0T ESC*s1T All Locations ESC*s2T Internal ESC*s3T Downloaded ESC*s4T Cartridge ESC*s5T User-installed ESC*s7T ROM (SIMMs all complete pages ESC&r0F Flush all page ESC&r1F data Free Memory Request free ESC*s1M Space memory status Echo # = Echo value ESC*s#X (-32767 to 32767) - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 174
43 Color Lookup # of Bytes Tables ESC*l#W 1B 2A 6C #...# No No 57 Configure # of Bytes ESC*v#W 1B 2A 76 #...# No No Image Data 57 Download # of Bytes ESC*m#W 1B 2A 76 #...# No No Dither Matrix 49 Foreground Index Number ESC*v#S Color 1B 2A 76 #...# No No 53 Gamma Correction Gamma - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 175
HP LaserJet Emulation (Mode 6) Table 7.24. HP LaserJet PCL Commands (Sheet 15 of 16) Function Parameter Command Palette Control Push/Pop Palette Render Algorithm Delete All Palettes in store ESC&p#C Delete All Palettes in stack ESC*p#C Delete Palette ESC*p#C (last ID) Copy Palette ESC*p#C - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 176
Simple Color 3-Plane ESC*r#U Device CMY Palette 1-Plane K 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 Value Desk- Floor top type type B&W B&W 1B 2A 72 2D 33 No No 55 Desk- Floor top type type - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 177
HP LaserJet Emulation (Mode 6) HP-GL/2 Context Printer Commands In the command tables below, parameters in brackets are optional. Table 7.25. HP-GL/2 Context Printer Commands (Sheet 1 of 2) Command DUAL CONTEXT EXTENSIONS ENTER PCL MODE Mnemonic ESC%#A RESET ESCE PRIMARY FONT Fl SECONDARY - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 178
STATUS GROUP Advance Full Page PG SCALE SC INPUT 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 TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 179
Words> Printable characters (ASCII characters 33 through 126) and PJL Commands COMMENT @PJL COMMENT [] DEFAULT @PJL DEFAULT [LPARM: personality] variable = value [] DINQUIRE @PJL DINQUIRE [LPARM: personality] variable [] Response @PJL DINQUIRE [LPARM - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 180
Chapter 7 Emulation 7-68 LaserJet Symbol Sets ISO-60 Norway (0D) ISO-15 Italian (0I) - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 181
HP LaserJet Emulation (Mode 6) 7-69 ECMA-94 Latin 1 (0N) ISO 11 Sweden (0S) - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 182
Chapter 7 Emulation 7-70 ISO-6 ASCII (0U) ISO-4 U. K. (1E) - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 183
HP LaserJet Emulation (Mode 6) 7-71 ISO-69 France (1F) ISO-21 Germany (1G) - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 184
Chapter 7 Emulation 7-72 US Legal (1U) ISO Latin 2 (2N) - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 185
PC Cyrillic (3R) HP LaserJet Emulation (Mode 6) 7-73 ISO-17 Spain (2S) - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 186
Chapter 7 Emulation 7-74 PS math (5M) ISO Latin 5 (5N) - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 187
HP LaserJet Emulation (Mode 6) 7-75 Windows Latin 5 (5T) MS publishing (6J) - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 188
Chapter 7 Emulation 7-76 ISO Latin 6 (6N) Desktop (7J) - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 189
Math-8 (8M) HP LaserJet Emulation (Mode 6) 7-77 Greek-8 (8G) - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 190
Chapter 7 Emulation 7-78 Turkish-8 (8T) HP Roman-8 (8U) - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 191
HP LaserJet Emulation (Mode 6) 7-79 Windows Latin 2 (9E) Windows Greek (9G) - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 192
Chapter 7 Emulation 7-80 PC-1004 (9J) ISO Latin 9 (9N) - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 193
PC-Turkish (9T) HP LaserJet Emulation (Mode 6) 7-81 Win Cyrillic (9R) - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 194
Chapter 7 Emulation 7-82 Windows (9U) PC-851 Greek (10G) - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 195
ISO Cyrillic (10N) HP LaserJet Emulation (Mode 6) 7-83 PS text (10J) - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 196
Chapter 7 Emulation 7-84 PC-855 Serbia (10R) PC-869 Greek (11G) - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 197
Macintosh (12J) HP LaserJet Emulation (Mode 6) 7-85 PC-8 Greek (12G) - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 198
Chapter 7 Emulation 7-86 ISO Greek (12N) USSR-GOST (12R) - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 199
HP LaserJet Emulation (Mode 6) 7-87 ABICOMP Brazil (13P) PC-8 Bulgarian (13R) - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 200
Chapter 7 Emulation 7-88 PC-8 Greek/437G (14G) ABICOMP Int. (14P) - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 201
Pi font (15U) HP LaserJet Emulation (Mode 6) 7-89 PC Ukrainian (14R) - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 202
Chapter 7 Emulation 7-90 PC-857 Turkish (16U) PC-852 Latin 2 (17U) - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 203
HP LaserJet Emulation (Mode 6) 7-91 ISO-10646 (18N) PC-853 Turkish (18U) - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 204
Chapter 7 Emulation 7-92 Winbalt (19L) Windows Latin 1 (19U) - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 205
HP LaserJet Emulation (Mode 6) 7-93 PC-860 Portugal (20U) PC-861 Iceland (21U) - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 206
Chapter 7 Emulation 7-94 PC-863 Canada (23U) PC-8 Polish (24Q) - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 207
PC-775 (26U) HP LaserJet Emulation (Mode 6) 7-95 PC-865 Norway (25U) - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 208
Chapter 7 Emulation 7-96 PC-8 PC Nova (27Q) - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 209
printing systems that handle A3-size paper. The printing system emulates the Hewlett-Packard plotter model HP 7550A and uses the Kyocera Graphics Language (KC-GL). (A semi-colon or line feed, not required if instructions continue) Some instructions use no parameters. For two or more parameters, - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 210
. The character plot terminator is used to terminate the LB (LaBel) instruction. The default terminator is the ETX character (End of Text), which uses ASCII code 3. If this terminator is inconvenient, the DT instruction enables the user to change the character plot terminator to a different - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 211
Default cursor at bottom left Plot Coordinates (bit 0) This bit defines one of two plotting coordinate modes. (See Figure 7. 28. on page 99.) 0 = Mode A 1 = Mode B In mode A, the origin (0, 0) starts at bottom left. In mode B, the origin starts at the center of the page. Response to SP Instruction - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 212
instruction includes a negative parameter value. Enhance Mode (bit 3) This bit supports Landscape 1 = Observes the FRPO C1 value. Default Cursor Position (bit 5) This bit defines the with a PRESCRIBE command, or by a simple front-panel operation. Format !R! FRPO Gn, xx; EXIT; Parameters n: pen - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 213
Size The KC-GL can print the data of paper sizes larger than A2 size reducing it onto a paper size specified using the SPSZ command. Reduction of any digits to the right of the decimal place will be ignored. (Plot instructions use the same range of parameter values, but digits to the right of the - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 214
opposite to P1. These two points define the diagonal of a rectangle, which by default is centered on the paper. P1 and P2 can be moved by an instruction which defines any rectangle, independent of the actual paper size. The default positions of the scaling points in modes A and B are listed at the - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 215
information applies to the following KC-GL instructions. Instruction OA OC OE OF OH OI OL Output Window All of these instructions use the same syntax and must instructions appear on the following pages. The last ASCII character sent by the plotter (printing system) in response to the instruction - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 216
to 0.025 mm on both the x- and yaxes. The actual number of plotter units per millimeter is approximately 40. OH [Output Hard-clip limits] This instruction returns the lower left and upper right limiting coordinates of the plot area, in the following format: XLL, YLL, XUR, YUR TERM LL: lower left - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 217
printing system, as follows: Buffer allocation Polygon instruction Arc and circle plotting 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 - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 218
and P2 values are read via the RS-232C interface, or when the IN instruction is executed. 2 4 A digitized point is ready for output. This bit when a 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 - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 219
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 • Buffer full The following table describes this status information.The paper feed source is the internal cassette at all - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 220
buffer is full with the printing system under one of the following conditions: cover open, paper empty, or paper jam. 41 The paper empty, or paper jam. Fonts and Symbol Sets in KC-GL KC-GL uses a special stroke font. The fonts employed in the other emulations cannot be used in KC-GL. The default - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 221
HP 7550A Emulation [KC-GL] (Mode 8) 7-109 KC-GL Symbol Sets ANSI ASCII (0) Roman Extensions (7) - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 222
Chapter 7 Emulation 7-110 Katakana (8) KC-GL International Characters - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 223
10776 3182 Coordinate Values Table 7.34. Coordinate Values, Mode A, RO 0 Paper size P1x P1y P2x P2y A4 430, 200 10430, 7400 A3 380, 7520 Ledger 620, 80 15820, 10080 Table 7.35. Coordinate Values, Mode A, RO 90 Paper size P1x P1y P2x P2y A4 200, 430 7400, 10430 A3 430, 380 10430, - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 224
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 for AA, AR, CI - Default run [d], rise [d] Absolute direction - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 225
..., Plot relative xn-coordinate [i/sd], yn-coordinate [i/sd]) paper-size [i] Select paper size pen-thickness [d] Pen thickness x1-coordinate [i/sd], y1- filled wedge - X-tick - Y-tick E-Mask Bit Values The IM instruction sets an E-mask that controls how errors are reported on the RS - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 226
2 1 Changed P1 or P2 4 2 Valid digitizing point 8 3 Initialized 16 4 Ready 32 5 Error 64 6 - 128 7 - Device-Control Instructions Table 7.40. Device-Control Instructions Instruction ESC.( ESC.Y ESC.) ESC.Z ESC.@ ESC.B ESC.E ESC.H ESC.I ESC.J ESC.K ESC.L ESC.M ESC.N ESC.O ESC - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 227
| P2x - P1x | Mask value IM233,0,0; All errors recognized, but no response to service request or parallel port. Fill type FT; Type 1 (bidirectional fill) Fill spacing FT instruction Initial condition Default conditions DF; Default values Scaling points IP; Initialized according to paper - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 228
set. Communication with the Printing System The operations described below are performed by sending KPDL operators to the printing system in the KPDL mode. KPDL operators can be sent either by file transfer, or interactively using communications software. This section explains both methods. As an - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 229
control codes, as are frequently added by word-processing software. • The file must be sent as a file, memory called the stack. In the operator table, each operator is preceded by its list of operands (if any). These operands must be placed onto the stack prior to the operator itself. Each operator - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 230
elements from stack into array Get arctangent of num/den in degrees Print string with ashow and widthshow effects Push dict on dictionary stack Replace operator names in proc by values Shift int1 bitwise by count (positive is left) Get number of bytes left to read in file Get font cache - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 231
(Sheet 2 of 11) Preceding stack mark obj1...objn Operator cleartomark clip clippath 3 cliprestore 3 clipsave file closefile closepath width height bits/comp colorimage matrix datasrc0 ... datasrcn-1 multi ncomp key name array 3 composefont key string array - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 232
x1 y1 x2 y2 x3 y3 num/string obj string num/string num radix string obj string obj key value Operator currentdict Result dict currentfile file currentflat num currentfont font 2 currentglobal bool currentgray 2 currentgstate 2 currenthalftone num gstate halftone currenthsbcolor hue sat - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 233
Table 7.44. KPDL Page Description Operators (Sheet 4 of 11) Preceding stack matrix Operator defaultmatrix key font definefont key instance file name bool array font instance num2 Description Replace matrix with device default matrix Define font as a font dictionary associated with key Define a - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 234
proc array proc dict proc string proc any num/string1 num/string2 array index dict key string index string index count Operator FontDirectory for forall forall forall 2 gcheck ge get get get getinterval array index count getinterval 2 globaldict 2 GlobalFontDirectory name 2 glyphshow grestore - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 235
x y userpath userpath1 userpath2 x y userpath x y userpath matrix userpath1 userpath2 userpath1 userpath2 matrix matrix1 matrix2 Operator 2 inueofill inueofill 2 inufill inufill 2 inustroke inustroke inustroke inustroke invertmatrix 2 ISOLatin1Encoding x' y' itransform x' y' matrix itransform - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 236
7 Emulation Table 7.44. KPDL Page Description Operators (Sheet 7 of 11) Preceding stack Operator pathbbox move line curve close pathforall obj string a named resource instance Restore saved virtual memory Reverse direction of current path printing system's software Get product revision 7-124 - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 237
(Sheet 8 of 11) Preceding stack dx dy Operator rlineto dx dy rmoveto ob(n-1)...ob0 n i roll 2 Round off num1 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 - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 238
length limit Establish the number representation Set the overprint parameter Set the array packing mode Install a page output device. Parameters for this operator is fully detailed in KPDL Page Device Parameters on page 136. Establish the specified pattern as the current color Set red/green/blue - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 239
rsize rmax blimit userpath dict array int Description Push statusdict on operand stack Terminate procedure executed by stopped operator Execute object. Return true if stop operator is executed in object, false if object completes normally Replace topmost definition of key Create string of length - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 240
false bool int/bool3 Description Return virtual memory status: current save nesting depth, bytes password. Table 7.45. KPDL Status Operators (Sheet 1 of 5) Preceding stack Operator printing system' s password (true: valid password, false: invalid password) job manual wait Get timeout values - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 241
Operators (Sheet 2 of 5) Preceding stack Operator pagestackorder string papersize printername product ramsize realformat revision [integer ... integer] setcollatorstacker job manual Get current paper size and orientation up) Set printing system' s password Assign string as printing system name - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 242
page 141. 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 front or odd page, false: back or even page) Set the default paper tray as: 0: tray 1 1: tray 2 2: envelope feeder 3: MP tray (Cassette mode) 4: - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 243
Table 7.45. KPDL Status Operators (Sheet 4 of 5) Preceding stack int int Operator defaultpapertray setpapertray papertray setpapertray2 com6envelope-tray com9envelope-tray Description Get current default paper tray. Set current paper tray. Get current paper tray. Select a tray by converting - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 244
Operators (Sheet 5 of 5) Preceding stack Operator size paper. Find tray containing custom size paper, select it as current tray, and set imageable area for custom size paper. Set the default output dojamrecovery mode. (true: perform jam recovery, false: do not perform jam recovery) Get time elapsed - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 245
KPDL Operators KPDL System buffer size used by the current input device. Indicate in bytes the memory size used by the current user path cache. Turn on/off the used between resource identifiers on the harddisk. Defaults are in (/). Indicate the default job timeout value. Indicate the maximum - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 246
to execute the (Sys/Start) file on the harddisk when first booting KPDL after power on. (0: 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. Limit the maximum font cache - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 247
int MinFontCompress int VMReclaim int VMThreshold int WaitTimeout int Description Turn on/off the accurate mode flag for the setscreen operator. (true: detail screen on, false: default) Return the name of the job currently being processed by the printer. Return the current job timeout value - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 248
, false: simplex) Indicate EndPage procedure operations. This parameter is called together with the number of times showpage has executed since the end of the page. (default: {exch pop 2 ne}) Return as a boolean value whether to perform recovery when a paper jam occurs. (Read only) [true] Indicate - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 249
Operators Table boolean object the processing when the page size selected during page setup differs from the paper size of the tray. (true: display cassette error) Return as the current tray. Set whether to output paper. (true: default, false: no output paper) Turn on/off the collate function. (true - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 250
Chapter 7 Emulation Table 7.48. KPDL Page Device Parameters (Sheet 3 of 3) Preceding Stack Parameter PunchMode SlipSheet SlipSheetDetails CopyMode PreRenderingEnhance Result int int dict int bool DeviceRenderingVividInfo dict DeviceRenderingRGBInfo dict DeviceRenderingCMYKInfo dict a - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 251
following parameters as tabled below according to the key of operations. By making /Collate true, CollateDetails enables the printing system string string array Job name User name Time stamp VMB destination Parameters default 0: HP Mopier mode/Job retention 0 1: Volatile job 2: Nonvolatile - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 252
printing systems having the operator display display errors occurring during operation in the KPDL mode also reported from the printer to the computer. Some software will display these error names on the computer screen. Cannot initiate KPDL 01 dictfull Dictionary full; no new entries can be added - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 253
or illegal access was attempted 27 badpassword Bad password 28 invalidnumber Invalid number 29 nomemory Memory unavailable 30 configurationerror Setpagedevice request cannot be satisfied 31 invalidcontext Improper use of context operation 32 invalidid Invalid identifier for external object - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 254
Chapter 7 Emulation Figure 7. 52. Printable Area 7-142 Table 7.53. Paper Sizes and Printable Area Paper type Paper size cm Points A3a 29.7 x 42.0 842 x 1191 B4a 25.7 x 36.4 728 x 1032 A4 21.0 x 29.7 595 x 842 A4 Small 21.0 x 29.7 595 x 842 A5 - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 255
user defined, 2-23 Dash type, 2-22 Dashed line, 2-22 Decimal place, 1-11 Default font, 4-2 Destination image, 2-37 Diablo 630 character set, 7-16 control code, printing, 7-5 Double-wide fonts, 7-21 Double-wide printing, 7-5 Downloadable font, 4-2 Dummy parameter, 3-3 Dummy sign (macro), 3-2 E - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 256
4-9 Font selection, 4-7, 7-35 by embedded software commands, 4-12 by PRESCRIBE, 4-7 font selection default status, 7-115 device control, 7-107 emulation, 7-97 instruction format, 7-97 instructions , 2-3 Logical page, 1-9 M Margins, 1-4, 1-6, 2-2 Memory card, 4-2 Miter limit, 2-21 values, 2-22 Mitered - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 257
2-16 Subpath, 2-17 basic concept, 1-9 Superscripts & subscripts, 7-5 Symbol set default selection, 7-37 Symbol set (SFNT), 4-8 T Tagged image file format (TIFF), (KC-GL), 7-101 USPS (barcode), 5-2 W Word-processing software, 1-5, 4-12, 7-1 X X/Y (coordinates), 1-7 Z Zero-relative coordinates, 2-24 - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 258
© 2013 KYOCERA Document Solutions Inc. is a trademark of KYOCERA Corporation - Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 259
- Kyocera TASKalfa 4551ci | PRESCRIBE Commands Technical Reference Manual - Rev. 4 - Page 260
Rev. 4.9 2013.1
Technical Reference
PRESCRIBE Commands