Kyocera TASKalfa 181 PRESCRIBE Commands Technical Reference Manual - Rev. 4.7
Kyocera TASKalfa 181 Manual
View all Kyocera TASKalfa 181 manuals
Add to My Manuals
Save this manual to your list of manuals |
Kyocera TASKalfa 181 manual content summary:
- Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 1
PRESCRIBE Commands Technical Reference - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 2
- Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 3
with the sale of the printing system, are protected by copyright. All rights are reserved. Copying or other reproduction of all or part of this manual, the computer programs, or any other copyrightable subject matter without the prior written consent of Kyocera Mita Corporation is prohibited - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 4
user license agreement which can be obtained from Agfa Japan. Agfa Japan retains all rights, title and interest to the Software and Typefaces and no rights are granted to you other than a License to use Agfa Japanpublished specifications, and the or replacement of defective parts, upon their return to - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 5
Introduction This manual contains information needed to use the firmware features provided by the Kyocera printing system. Among these features to: • extensive manipulation of fonts and character code tables • use the ability to draw objects by constructing and manipulating paths including ellipses - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 6
models, some commands are irrelevant. Model-dependent differences are noted at the pertinent locations in this manual. Conventions • italic is used for emphasis and also refers to a related chapter or section in this manual or another related document. • fixed-pitch means text or commands that you - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 7
Data 2-35 Printing Raster Data...2-37 Changing the Printing System's Imaging Model 2-37 Saving and Restoring the Graphics State 2-39 Macros Examples of Macros ...3-3 Fonts List of Fonts ...4-2 KPDL Fonts ...4-4 Substituting a Bitmap Font ...4-6 v - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 8
emulation sensing ...7-3 General Information on Emulation 7-3 Line Printer Emulation (Mode 0) ...7-3 IBM Proprinter X24E Emulation Status Information ...7-102 Device-Control Instructions ...7-106 Fonts and Symbol Sets in KC-GL 7-107 Summary of KC-GL Instructions 7-111 KPDL Operators ...7-115 - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 9
native language of the Kyocera printing systems including copiers (collectively referred to as program and are not directly visible to the user. In contrast, PRESCRIBE commands are made of printing and add features that may not be supported by your application. This chapter presents an introduction - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 10
7 for details. The printing system is factory-set to emulate the Hewlett-Packard LaserJet. The example below shows how these transitions can be used in a file. The lines beginning with !R! are PRESCRIBE commands. Note how each block of commands begins with !R! and ends with EXIT;. These sections - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 11
WELCOME TO WINDFALL NATIONAL PARK !R! SFNT "Times-Rom"; EXIT; The park entrance is located in the rolling hills of the Northern Woods, a forested area abundant in deer, space, and each command must end with a semicolon. The use of PRESCRIBE commands in document files is conditional on the behavior - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 12
the outside edges of the paper. The edge limits to which printing is possible are located 5 mm inside the edges of the paper; or 6 mm (5mm in landscape 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 - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 13
bottom 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 software that sets the margins automatically, you should not set them with PRESCRIBE commands. Page Orientation and Direction The term page orientation - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 14
Changing the print direction also changes the margins to maintain the same printable area as prior to the change. The current position (the physical location in which the next character will be printed) and its coordinate values remain the same as in the previous print direction. Changing the print - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 15
, positions on a page are described in terms of X and Y coordinates. The origin of the coordinate system (the position at which X and Y both equal 0) is located at the intersection of the top margin and the left margin. Values of X greater than 0 indicate positions to the right of the origin, and - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 16
not have separate cursors for text and graphics.) Text and graphics can be positioned at arbitrary locations on the page by moving the cursor with positioning commands (MAP, for example). Figure 1. the right margin, you must use software that supports the printing system's proportional spacing. 1-8 - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 17
areas, and they may intersect themselves in arbitrary ways. Paths can be used to draw lines and curves or specify boundaries of filled areas, including defines the limits of the coordinates within which text and graphics can be located. There are two types of logical page, as shown in the following - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 18
y With the standard mode logical page, any position specification that lies outside of the logical limits is automatically mode logical page is used. The fine line represents the line as specified by the user; the thick line parts falling outside of the edge limits are clipped. - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 19
remainder of the angle divided by 360. Examples: Angle output by computer Angle used by printing system (degrees) 90 90 -90 -90 90.4 90 90.5 , and even PRESCRIBE command names, is recognized as part of the character string, and not as part of the PRESCRIBE command language. For example, the - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 20
character strings unintentionally. The following examples demonstrate incorrect use of apostrophes and double quotation marks. Incorrect: !R! the above cases, the printing system assumes that the expression EXIT; is part of a character string started by the preceding apostrophe or quotation mark, and - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 21
'A' is off center in the circle is that the cursor is not located at the center of the circle, but at left corner of the letter 'A'. used to select fonts.) The FSET and CSET commands use parameters that closely resemble the command parameters used for font control in Hewlett-Packard's printer - Kyocera TASKalfa 181 | 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 TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 23
chapter introduces the various graphics concepts of PRESCRIBE, and illustrates how 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 patterns, how to define your own fill patterns, and - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 24
given in the sections that follow. Lines to Absolute Position Begin with a simple task such as drawing a line between two arbitrary points on a page. Use the MAP and DAP commands to specify positions relative to the top and left margins. This task has several distinct steps: selecting a line width - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 25
margin. Finally, PAGE; prints out the page, allowing us to look at the result of our work. Zero-relative Lines The line draw example below uses some new commands to draw another line. !R! RES; SPD 0.01; MZP 0.5, 1; DZP 2, 0.5; PAGE; EXIT; 2-3 - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - 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 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 27
Position) and DRP (Draw to Relative Position) specify positions in relation to the cursor's current position. When the command sequence starts, the cursor is located at the intersection of the left and top margins. The command MRP 2, 1; on line 3 moves the cursor 2 inches to the right of its current - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 28
Boxes The BOX (draw box) command draws a box of a specified width and height. As with the line drawing commands, the thickness of the line used to draw the box is determined by the SPD (set pen diameter) command. The following command sequence draws a box. !R! RES; UNIT C; SPD 0.1; MZP 3, 3; BOX - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 29
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 unit, inches; and the default line width, 3 dots.) Next, the MZP command on line four moves the cursor to the point that is - Kyocera TASKalfa 181 | 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 TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 31
types of filled shapes: arcs and blocks. Such shapes are filled with one of the printing system's predefined patterns, or with a user defined pattern. Filled areas of other shapes can be printed using path mode graphics. For details, see the explanation in section Path Mode Graphics on page 16. 2-9 - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 32
the circle of which the arc is a part. This section shows how to select a fill command. For 1200-dpi and 600-dpi models, the user can define the printing resolution (300, 600, 1200 dpi by using the GPAT (set Gray PATtern) command. It is possible to apply a color to a pattern specified using PAT, - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 33
, you can specify an option parameter to make the cursor move to a specified location after the box is drawn. (The cursor remains unmoved if the option parameter is cursor position. The dimensions of the arc are determined by user specified inner radius, outer radius, starting angle, and ending - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 34
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 8 × 8 dot pattern. The - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 35
the pattern shown in the figure 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 1 8 4 2 1 6 bits (x) + 64 6 bits (y) + 64 - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - 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 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 37
are drawn in sequence clockwise around the circle. The line thickness used for drawing the circle and the lines between slices are designated does not fill in the slices with any fill pattern. The PAT command can be used to create shaded areas. The previous example is expanded to fill in the slices. - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 38
straight or curved line segments, either connected or disconnected, that describes the shape and position of one or more objects or regions. Paths can be used to draw lines and curves and to specify boundaries of filled areas. A path is stroked by drawing a line of arbitrary width along it. The line - Kyocera TASKalfa 181 | 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 path may include multiple closed subpaths, representing several areas, and a path may intersect itself in an arbitrary manner. The order of the segments that define a path is significant. A pair of line segments is said to - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 40
Chapter 2 Graphics Tutorial Drawing Lines The following example shows how to draw a line in the path mode. !R! RES; NEWP; PMZP 1, 1; PDZP 2, 3; STRK; PAGE; EXIT; Figure 2. 14. Drawing Lines in Path Mode (1, 1) (2, 3) Line 1 of the program switches the printing system to the PRESCRIBE mode and resets - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 41
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; PMZP 1, 1; PDZP 2, 3; PMRP .5, -1; PDRP -1, -1; SPD 0.04; STRK; PAGE; EXIT; Figure 2. 15 - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 42
the following format: SCAP line-cap 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 path; SPD .5; CMNT Sets line - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 43
mode; Values for line-join mode include: 1 (for beveled joins) 2 (for mitered joins) 3 (for round joins) 4 (for notched joins) Miter Limit When using mitered line joins, the use of such joins is limited by the miter limit. The miter limit is the maximum ratio of the distance l between the inner and - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 44
60 3 39 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 a predefined pattern of alternating black and white to stroke paths. This makes it possible to stroke paths as dashed lines. You can also define your - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 45
Dash Pattern) command to define your own dash patterns. Specifying an undefined user pattern number results in solid black lines. User Defined Dash Patterns Using the SDP command, you can define your own dashed patterns for use in stroking lines, arcs, and curves. See the following example: !R! RES - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 46
) and PCRP (Path, Curve to Relative Position) commands make it possible to draw circular arcs and arcs of more complex form. The PARC command uses the format: PARC x, y, radius, ang1, ang2; where x and y describe the zero-relative coordinates of the center of the arc, radius describes the radius of - Kyocera TASKalfa 181 | 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 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 - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 48
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 format. PCRP x1, y1, x2, y2, x3, y3; Figure 2. 25. Bézier Curves x1, y1 x2, y2 Current position x1, y1 x3, y3 - Kyocera TASKalfa 181 | 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 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 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 50
Chapter 2 Graphics Tutorial !R! RES; UNIT C; NEWP; SPD .1; PMZP 3, 4; PCRP 4, 2, 5, 4, 6, 2; STRK; PAGE; EXIT; Figure 2. 28. Third PCRP Example Setting the Flatness of Curves When PRESCRIBE renders any curve, it actually converts the curve to a series of connected straight line segments. The length - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 51
an arc from 90 degrees (straight up) to 270 degrees (straight down) around the center at coordinates 3, 3. After the arc is drawn, the cursor is located at the end of the arc. Then the PARC command on line 4 draws an arc from 270 degrees to 90 degrees around the center at - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 52
-scale pattern. The only change necessary would be to replace the GPAT command on line 3 with a PAT or FPAT command specifying the pattern to be used. The format of the FILL command is FILL rule; The rule parameter specifies the convention according to which the path is filled. 2-30 - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - 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 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 54
stroked or filled as paths. However, another PRESCRIBE command can be used to define a clipping template for clipping texts, paths, and raster edge limits of the page). As with the rectangular area clipping, those parts of the circle that lie outside of the clipping rectangle are erased when - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - 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 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 56
the top edge limit. The CPTH command on line 7 constructs a path using the outline of the characters in the string xyz. The cursor is moved to complexity only by the dot resolution. Raster Data Compression Formats PRESCRIBE supports raster data in three formats: uncompressed raster data, run-length - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 57
Raster Graphics raster data represents a repeating pattern or an uncompressed (unencoded) pattern. It also determines the number of pattern repetitions or bytes of uncompressed data. The control byte is a two's complement value that can be either zero, positive, or negative. A negative value (-1 to - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 58
the raster area. When a width and height are explicitly specified, any part of the raster image that extends outside of the area is clipped. The and at the resolution specified by the STR command. Either command can be used. The RVRD command can only print uncompressed raster data. The RVCD command - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 59
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 and source image are processed varies according to the transparency - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - 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. Operation mode - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 61
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 SIMG command. Try changing the value specified for SIMG on line 3 and see the effect on the result (the figure on the - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 62
path, it becomes possible to restore the path after it has been filled, thereby allowing it to be stroked without reconstructing it. The commands used for saving and restoring the graphics state are the SCG (Save Current Graphics state) command and the RPG (Return to Previous Graphics state) command - Kyocera TASKalfa 181 | 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. The solution is to make the sequence into a macro. Then you can - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 64
dummy sign different from the percent sign or want to specify a comment. The printing system ignores the comment. A useful comment would be a list of the meanings of dummy parameters. In particular, a macro can contain the CALL command, permitting one macro to call another. Macro calls can be nested - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 65
are summarized as follows. Maximum number of macros downloadable to the printing system Maximum nesting levels Maximum length radius into a so-called dummy parameter. Dummy parameters in macro definitions are denoted using percent symbols (%) as below: !R! MCRO CIRCLE; MZP 4, 5,5; CIR %1; ENDM - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 66
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 'Sun Mon Tue Wed Thu Fri Sat - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 67
Figure 3. 2. Macro Example 2 Examples of Macros 3-5 - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 68
This page is left blank intentionally. 3-6 - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 69
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 Using the FSET Command on page 4-9 in this chapter. - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 70
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 FRPO (Firmware RePrOgram) command of parameters V3 - Kyocera TASKalfa 181 | 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 TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 72
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 command. Font Name Albertus-ExtraBold Albertus-Medium - Kyocera TASKalfa 181 | 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 TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 74
style scalable font. Other options include 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 - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 75
There are several ways to select the fonts: one way is to use the appropriate keys on the printing system's control panel; a second 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 - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 76
In this sequence, the assignment of font number 1001 enables it to be selected using the FONT command. Once this assignment has been made, it remains effective until 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 - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 77
going down the list until only one font is left, then that 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 - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 78
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 bitmap fonts, you will probably find font mode 13 most convenient. In font mode 13 character - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 79
SCCS (Save Current 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 font, enter the text and return to the previous font, as in the following sequence - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 80
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 font list. To make this change - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 81
the ASCII code 127, which 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 - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 82
supports many symbol sets (also referred to as character sets). The variety of Kyocera supported symbol sets can be attributed to the numerous printer using the INTL command with appropriate parameters for language and country code, the Kyocera user can access a wide variety of specific characters - Kyocera TASKalfa 181 | 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 ; CSET 1E; CMNT ISO-4 U.K.; EXIT; The SFNT command, primarily used to select and size a scalable font as stated previously, also provides the - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 84
This page is left blank intentionally. 4-16 - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 85
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. They are step-by-step guide with a direct and practical approach. - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 86
with human-readable text if desired. The user need only specify the type of barcode BARC command prints specified data in barcode form. The cursor is located at the top left corner of the barcode for types 0 to lists the allowed lengths and character sets. also lists a default character that is used - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 87
be specified too. Examples: !R! UNIT I; BARC 15, N, '1234567890', .2, .2; EXIT; !R! UNIT I; BARC 8, Y, '123456', .6, .7; EXIT; When two bar heights with human-readable text are used, in some cases the tall bars may overlap the text. The bar1 to bar4 and space1 to space4 parameters adjust the width - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 88
to 10, 20, 30, and 40 dots in the example below. Two bar heights are also used. !R! UNIT D; BARC 36, N, '012345678912', 180, 220, 10, 20, 30, 40 a POSTNET barcode on a mail piece. The United States Postal Service (USPS) utilizes POSTNET (POSTal Numeric Encoding Technique) to process bulk location. 5-4 - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 89
require the FIM-C pattern. Also see the figure on 8 for FIM location. Barcode 43 (Customer) has four bar heights. Only the shortest and 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' - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 90
Chapter 5 Barcodes Table 5.1. Barcode Types (Sheet 2 of 2) No. Type 32 Ames with no checksum 33 Delta distance 'a' (IBM) with no checksum 34 Delta distance 'a' (IBM) with checksum 35 EAN 8 with two-digit supplement 36 EAN 8 with five-digit supplement 37 EAN 13 with two-digit supplement 38 EAN 13 - Kyocera TASKalfa 181 | 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-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 0123456789 - 40 1 One of the following FIM - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 92
and FIM 1"-1/4" 5/8" 3" 2"±1/8" 1"-3/4" Stamp FIM (BARC 40) Clear Zone POSTNET (BARC 39) Clear Zone (5/8" × 4-1/2") Not drawn to scale Preferred location for left-most 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 - Kyocera TASKalfa 181 | 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 - Yes Yes Yes - 6 14 21 (21) 26 - Yes Yes Yes - 6 14 21 (21) 27 - Yes Yes Yes Yes 6 12 18 24 - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - 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 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - 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 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 96
mode parameter in XBCP command format identifies the various functions as listed below. These commands are detailed in the PRESCRIBE Commands Command Reference through 19 These modes give additional control options used to support Macro PDF417 barcodes. See more details in section Macro PDF417. 5-12 - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 97
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 top and left edge limits of the page. Sets the unit of measurement used in the PRESCRIBE commands including the above. The initial unit is inches. - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 98
in that they contain additional control options which are added by modes 10 through 19 of 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 - Kyocera TASKalfa 181 | 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 TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 100
Chapter 5 Barcodes 5-16 - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 101
parameters may interfere with the print jobs of the other users. This chapter explains the FRPO command and gives examples of its use. The current settings of the FRPO parameters are listed as option values on the printing system's service status page. Refer to the tables in this chapter to - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 102
meanings, and the specifiable values are listed below. In these tables, the users, remember that changes made to non-interfacedependent parameters can affect users printed.) 32: Conventional mode (Characters higher than 127 are printed. Supported symbol sets: ISO-60 Norway [00D], ISO-15 Italian [00I - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 103
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 LQ-850 6: HP emulation (P5) Sorter sharing S0 0: Stand alone 1: Multi users 2: Multiple interfaces Sorter mode S1 0: Sorter 0 1: - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 104
, 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 127 are printed regardless of the C8 value. However, setting C8 to 0 does not print - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 105
(Sheet 1 of 7) Environment Parameter Value Factory setting Downloadable PCL font B0 compression 0: Off 1: On 0 (countries 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 - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 106
5 (monochrome model), 10 (monochrome model with network Interface), or 12 (color model) Form feed time-out H9 Value in units 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 - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 107
Table 6.2. Interface-independent Parameters (Sheet 3 of 7) Environment Parameter Value Factory setting Ecoprint level N6 0: Off 0 2: On Duplex N7 0: Normal 0 1: Reverse output pages. 2: Allows duplex from the MP tray. 3: Allows duplex from the MP tray; reversing the output pages. - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 108
11: Full PCL printable area for HP emulation; HT reference point as the left margin in IBM emulation. 12: Uses Courier font for IBM emulation, using the pitch given by U2 and U3. Default cassette R4 0: Multi-purpose tray 1 1: Cassette 1 2: Cassette 2 3: Cassette 3 4: Cassette 4 or Envelope - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 109
weight V9 0: Dark 0 1: Normal Color mode W1 0: Monochrome (grayscale) 1 1: Color (CMYK) 2: Quick color (CMY) Color quality W2 0: Normal 0 1: Quick color 2: Picture 3: Presentation Color matching W3 0: None 0 1: Auto 2: Vivid color 3: Display Monitor simulation W4 0: None - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 110
continue timer Quick fuser heater Parameter Value 8: Rough 9: Letterhead 10: Color 11: Prepunched 12: Envelope 13: Cardstock 21: Custom1 22: Custom2 in increments of 5 seconds Y2 0: On 1: Off Factory setting 1 1 8 (model supporting driver priority mode) or 0 (other) 0 6 0 or 1 6-10 - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 111
the error report and display 3 the error message. 1: Prints the error report. 2: Displays the error message. 3: Prints the error report and displays the error message. a Supported only by FS-1500 series, FS-1600 series, FS-3400 series, and FS-3600 series. 6-11 - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 112
. Only one partition may be specified. The data read from the named partition at power up will be available to users accessing the currently-active interface. The command uses the following format: FRPO I0, 'partition-name'; Note that a comma must be placed after the I0 parameter. The partition name - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 113
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 Internet home page to directly download the printer driver of the latest version. - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 114
locate the next level emulation in case you need to change the emulation. For example, in printing environments using the HP plotter model HP 7550A (KC-GL), the user 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 - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 115
spacing as the printer under emulation. This is not always 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 - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 116
Chapter 7 Emulation Table 7.2. Line Printer Control Codes Character code (decimal) 8 10 12 FRPO U6 and U7 commands but not 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 set US ASCII - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 117
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 Proprinter X24E. No PRESCRIBE commands are needed. An embedded command gives double-wide versions and another - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 118
the printing system rotates the current font and prints text in landscape orientation. 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 - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 119
Return 0D Double-Wide Printing by line 0E Condensed Printing 0F Select Printer 11 10 CPI Print 12 Cancel Double-Wide Printing 14 by line 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 - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - 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 181 | 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 TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 122
Chapter 7 Emulation 7-10 IBM PC-850 (405) IBM PC-860 (30) - Kyocera TASKalfa 181 | 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 TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 124
FRPO P3, 1; EXIT; The Diablo uses ten symbol sets as shown below. To select one of these symbol sets, use the INTL command or the operator panel keys the printing system supports the embedded commands of word-processing software essentially the same way as the Diablo 630 printer does for the - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 125
page orientation. The red/black ribbon feature of the Diablo 630 printer is implemented in an interesting way. The printing system translates the command into an ALTF 1 command. It also uses two pairs of SETF default values: Ribbon color Simulated bitmap font SETF default value Black CourierBM12- - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 126
character set XON Enter printwheel table download mode XOFF Exit printwheel table download mode Printer error condition Access supplementary character set 1B 25 1B 26 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 - Yes Yes Yes - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - 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 181 | 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 TASKalfa 181 | 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 TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 130
Chapter 7 Emulation 7-18 Diablo Denmark (157) Diablo Sweden (189) - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 131
Diablo 630 Emulation (Mode 2) 7-19 Diablo Italy (221) Diablo Spain (253) - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 132
Chapter 7 Emulation 7-20 Diablo Japan (285) - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 133
with the INTL command or from the operator panel keys. The Epson LQ-850 supports the following Epson symbol sets. Tables of the basic symbols are given at the in the word processing software or using an Epson LQ-850 printer driver. Double-wide and double-high effects are available for all five fonts. - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 134
system fonts, select them with font commands (FONT, SFNT, and FSET). Since the printing system emulates certain LQ-850 fonts in different spacings by using the same resident font, it should be noted that substituting one font will also change the other fonts emulated by that font. For example, if - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 135
; EXIT; the printing system rotates fonts and prints them in landscape 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 - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 136
Control Codes Command Function Printer Operation ESC @ Initialize Printer DC 1 Select Printer DC 3 Deselect Printer DEL Delete Character 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 - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 137
13. Epson LQ-850 Control Codes Command Function Code (hex) Supported ESC M Select 12 CPI 1B 4D Yes ESC g Select Yes ESC R Select an International Character Set 1B 52 Yes User-defined Characters ESC & null d1 d2...dn Define User-defined Characters 1B 26 - ESC : null n null Copy ROM - Kyocera TASKalfa 181 | 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 TASKalfa 181 | 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 TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 140
Chapter 7 Emulation 7-28 LQ Italy (220) LQ Spain (252) - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 141
Chapter 7 Emulation 7-29 LQ Japan (284) LQ Norway (316) - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 142
Chapter 7 Emulation 7-30 LQ Denmark 2 (348) LQ Spain 2 (380) - Kyocera TASKalfa 181 | 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 TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 144
Chapter 7 Emulation 7-32 LQ Sweden (188) - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 145
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 Emulation by Model No. Model Printer Language Resolution (dpi) Fonts 1 FS-1000 PCL6, KPDL (Optional) 600, 300 - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 146
provided in downloaded fonts. (A full list of the supported symbol sets appear in section LaserJet Symbol Sets on page 37.) These symbol sets can be used by appropriate font selection commands as explained below. Fonts can be selected with PRESCRIBE commands, or through the printer driver provided - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 147
The printing system supports the LaserJet vector 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 - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 148
downloaded bitmap fonts by the user, they will constantly print unpredictably if the printing system uses the resolution of 300 dpi. Font Priority On the printing systems with the 600/1200 dpi resolution support list. This additional priority is not available in the printing systems not supporting - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 149
symbol set is IBM PC-8 (10U) for the LaserJet emulation. The LaserJet printer has many other symbol sets not directly accessed by the INTL command. Temporary selection The following symbol sets are supported when substituted bitmap fonts are in use. To power up the printing system in one of these symbol - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 150
(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 7.18. Symbol Sets for Scalable Fonts (Sheet - Kyocera TASKalfa 181 | 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 TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 152
Kyocera's implementation of the HP's resource saving. The feature preserves resources during emulation switching. The protected resources, user MENU key on the printing system's control panel may also be used to establish resource protection. The following table summarizes the features and functions - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 153
by the user memory available. Resource protection requires extra memory for storing downloaded fonts print environment using resource protection but whose space has been limited by user memory items printing system models, refer to the operation manual supplied with the printing system. Table 7.20 - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 154
- 10 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 - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 155
graphics Rectangular area fill Macro Troubleshooting command Number of copies Cassette user to change some 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 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 156
Chapter 7 Emulation Table 7.23. Supported PJL Commands Command Group Environment Commands Command DEFAULT on, returns name of the key that is used to return the printing system online. Deletes printing system mass storage files. Downloads files to the printing system mass storage system. - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 157
part of PJL, but is used to end KPDL instructions parts of the PJL command are not case-sensitive. • Spacing between characters (white space) should either be the space character (ASCII 32) or the horizontal tab character (ASCII 9). The placement of white space in PJL commands depends on its location - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 158
must be preceded by at least 1 digit). -123.45.6 (Only 1 decimal point is allowed in a numeric variable). +657,000 (Commas should 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 - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 159
commands with syntax or semantic warnings, the part of the command including the warning is ignored FINISH is not a valid option and ignored (END should be used). Invalid command: @PJL JOB START = 1 FINISH = Orientation ORIENTATION Manual feed MANUAL FEED Paper source MANUAL FEED Output - Kyocera TASKalfa 181 | 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 TASKalfa 181 | 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 TASKalfa 181 | 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 TASKalfa 181 | 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 6F Yes Color 6C 6F 72 Prepunched ESC&n11Wd 31 31 57 64 50 Yes Prepunched 72 65 70 75 6E 63 68 65 - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 164
Chapter 7 Emulation Table 7.25. HP LaserJet PCL Commands (Sheet 4 of 15) 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 181 | 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 Parameter Command 16 lines/inch ESC&l16D 24 lines/inch ESC&l24D 48 lines/inch ESC&l48D Alphanumeric # of bytes ID CURSOR POSITIONING Vertical and Horizontal Vertical Position # of Rows # of Dots - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 166
Chapter 7 Emulation Table 7.25. HP LaserJet PCL Commands (Sheet 6 of 15) 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 181 | 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 Thin Stroke Weight Extra Thin ESC(s160S ESC(s-7B ESC(s-6B Thin ESC(s-5B Extra Light ESC(s-4B - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 168
Chapter 7 Emulation Table 7.25. HP LaserJet PCL Commands (Sheet 8 of 15) Function Parameter Command MS Mincho ESC(s28752T MS Gothic ESC(s28825T Times New Roman SimHei ESC(s16901T ESC(s37110T SimSun ESC(s37058T Symbol ESC(s16686T Wingdings ESC(s6826T Wingdings ESC(s31402T Font Default - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 169
# of bytes (font header) ESC)s#W[Data] 1B 29 73 #...# 57 Yes Download character # of bytes ESC(s#W[Data] 1B 28 73 #...# 57 Yes Character code Character Graphics Switching/Set-Up Enter PCL Mode Use previous ESC%0A PCL cursor position 1B 25 30 41 Yes Use current ESC%1A HP-GL/2 pen position - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 170
Chapter 7 Emulation Table 7.25. HP LaserJet PCL Commands (Sheet 10 of 15) Function Parameter Command Raster Graphics Raster Resolution 75 dots/inch ESC*t75R 100 dots/inch ESC*t100R 150 dots/inch ESC*t150R 200 dots/inch ESC*t200R 300 dots/inch ESC*t300R 600 dots/inch ESC*t600R Orientation - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 171
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 Mode Opaque ESC*v1O - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 172
Yes 6 Diagonal ESC*c6G Grid 1B 2A 63 36 47 Yes USER DEFINED PATTERN / MANAGEMENT CREATION User-Defined Pattern Control Delete all patterns Delete all temporary patterns ESC* 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 - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 173
+ Set Status All entities of ESC*s0U Readback the Location Location Unit Type 1B 2A 73 30 55 Yes Entity 1 34 55 Yes Inquire Status Readback Entity Font Macro User-defined Pattern ESC*s0I ESC*s1I ESC*s2I Enter PCL Mode Use previous ESC%0A PCL cursor position 1B 25 30 41 Yes Use current ESC% - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 174
Vertical Size Colors Assign Color Index Number ESC*v#I Index Color 1st ESC*v#A Component 1 Component Color 2nd ESC*v#B Component 2 Component Color 3rd ESC*v#C Component 3 Component Color Lookup # of Bytes Tables ESC*l#W Configure # of Bytes Image Data ESC*v#W Download # of Bytes - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 175
Parameter Command User-defined ESC*t#J dither Monochrome ESC*t#J user-defined dither Viewing # of Bytes Illuminant ESC*l#W Simple Color 3-Plane ESC*r#U Device CMY Palette 1-Plane Transfer # of Bytes Raster (Plane) ESC*b#V a Not supported by HP PCL. Hexadecimal 1000 Value 1000+ 1B 2A - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 176
optional. Table 7.26. HP-GL/2 Context Printer Commands (Sheet 1 of 2) Command DUAL CONTEXT FONTS SB PALETTE EXTENSIONS Color Range CR Number of Pens NP Pen Color Assignment PC TRANSPARENCY 0 = Retain previous PCL cursor position 1 = Use current HP-GL/2 pen position None Font_lD Font_lD 0 - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 177
Table 7.26. HP-GL/2 Context Printer Commands (Sheet 2 of 2) Command CP TD DV LT LA PW WU SP SM FT AC RF USER DEFINED LINE TYPE UL CONFIGURATION AND STATUS GROUP Advance Full Page PG EXTENSION Begin Plot BP Chord Tolerance Mode CT Download Character DL Frame Advance FR Media Type MT - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 178
Chapter 7 Emulation PJL Syntax Comparison Table 7.27. PJL Syntax Comparison Suggested Syntax Rules [ ] Items in brackets indicate optional parameters. < > Identifies a control code character Special Identifiers Horizontal tab character (ASCII 9). Line feed character (ASCII 10 - Kyocera TASKalfa 181 | 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 TASKalfa 181 | 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 TASKalfa 181 | 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 TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 182
Chapter 7 Emulation 7-70 ISO-69 France (1F) ISO-21 Germany (1G) - Kyocera TASKalfa 181 | 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 TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 184
Chapter 7 Emulation 7-72 ISO-17 Spain (2S) PC Cyrillic (3R) - Kyocera TASKalfa 181 | 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 TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 186
Chapter 7 Emulation 7-74 Windows Latin 5 (5T) MS publishing (6J) - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 187
Desktop (7J) HP LaserJet Emulation (Mode 6) 7-75 ISO Latin 6 (6N) - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 188
Math-8 (8M) Chapter 7 Emulation 7-76 Greek-8 (8G) - Kyocera TASKalfa 181 | 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 TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 190
Chapter 7 Emulation 7-78 Windows Latin 2 (9E) Windows Greek (9G) - Kyocera TASKalfa 181 | 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 TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 192
Chapter 7 Emulation 7-80 Win Cyrillic (9R) PC-Turkish (9T) - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 193
PC-851 Greek (10G) HP LaserJet Emulation (Mode 6) 7-81 Windows (9U) - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 194
Chapter 7 Emulation 7-82 PS text (10J) ISO Cyrillic (10N) - Kyocera TASKalfa 181 | 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 TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 196
Chapter 7 Emulation 7-84 PC-8 Greek (12G) Macintosh (12J) - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 197
USSR-GOST (12R) HP LaserJet Emulation (Mode 6) 7-85 ISO Greek (12N) - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 198
Chapter 7 Emulation 7-86 ABICOMP Brazil (13P) PC-8 Bulgarian (13R) - Kyocera TASKalfa 181 | 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 TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 200
Chapter 7 Emulation 7-88 PC Ukrainian (14R) Pi font (15U) - Kyocera TASKalfa 181 | 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 TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 202
Chapter 7 Emulation 7-90 ISO-10646 (18N) PC-853 Turkish (18U) - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 203
Windows Latin 1 (19U) HP LaserJet Emulation (Mode 6) 7-91 Winbalt (19L) - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 204
Chapter 7 Emulation 7-92 PC-860 Portugal (20U) PC-861 Iceland (21U) - Kyocera TASKalfa 181 | 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 TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 206
Chapter 7 Emulation 7-94 PC-865 Norway (25U) PC-775 (26U) - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 207
HP LaserJet Emulation (Mode 6) 7-95 PC-8 PC Nova (27Q) - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 208
HP 7550A and uses the Kyocera Graphics Language ( user can receive 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 - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 209
plot terminator. 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 - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 210
, 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 and P2) instruction using the negative parameter value. When the IN (INitialize) instruction is later given, the printing system reverts to mode A. 7-98 - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 211
instruction includes a negative parameter value. Enhance Mode (bit 3) This bit supports User-defined Character) instructions as follows: IW: User units are used for specifying the parameters in scaling. OW: Window outputs are made in user plotter, pen thickness and color are selected by physically - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 212
area, you can specify positions in plotter 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 in the plot area by specifying the coordinates of two scaling points (P1 and - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 213
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 ; "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 - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 214
Output Commanded position and pen status Output Error Output Factors Output Hard-clip limits Output Identification Output Label length Output Options Output P1 and P2 Output Status Output carousel Type Output Window All of these instructions use the same syntax and must be followed immediately by - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 215
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 units per millimeter is approximately 40. OH [Output Hard-clip limits] This instruction returns the lower left and upper right limiting - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 216
This instruction returns information on the contents of the label buffer. This may be used together with the BL instruction for supported by the printing system, as follows: Buffer allocation Polygon instruction Arc and circle plotting instructions are supported. Pen selection is supported - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 217
6 64 SRQ was set. 7 128 (Reserved) OT [Output carousel Type] This instruction delivers information on the current carousel type and stall occupancy. This may be used to determine those information in a remote location. OT TERM Response: type, map TERM The current carousel type and its pen map - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 218
LL: lower left UR: upper right Device-Control Instructions KC-GL uses device-control instructions to return buffer status information and other status cassette at all time. A complete list of device-control instructions appear in DeviceControl Instructions on page 113. Table 7.31. Status - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 219
following con- ditions: cover open, 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 height and width of the stroke font vary depending on the paper size. The - Kyocera TASKalfa 181 | 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 TASKalfa 181 | 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 TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 222
Chapter 7 Emulation KC-GL Limits This section provides limit values for the various KC-GL parameters. Plotter units are used unless otherwise specified. Standard Character Sizes Table 7.33. Standard Character Sizes Paper size Width (mm) Height (mm) A4 0.187 0.269 A3 0.285 0.375 Letter 0. - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 223
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 system. The following legend is used: [c] Character string [d] decimal (-128.0000 to +127.9999) [i] integer (-32768 to +32767) [sd - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 224
(pen-control [i],) Δx [i], Δy (,...) (, pen-control [i]) (,...,) Tick length Plot user-defined character radius [i/sd], start-angle [i], center-angle [i] (, resolution [i]) Plot filled wedge - X-tick - Y-tick E-Mask Bit Values The IM instruction sets an E-mask that controls how errors are - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 225
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.41. 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 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 226
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; Set to hard - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 227
Operators This section describes the machine-independent part of KPDL, Kyocera's implementation of the PostScript command language. included only to explain the operators, and can be omitted when typing operators. Try using one of the methods explained on the following page to enable delivery of the - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 228
the file, you will only obtain printed output. KPDL Summary This section lists all KPDL operators, their operands, and their results. When received from the table is blank. The following abbreviations (and a few others) are used for operands: ang angle (specified in degrees) bool boolean: the - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 229
KPDL Operators Certain operators are hyphenated in the following tables because of the editorial limitation only. These operators must not be hyphenated to be executed. Note KPDL Page Description Operators The following table summarizes the page description operators including all language levels - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 230
the current halftone redang redproc screen parameters greenfreq greenang greenproc bluefreq blueang blueproc grayfreq grayang grayproc array Return the color space redproc greenproc Return the current transfer blueproc grayproc functions array offset Get current dash pattern dict Return - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 231
current stroke adjust parameter Return current values of all system parameters Get current gray transfer function Return the under color removal function Return current values of all user parameters Create Bézier cubic curve from current point to (x3, y3) Convert number or string to integer Convert - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 232
user to device space Transform distance by matrix Duplicate top object on stack Turn interactive echoing on/off Pop dictionary stack Clip using even-odd rule Fill using a file Fill current path with current color Create a filtered file Find the color rendering resource as spcified by argument Obtain - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 233
index location Get value associated with key in dictionary Get string element at index location Get substring. Index and count are starting location transform Divide int1 by int2; integer quotient Transform distance from device to user space Transform distance by inverse of matrix Do proc if bool is - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 234
insideness matrix2 Replace matrix2 with inverse of matrix1 array Push the ISO Latin-1 encoding vector x y Transform coordinates from device to user space x y Transform coordinates by inverse of matrix bool Test whether key is in dictionary Print string, executing proc between characters - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 235
name Prompt for interactive input Write entire stack to standard out put Insert object int array at index location Place key and value in dictionary Replace character in string at index location Replace subarray of array1 starting at index by array2 Replace substring of string1 starting at index by - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 236
Execute file save Save virtual memory matrix Define scaling matrix Scale user space font' Generate new font by scaling old font bool Same color space to Device CMYK Set the current color parameter Establish a CIE-based color rendering dictionary Set the halftone parameter Specify a color - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 237
Set the system parameters for interpreter Set mapping from user gray scale to device gray scale Set user path cache parameters Set the under color removal function parameter Set user parameters for each context Set the allocation threshold used to trigger garbage collector Same as globaldict Same as - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 238
Push boolean value true on stack Discard fraction part of num1 Get name identifying type of object Append the user path to the current path Declare to cache the user path Return user path cache parameters Fill a user path using the evenodd rule Interprets a user path to fill Remove key and value - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 239
xshow string numarray 2 xyshow string numarray 2 yshow Result level used maximum bool dict true or false bool int/bool3 Description bool Test whether printing system is in manual-feed mode (true: manual feed on, false: manual feed off) int Get manual-feed time-out value top left Get - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 240
[integer ... integer] setcollatorstacker job manual wait setdefaulttimeouts bool setdoprinterrors int setdoret 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 area to A3 size. See KPDL Printable - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 241
KPDL Operators Table 7.46. KPDL Status Operators (Sheet 3 of 5) Preceding stack Operator Result com10envelope (4.125 x 9.5 envelope) monarcenvelope (3.875 x 7.5 envelope) com6envelope com9envelope (3.75 x 8.875 envelope) a5 a6 b6 b5envelope c4envelope c5envelope custom postcard - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 242
Chapter 7 Emulation Table 7.46. KPDL Status Operators (Sheet 4 of 5) Preceding stack int int Operator defaultpapertray setpapertray papertray setpapertray2 papertray2 Result int int int bool setdefaulttrayswitch defaulttrayswitch bool bool settrayswitch trayswitch bool a4tray a5tray - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 243
KPDL Operators Table 7.46. KPDL Status Operators (Sheet 5 of 5) Preceding stack Operator dlenvelopetray Result monarcenvelopetray a3tray b4tray ledgertray b5envelopetray doublepostcardtray postcardtray customtray int setdefaultoutputtray defaultoutputtray int int setoutputtray - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 244
int MaxPatternCache int MaxScreenStorage int Description Timestamp for printer's date of manufacture Byte order of binary size used by the current screen. Indicate in bytes the host buffer size used by the current input device. Indicate in bytes the memory size used by the current user path - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 245
by the current input device. Indicate in bytes the maximum storage which can be used by the user path cache. Indicate the total number of printed pages since the printer's manufacture. Indicate the password necessary when changing system parameters and/or device parameters. Indicate the name given - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 246
default) Return the name of the job currently being processed by the printer. Return the current job timeout value. Indicate the maximum size of the maximum number of bytes used by a single half-tone screen. Indicate the maximum number of bytes used by a single cached user path. Indicate the - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 247
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, and /MediaType when the user selects a tray. Use this parameter along with /PageSize - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 248
satisfy the user-specified 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) Return the engine type as a name object. /Device Gray: Monochrome /Device CMY: Three colors /Device CMYK: Four colors - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 249
(Custom Type5) (Custom Type6) (Custom Type7) (Custom Type8) Description Punch using sub style. (DF-71) 1: Native style of punching 2: Sub style Insert : Fast 1200dpi false: 600dpi Model FS-5900C only. Control vivid color mode. Ex: >> setpagedevice - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 250
tray 1 and tray 2 to be used. If tray numbers are omitted ([ ]), all trays are used. Sorter mode string of (SORTER) specifes sorter mode. Other options include ( orientation) /Share /Name /User /Time /Destination integer Share flag string string string array Job name User name Time stamp VMB - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 251
set to false. When doautocontinue is set to true, 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 - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 252
31 invalidcontext Improper use of context operation Resource instance not found 98 fatal Fatal error (User memory exhausted) KPDL Printable Area This printing system by the paper type KPDL operator. The edge limits are located as shown in the following figure and table. They adjust automatically - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 253
Figure 7. 53. Printable Area KPDL Operators Table 7.54. 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 14.8 x 21.0 421 x 595 A6 10.5 x 14.8 297 x 421 B5 - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 254
This page is left blank intentionally. 7-142 - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 255
2-16 Curves drawing in path mode, 2-24 D Dash pattern, 2-23 defining, 2-23 user defined, 2-23 Dash type, 2-22 Dashed line, 2-22 Decimal place, 1-11 Default -strike 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 EAN - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 256
format, 7-96 instructions (table), 7-111 modes A and B, 7-98 parameter format, 7-97 pen selection, 7-99 status information, 7-102 KPDL, 4-4, 7-115 L Line drawing, 2-2 path mode, 2-18 Line end (caps), 2-20 Line join, 2-21 Line join mode, 2-21 Line printer emulation, 7-3 Line width, 2-2 Line - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 257
2-21 Row-work, 2-13 S Scalable font, 4-2 assiging a font number to, 4-8 lists, 4-2 outline, 4-2 Scaled real number (KC-GL), 7-97 Scaling point (KC-GL), Upper and lowercase letters, 1-12 US ASCII, 7-3, 7-33 US Legal, 7-3 User unit (KC-GL), 7-100 USPS (barcode), 5-2 W Word-processing software, 1-5, - Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 258
- Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 259
- Kyocera TASKalfa 181 | PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 260
Rev. 4.7 2009.7
Technical Reference
PRESCRIBE Commands