Technical ReferencePRESCRIBE Commands
Chapter 1 Introduction to PRESCRIBE1-2Entry and Exit The printing system can be thought of as having a multiple personality. When its power is switche
Chapter 5 Barcodes5-16
Chapter 6Permanent ParametersThe printing system maintains a number of parameters in a non-volatile (flash) memory. These parameters control the init
Chapter 6 Permanent Parameters6-2FRPO Parameters The FRPO command changes the value of one parameter in permanent memory. A separate command is requir
6-315: Fixed mode B; no formfeedKC-GL pen widthaG1 through G8 0 to 99 dot 01/02/03/04/05/06/07/08Interface release time-outJ2 0 to 99 in units of 5
Chapter 6 Permanent Parameters6-4Character spacingaU2 Characters per inch (integer value) 10Character spacingaU3 Characters per inch (fraction value)
6-5Interface-independent ParameterseV0-V3 — Default (power-up) font These parameters define the default font at power up. The V3 parameter accepts a s
Chapter 6 Permanent Parameters6-6Serial interface baud rateH1 3: 300 bps (not valid for some models) 966: 600 bps (not valid for some models)12: 120
6-7Default interface M2 1: Default Serial or Option Serial 2 or 32: Parallel3: Default Network or Option Network4: Option Network or Option2 Netwo
Chapter 6 Permanent Parameters6-812: Main cassette and the fourth feeder cassette.13: The first feeder cassette and the fourth feeder cassette.14: The
6-93: Full PCL printable area with character pitches given by U2 and U3.10: IBM HT reference point as the left margin.11: Full PCL printable area for
1-3Figure 1. 2. Text Including PRESCRIBE Commands !R! RES; SLM 1; STM 1; SPD 0.03; FTMD 13; SFNT "Helvetica-Bd"; EXIT;WELCOME TO WINDFALL N
Chapter 6 Permanent Parameters6-10Monitor simulation W4 0: None1: SMPTE240M2: HDTV (sRGB)3: SONY Trinitron4: Apple AGB5: NTSC6: KC RGB7: Custom2 (For
6-1125: Custom526: Custom627: Custom728: Custom8PCL paper source X9 0: Performs paper selection depending on media type.1: Performs paper selection
Chapter 6 Permanent Parameters6-12Default operation for PDF direct printingY5 0: Enlarges or reduces the image to fit in the current paper size. Loads
Chapter 7EmulationThe printing systems emulate the operation of seven other printers: • HP LaserJet (mode 6)• HP 7550A (mode 8)• IBM Proprinter X24E
Chapter 7 Emulation7-2Selecting an Emulation When installing a printing system, you can select an emulation that best suits the require-ment by the ap
Line Printer Emulation (Mode 0)7-3Automatic emulation sensing In printing systems that permit the selection of KPDL emulation, the automatic emula-tio
Chapter 7 Emulation7-4Other control codes are ignored. In particular, the escape code (ESC: character code 27) is ignored. If the printing system rece
IBM Proprinter X24E Emulation (Mode 1)7-5By giving a particular value for the U6 and U7 parameters, it is possible to use another symbol set which the
Chapter 7 Emulation7-6subscripts, underlining, backspace, vertical and horizontal tabulation, line spacing, and paper length. The font mode set for th
IBM Proprinter X24E Emulation (Mode 1)7-7Table 7.6. IBM Proprinter X24E Control CodesCommand Function Code (hex) Supported BEL Beeper 07 – BS Back
Chapter 1 Introduction to PRESCRIBE1-4Format of PRESCRIBE Commands The basic format of a PRESCRIBE command is: • • • or • • • • (command name) paramet
Chapter 7 Emulation7-8ESC U n Set Print Direction 1B 55 n – ESC W n Continuous Double-Wide Printing1B 57 n Yes ESC X n m Set Horizontal Margins
IBM Proprinter X24E Emulation (Mode 1)7-9IBM Symbol Sets IBM PC-8 (341)IBM PC-8 (D/N) (373)
Chapter 7 Emulation7-10IBM PC-850 (405) IBM PC-860 (30)
IBM Proprinter X24E Emulation (Mode 1)7-11IBM PC-863 (62) IBM PC-865 (94)
Chapter 7 Emulation7-12Diablo 630 Emulation (Mode 2) To set the power-up emulation for Diablo 630, send the printing system the following PRESCRIBE co
Diablo 630 Emulation (Mode 2)7-13Fonts can be selected by placing font commands in the file to be printed, or using SETF (set alternate font) and ALTF
Chapter 7 Emulation7-14Diablo 630 Control Codes Table 7.9. Diablo 630 Control Codes (Sheet 1 of 2)Command Function Code (hex) Supported NUL Buffer c
Diablo 630 Emulation (Mode 2)7-15ESC 3 Graphics mode ON 1B 33 YesESC 4 Graphics mode OFF 1B 34 YesESC 5 Forward printing mode 1B 35 YesESC 6 Backward
Chapter 7 Emulation7-16Diablo 630 Symbol Sets DIABLO US (29)Diablo France (61)
Diablo 630 Emulation (Mode 2)7-17Diablo Germany (93) Diablo U. K. (125)
Basic Concepts1-5Figure 1. 4. Edge Limits and MarginsWhen the printing system passes the bottom margin while printing text, it prints the page and fe
Chapter 7 Emulation7-18Diablo Denmark (157) Diablo Sweden (189)
Diablo 630 Emulation (Mode 2)7-19Diablo Italy (221) Diablo Spain (253)
Chapter 7 Emulation7-20Diablo Japan (285)
Epson LQ-850 Emulation (Mode 5)7-21Epson LQ-850 Emulation (Mode 5) To set printing system to power up in the LQ-850 emulation with the LQ German symbo
Chapter 7 Emulation7-22Figure 7. 11. Epson LQ-850 Font Printout The five LQ-850 fonts actually use the printing system’s resident fonts. The font mo
Epson LQ-850 Emulation (Mode 5)7-23You can alter these default SETF assignments to suit your own purposes. In the example below, four of the SETF assi
Chapter 7 Emulation7-24EPSON LQ-850 Control Codes Table 7.13. Epson LQ-850 Control CodesCommand Function Code (hex) Supported Printer OperationESC @
Epson LQ-850 Emulation (Mode 5)7-25ESC 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 Ye
Chapter 7 Emulation7-26LQ-850 Symbol Sets LQ US (28) LQ France (60)
Epson LQ-850 Emulation (Mode 5)7-27LQ Germany (92) LQ U.K. (124)
Chapter 1 Introduction to PRESCRIBE1-6Page Orientation Changing the page orientation automatically adjusts the margins so that they remain the same di
Chapter 7 Emulation7-28LQ Italy (220) LQ Spain (252)
Chapter 7 Emulation7-29LQ Japan (284) LQ Norway (316)
Chapter 7 Emulation7-30LQ Denmark 2 (348) LQ Spain 2 (380)
Epson LQ-850 Emulation (Mode 5)7-31Latin America (412) LQ Denmark (156)
Chapter 7 Emulation7-32LQ Sweden (188)
HP LaserJet Emulation (Mode 6)7-33HP LaserJet Emulation (Mode 6) On shipment from the factory, the printing system is set to power up in the HP LaserJ
Chapter 7 Emulation7-34Figure 7. 14. HP LaserJet Word-Processing Printout Additional soft fonts can be downloaded from external sources before print
HP LaserJet Emulation (Mode 6)7-35The margins in this emulation differ from the A parameters of the FRPO command. They recognize the page size of the
Chapter 7 Emulation7-36matching features, reduces selection to a single font. The highest priority characteristic is symbol set, followed by spacing,
HP LaserJet Emulation (Mode 6)7-37To select this LetterGothic font, send the following escape sequence to the printing sys-tem: ESC(8U ESC(s0P ESC(s12
Basic Concepts1-7Figure 1. 6. Print DirectionCoordinate Systems With PRESCRIBE, positions on a page are described in terms of X and Y coordinates. Th
Chapter 7 Emulation7-38Symbol Sets for Scalable Fonts The following table lists symbol set support for resident scalable fonts. To power up the printi
HP LaserJet Emulation (Mode 6)7-39Example: To power up in the TimesNewRoman font for the Windows symbol set: PC Cyrillic 3R (114) 14 51PS math 5M (17
Chapter 7 Emulation7-40!R! FRPO V3, ’TimesNewRoman’;FRPO U6, 9; FRPO U7, 53;STAT;EXIT; The STAT command in the third line prints a status page that en
HP LaserJet Emulation (Mode 6)7-41Resource protection becomes operational under any of the following emulation switch-ing conditions: • An SEM command
Chapter 7 Emulation7-42Switching the Print Resolution Because the printing systems with the 1200 dpi resolution support print at 300, 600, 1200 dpi, t
HP LaserJet Emulation (Mode 6)7-43HP LaserJet Reset State The printing system resets to the following states when it receives a PCL reset command. Sho
Chapter 7 Emulation7-44PJL command syntax A PJL command line containing the ENTER command appears as follows: PJL syntax also uses the following contr
HP LaserJet Emulation (Mode 6)7-45The PJL command syntax should follow one of four formats: Format 1:<ESC>%-12345X This format uses the Universa
Chapter 7 Emulation7-46PJL variables PJL uses alphanumeric variables, numeric variables, and strings. The following explains the three types of variab
HP LaserJet Emulation (Mode 6)7-47Invalid Commands Invalid commands are in two general types: those with syntax errors and those with syn-tax or seman
Chapter 1 Introduction to PRESCRIBE1-8cursor indicates where the next character will be printed or the next graphics will be drawn. (The printing syst
Chapter 7 Emulation7-48Duplex DUPLEX FRPO N4Default font FONTNUMBER FRPO V3Point size PTSIZE FRPO V0-2Pitch PITCH —Symbol set SYMSET FRPO U6/U7Table 7
HP LaserJet Emulation (Mode 6)7-49HP LaserJet Printer Commands — PCL In the tables below, Yes means that the command is supported and No means that th
Chapter 7 Emulation7-50Output Bin Destination Tray 1 (Face down)ESC&l1G 1B 25 6C 31 47 Yes Yes Yes YesDestination Tray 2 (Face up)ESC&l2G 1B
HP LaserJet Emulation (Mode 6)7-51ColorESC&n6WdColor36 57 64 43 6F 6C 6F 72Yes Yes Yes YesPrepunchedESC&n11WdPrepunched31 31 57 64 50 72 65
Chapter 7 Emulation7-52International B5ESC&l100A 1B 26 6C 31 30 30 41YesYesYesYesCustomESC&l101A 1B 26 6C 31 30 31 41YesYesYesYesMonarchESC&am
HP LaserJet Emulation (Mode 6)7-5316 lines/inchESC&l16D 1B 26 6C 31 36 44Yes Yes Yes Yes24 lines/inchESC&l24D 1B 26 6C 32 34 44Yes Yes Yes Yes
Chapter 7 Emulation7-54Math-8 ESC(8M 1B 28 38 4D Yes Yes Yes YesSymbolESC(19M 1B 28 31 39 4D Yes Yes Yes YesECMA-94 Latin 1ESC(0N 1B 28 30 4E Yes Y
HP LaserJet Emulation (Mode 6)7-55Inline ESC(s64S 1B 28 73 36 34 53Yes Yes Yes YesShadowed ESC(s128S 1B 28 73 31 32 38 53Yes Yes Yes YesOutline Shadow
Chapter 7 Emulation7-56MS Mincho ESC(s28752T 1B 28 73 32 38 37 35 32 54 YesYesYesYesMS Gothic ESC(s28825T 1B 28 73 32 38 38 32 35 54 YesYesYesYesTim
HP LaserJet Emulation (Mode 6)7-57Font and Character ControlDelete all Fonts ESC*c0F 1B 2A 63 30 46 Yes Yes Yes YesDelete all temporary fontsESC*c1F
Basic Concepts1-9Figure 1. 8. Character SpacingPaths A path is a set of straight and curved line segments. Paths can be open, as in the case of lines
Chapter 7 Emulation7-58Enter HP-GL/2 ModeUse Previous HP-GL/2 pen positionESC%0B 1B 25 30 42 Yes Yes Yes YesUse current PCL cursor positionESC%1B 1
HP LaserJet Emulation (Mode 6)7-59Transfer Raster Data by row# of Bytes ESC*b#W [Data] 1B 2A 62 #...# 57 Yes Yes Yes YesTransfer Raster Data (by plane
Chapter 7 Emulation7-60Shading 2% Gray ESC*c2G 1B 2A 63 32 47 Yes Yes Yes Yes10% Gray ESC*c10G 1B 2A 63 31 30 47 YesYesYesYes15% Gray ESC*c15G 1B
HP LaserJet Emulation (Mode 6)7-61Macro Control Start Macro Definition ESC&f0X 1B 26 66 30 58 Yes Yes Yes YesStop Macro Definition ESC&f1X
Chapter 7 Emulation7-62Display FunctionsON ESCY 1B 59 YesYesYesYesOFF ESCZ 1B 5A YesYesYesYesPCL Vector Graphics Switching/Set-Up Picture FrameEnter
HP LaserJet Emulation (Mode 6)7-63Palette ControlDelete All Palettes in storeESC&p#C 1B 26 70 30 43 No No Yes YesDelete All Palettes in stackESC*p
Chapter 7 Emulation7-64Simple Color 3-Plane Device CMY PaletteESC*r#U 1B 2A 72 2D 33 55No No Yes Yes1-Plane K paletteESC*r#U 1B 2A 72 31 55 No No Yes
HP LaserJet Emulation (Mode 6)7-65HP-GL/2 Context Printer CommandsIn the command tables below, parameters in brackets are optional. Table 7.25. HP-GL
Chapter 7 Emulation7-66SELECT ALTERNATE FONT SA None ABSOLUTE DIRECTION Dl [run,rise]; RELATIVE DIRECTION DR [run,rise]; ABSOLUTE CHARACTER SIZE
HP LaserJet Emulation (Mode 6)7-67PJL Syntax ComparisonTable 7.26. PJL Syntax ComparisonSuggested Syntax Rules [ ] Items in brackets “[ . . . ]” ind
Chapter 1 Introduction to PRESCRIBE1-10Figure 1. 9. Logical Page and Physical PageWith the standard mode logical page, any position specification tha
Chapter 7 Emulation7-68LaserJet Symbol Sets ISO-60 Norway (0D) ISO-15 Italian (0I)
HP LaserJet Emulation (Mode 6)7-69ECMA-94 Latin 1 (0N) ISO 11 Sweden (0S)
Chapter 7 Emulation7-70ISO-6 ASCII (0U) ISO-4 U. K. (1E)
HP LaserJet Emulation (Mode 6)7-71ISO-69 France (1F) ISO-21 Germany (1G)
Chapter 7 Emulation7-72US Legal (1U) ISO Latin 2 (2N)
HP LaserJet Emulation (Mode 6)7-73ISO-17 Spain (2S) PC Cyrillic (3R)
Chapter 7 Emulation7-74PS math (5M) ISO Latin 5 (5N)
HP LaserJet Emulation (Mode 6)7-75Windows Latin 5 (5T) MS publishing (6J)
Chapter 7 Emulation7-76ISO Latin 6 (6N) Desktop (7J)
HP LaserJet Emulation (Mode 6)7-77Greek-8 (8G) Math-8 (8M)
Command Parameters1-11For computer code values beyond four decimal places, the fifth and subsequent decimal places are ignored. Examples:Some commands
Chapter 7 Emulation7-78Turkish-8 (8T) HP Roman-8 (8U)
HP LaserJet Emulation (Mode 6)7-79Windows Latin 2 (9E) Windows Greek (9G)
Chapter 7 Emulation7-80PC-1004 (9J) ISO Latin 9 (9N)
HP LaserJet Emulation (Mode 6)7-81Win Cyrillic (9R) PC-Turkish (9T)
Chapter 7 Emulation7-82Windows (9U) PC-851 Greek (10G)
HP LaserJet Emulation (Mode 6)7-83PS text (10J) ISO Cyrillic (10N)
Chapter 7 Emulation7-84PC-855 Serbia (10R) PC-869 Greek (11G)
HP LaserJet Emulation (Mode 6)7-85PC-8 Greek (12G) Macintosh (12J)
Chapter 7 Emulation7-86ISO Greek (12N) USSR-GOST (12R)
HP LaserJet Emulation (Mode 6)7-87ABICOMP Brazil (13P) PC-8 Bulgarian (13R)
Chapter 1 Introduction to PRESCRIBE1-12TEXT "You’re about to enter PRESCRIBE."; TEXT ’ " " " ’; In the first command above, t
Chapter 7 Emulation7-88PC-8 Greek/437G (14G) ABICOMP Int. (14P)
HP LaserJet Emulation (Mode 6)7-89PC Ukrainian (14R) Pi font (15U)
Chapter 7 Emulation7-90PC-857 Turkish (16U) PC-852 Latin 2 (17U)
HP LaserJet Emulation (Mode 6)7-91ISO-10646 (18N) PC-853 Turkish (18U)
Chapter 7 Emulation7-92Winbalt (19L) Windows Latin 1 (19U)
HP LaserJet Emulation (Mode 6)7-93PC-860 Portugal (20U) PC-861 Iceland (21U)
Chapter 7 Emulation7-94PC-863 Canada (23U) PC-8 Polish (24Q)
HP LaserJet Emulation (Mode 6)7-95PC-865 Norway (25U) PC-775 (26U)
Chapter 7 Emulation7-96PC-8 PC Nova (27Q)
HP 7550A Emulation [KC-GL] (Mode 8)7-97HP 7550A Emulation [KC-GL] (Mode 8) The HP 7550A emulation applies only to the printing systems that handle A3-
Command Parameters1-13!R! Text ’A’; Cir 1; Exit; Each of these commands prints the capital letter ‘A’ inside a circle. In the printout shown above, th
Chapter 7 Emulation7-98The SM (Symbol Mode) instruction defines the first succeeding character as a symbol character. The DT (Define label Terminator)
HP 7550A Emulation [KC-GL] (Mode 8)7-99Plot Coordinates (bit 0) This bit defines one of two plotting coordinate modes. (See Figure 7. 28. on page 99.)
Chapter 7 Emulation7-1001 = Printing System remains in mode A even when the IP instruction includes a nega-tive parameter value. Enhance Mode (bit 3)
HP 7550A Emulation [KC-GL] (Mode 8)7-1017 = pen 7 8 = pen 8 xx: Line-width (in dots): 0 to 99 (0 - line not printed) Positions in the plot area can
Chapter 7 Emulation7-102Setting the Scaling Points At power-up, scaling point P1 will be in the lower left corner of the paper, the default plot posit
HP 7550A Emulation [KC-GL] (Mode 8)7-103Figure 7. 29. KC-GL Sample Program Plotter Status Information When the RS-232C interface is used, in additi
Chapter 7 Emulation7-104OA [Output Actual position and pen status] The plotter returns the x- and y-coordinates of the current pen position and indica
HP 7550A Emulation [KC-GL] (Mode 8)7-105OI [Output Identification] This instruction returns a character string indicating the plotter model being emul
Chapter 7 Emulation7-106OS [Output Status] This instruction returns an integer from 0 to 255 giving one byte of status information, as follows: status
HP 7550A Emulation [KC-GL] (Mode 8)7-107OW [Output Window] This instruction returns the x- and y-coordinates of two diagonally opposite corners of the
Chapter 1 Introduction to PRESCRIBE1-14Similarly, the PRESCRIBE command CSET 11U; designates use of the PC-8 Dan-ish/Norwegian symbol set. The corresp
Chapter 7 Emulation7-108Fonts and Symbol Sets in KC-GL KC-GL uses a special stroke font. The fonts employed in the other emulations cannot be used in
HP 7550A Emulation [KC-GL] (Mode 8)7-109KC-GL Symbol Sets ANSI ASCII (0)Roman Extensions (7)
Chapter 7 Emulation7-110Katakana (8) KC-GL International Characters
HP 7550A Emulation [KC-GL] (Mode 8)7-111KC-GL Limits This section provides limit values for the various KC-GL parameters. Plotter units are used unles
Chapter 7 Emulation7-112Summary of KC-GL Instructions The table below lists KC-GL instructions supported by the printing system. The follow-ing legend
HP 7550A Emulation [KC-GL] (Mode 8)7-113E-Mask Bit Values The IM instruction sets an E-mask that controls how errors are reported on the RS-232C inter
Chapter 7 Emulation7-114S-Mask/P-Mask Values Device-Control Instructions4 2 3 Illegal parameter 8 3 4 Unknown character 16 4 5 Unknown character set 3
HP 7550A Emulation [KC-GL] (Mode 8)7-115Default States (DF) Initial Conditions (IN)Table 7.41. Default States (DF)Function Equivalent Instruction Def
Chapter 7 Emulation7-116KPDL OperatorsThis section describes the machine-independent part of KPDL, Kyocera’s implementa-tion of the PostScript command
KPDL Operators7-117Figure 7. 43. Sample Printout File transfer One way to transfer a file is to place all lines above in a file and transfer the file
Chapter 2Graphics TutorialPRESCRIBE provides a wide variety of graphics operators, allowing you to easily con-struct and print almost any imaginable
Chapter 7 Emulation7-118NoteCertain operators are hyphenated in the following tables because of the editorial limitation only. These operators must no
KPDL Operators7-119mark obj1...objn cleartomark Clear stack down through mark clip Create new clipping path clippath Set current path as clipping path
Chapter 7 Emulation7-120currentdict dict Push current dictionary on oper- and stack currentfile file Get file currently being executed currentflat num
KPDL Operators7-121matrix defaultmatrix matrix Replace matrix with device default matrix key font definefont font Define font as a font dictionary ass
Chapter 7 Emulation7-122FontDirectory dict Push directory of font dictionaries on stack init incr limit proc for Execute proc for init to limit in ste
KPDL Operators7-123x y userpath userpath1 userpath22 inueofillinueofillbool Test the user path on the even-odd rule for insideness x y userpath userpa
Chapter 7 Emulation7-124pathbbox llx lly urx ury Get bounding box of current path move line curve close pathforall Do named procedures for current pat
KPDL Operators7-125dx dy rlineto Create line from current point to relative point dx dy rmoveto Move current point by relative amount ob(n-1)...ob0 n
Chapter 7 Emulation7-126bool 2 setglobal Set the VM allocation mode num setgray Set gray level from 0 (black) to 1 (white) gstate 2 setgstate Replace
KPDL Operators7-127statusdict dict Push statusdict on operand stack stop Terminate procedure executed by stopped operator obj stopped bool Execute ob
Chapter 2 Graphics Tutorial2-2Standard Graphics The standard graphics mode provides a number of operators for constructing a variety of filled shapes
Chapter 7 Emulation7-128KPDL Status Operators The operations in the table below can be used when the status dictionary is open. Some also require a pa
KPDL Operators7-129pagestackorder bool Get current stack tray(true: face down, false: face up) papersize name bool Get current paper size and orientat
Chapter 7 Emulation7-130com10envelope(4.125 x 9.5 envelope)Set imageable area to Commercial 10 envelope size. See KPDL Printable Area on page 141. Thi
KPDL Operators7-131defaultpapertray int Get current default paper tray. int setpapertray Set current paper tray. papertray int Get current paper tray.
Chapter 7 Emulation7-132dlenvelopetray Find tray containing DL size envelopes, select it as current tray, and set imageable area for DL size envelopes
KPDL Operators7-133KPDL System ParametersThe following table summarizes the system parameters.Table 7.46. KPDL System Parameters (Sheet 1 of 2)Preced
Chapter 7 Emulation7-134 MaxSourceList int Indicate in bytes the maximum storage of the host buffer used by the current input device. MaxUPathCache i
KPDL Operators7-135KPDL User ParametersThe following table summarizes the user parameters. The user parameters establish tem-porary policies on functi
Chapter 7 Emulation7-136KPDL Page Device ParametersThe page device parameters for setpagedevice allow manipulating the output devices to receive or pr
KPDL Operators7-137 Policies dict Execute the policies function. This is checked when the device cannot satisfy the user-specified setpagedevice. Po
2-3Figure 2. 1. Result of Draw Commands: Absolute Lines The initial !R! command switches the printing system to the PRESCRIBE mode. Remember that thi
Chapter 7 Emulation7-138PunchMode int Punch using sub style. (DF-71)1: Native style of punching2: Sub styleSlipSheet int Insert transparency separator
KPDL Operators7-139CollateDetails ParametersCollateDetails has the following parameters as tabled below according to the key of operations. By making
Chapter 7 Emulation7-140keys to the CollateDetails parameter should have the following integer values depending on the mode of each e-MPS function.Exa
KPDL Operators7-141KPDL Printable Area This printing system does not quite print to the edges of the paper. The edge limits of the printable area vary
Chapter 7 Emulation7-142Figure 7. 52. Printable AreaTable 7.53. Paper Sizes and Printable AreaPaper type Paper size Edge limits (A above) Printable
iIndexNumerics16-bit word, 4-13AAbsolute coordinates, 2-19Absolute position, 2-2Arc, 2-10path mode drawing, 2-24BBaseline, 1-8Beveled line join,
iicontrol codes, 7-24emulation, 7-21Even-odd rule (FILL), 2-32FFill pattern, 2-10defining, 2-12Filled area, 1-9, 2-30Filled block, 2-10Flag, 5
iiiOOrigin, 1-7PPage direction, 1-5Page orientation, 1-5Path mode graphics, 2-16Pattern number, 2-22, 2-24Permanent parameters, 6-1Physical page
is a trademark of KYOCERA Corporation © 2013 KYOCERA Document Solutions Inc.
Chapter 2 Graphics Tutorial2-4Figure 2. 2. Result of Draw Commands: Zero-relative Lines The first two lines switch the printing system to the PRESCRI
Rev. 4.9 2013.1
2-5Figure 2. 3. Result of Draw Commands: Relative Lines In this command sequence, the PRESCRIBE mode begins with the !R!, resets the print-ing system
Chapter 2 Graphics Tutorial2-6Figure 2. 4. Result of Draw Commands: Lines in Angles The first two lines of this command sequence initiates the PRES
2-7Figure 2. 5. An Example of a Box Line 1 places the printing system in the PRESCRIBE mode and resets printing system parameters. The UNIT C; comm
iGeneral InfomationNoticeWe shall have no liability or responsibility to customers or any other person or entity with respect to any liability, loss o
Chapter 2 Graphics Tutorial2-8Figure 2. 6. Cursor Positioning Options XBOX 4, 2, H; Moves the cursor to the horizontally adjacent cornerBOX 4, 2, V;
2-9Drawing Circles The CIR (draw circle) command draws a circle of a specified radius using the line thick-ness set by the SPD (set pen diameter) comm
Chapter 2 Graphics Tutorial2-10A filled block consists simply of a rectangle of any desired dimensions. A filled arc is an area enclosed by an arc seg
2-11The BLK (draw filled-in BLocK) command on line 5 actually draws the filled in block. This command closely resembles the BOX command explained in t
Chapter 2 Graphics Tutorial2-12Defining Fill Patterns With a little work, you can construct your own fill patterns. You can generate 8 × 8 dot pattern
2-13!R! RES;XPAT 100;@X0@ | 0Af0CC0FA8L@<X@6p@3p@3X@6L@<FA8CC0Af0@ | 0@X0;MZP 1, 1;PAT 100;BLK 1, 1;PAGE;EXIT; Lines 2 and 3 define the pattern
Chapter 2 Graphics Tutorial2-14 If the character resulting for section x of any row is @ (indicating that all bits in that sec-tion are white), then t
2-15Figure 2. 12. PIE Example The PIE command uses the formatPIE radius, starting angle, size of slice, ...; In the example above, the radius is 2
Chapter 2 Graphics Tutorial2-16Figure 2. 13. Pattern Filled PIE This program first draws four filled arcs, each using a different fill pattern, the
Path Mode Graphics2-17There are no restrictions on the shape of a path. A single path may include multiple closed subpaths, representing several areas
ii4. You agree not to duplicate or copy the Software or Typefaces, except that you may make one backup copy. You agree that any such copy shall contai
Chapter 2 Graphics Tutorial2-18Drawing Lines The following example shows how to draw a line in the path mode. !R! RES;NEWP;PMZP 1, 1;PDZP 2, 3;STRK;PA
Path Mode Graphics2-19Two Lines The preceding example illustrated construction of a path between points specified in terms of absolute coordinates. Th
Chapter 2 Graphics Tutorial2-20Line Ends The line end type determines how PRESCRIBE renders the ends of lines when they are stroked onto the page. PRE
Path Mode Graphics2-21stroking the path. PRESCRIBE refers to the line cap type when the current path is stroked onto the page, rather than while the p
Chapter 2 Graphics Tutorial2-22Figure 2. 19. Miter Limit Miter limit = maximum ratio of L/w = 1/sin (a/2)If the angle at which lines join is such tha
Path Mode Graphics2-23The following program illustrates use of this command. !R! RES;UNIT C; CMNT Sets unit to cm;NEWP; CMNT Starts new path;SPD .5; C
Chapter 2 Graphics Tutorial2-24Figure 2. 21. Printout of the SDP Example The SDP command on line 3 defines a dashed pattern consisting of two lengt
Path Mode Graphics2-25Figure 2. 22. Printout of the PARC Example After the arc is drawn, the cursor is located at the end of the arc. If you wish t
Chapter 2 Graphics Tutorial2-26Figure 2. 24. Printout of a Circle Made with PMRA Drawing Complex Curves PRESCRIBE also provides a second curve-draw
Path Mode Graphics2-27The curve leaves the current position in the direction of x1, y1, and is tangent to the line between the current position and x1
iiiIntroductionThis manual contains information needed to use the firmware features provided by the Kyocera printing system. Among these features is P
Chapter 2 Graphics Tutorial2-28!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 Setti
Path Mode Graphics2-29!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 Bo
Chapter 2 Graphics Tutorial2-30Figure 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,
Path Mode Graphics2-31With simple convex paths such as that shown below, the entire enclosed area is filled. Figure 2. 32. Simple Filled Paths Howe
Chapter 2 Graphics Tutorial2-32With 1 specified for the rule parameter of FILL, the method for determining whether a point is inside the path involves
Path Mode Graphics2-33Figure 2. 34. Clipping Rectangle Example Printing with Character Paths When a resident scalable (outline) font is selected, y
Chapter 2 Graphics Tutorial2-34Next, the SFNT (Select current FoNT by typeface) on line 5 selects Helvetica Bold, a scalable (outline) font as the cur
Raster Graphics2-35raster data represents a repeating pattern or an uncompressed (unencoded) pattern. It also determines the number of pattern repetit
Chapter 2 Graphics Tutorial2-36Figure 2. 36. Presentation Modes A secondary function of the SRO command specifies the width and height of the raster
Raster Graphics2-37tagged image file format raster data. Both commands are used with the ENDR (END Raster) command. Printing Raster Data The normal se
ivAbout the Technical Reference manual The Technical Reference manual is organized into eight chapters. The first four chapters of this manual constit
Chapter 2 Graphics Tutorial2-38Figure 2. 38. Image Models PRESCRIBE establishes the printing system’s imaging model with the SIMG (Set IMaGe model) c
Raster Graphics2-39With operation modes 1 and 2, the SIMG command addresses the transparency of the source image only. For operation mode 1, the white
Chapter 2 Graphics Tutorial2-40For example, construction of a filled and outlined shape such as that shown below requires that we draw the path and th
Chapter 3MacrosAfter you have gone to the trouble of creating (and debugging) a PRESCRIBE command sequence, it is inefficient to use it only once, bu
Chapter 3 Macros3-2MCRO Command The MCRO command assigns a name to the sequence of PRESCRIBE commands that follows, until the ENDM (END Macro) command
Examples of Macros3-3Figure 3. 1. PRESCRIBE Macro Limitations Macro limitations are summarized as follows. Examples of Macros Example 1 The following
Chapter 3 Macros3-4Example 2 The next file presents a more ambitious project. It makes the graph-drawing commands in the preceding section into a pair
Examples of Macros3-5Figure 3. 2. Macro Example 2
3-6This page is left blank intentionally.
Chapter 4FontsThis chapter covers font-related topics, including the printing system’s resident and option fonts, character sets, and usage of font-s
vTable of ContentsGeneral Infomation ...
Chapter 4 Fonts4-2Resident Fonts The printing system provides one bitmap font and 136 scalable (outline) fonts as the res-ident fonts. Also, fonts may
4-3Garamond-HlbGaramond-KrsvGaramond-HlbKrsvMarigoldAlbertus-MdAlbertus-ExBdArialArial-BdArial-ItArial-BdItTimesNewRomanTimesNewRoman-BdTimesNewRoman-
Chapter 4 Fonts4-4KPDL Fonts In KPDL (Kyocera Print-system Description Language) emulation, the printing system provides PostScript-compatible 47 scal
4-5Clarendon-Condensed-BoldCoronetCourierCourier-BoldCourier-BoldObliqueCourier-ObliqueCourierPCLCourierPCL-BdCourierPCL-BoldItalicCourierPCL-ItalicGa
Chapter 4 Fonts4-6Substituting a Bitmap Font The printing system does not contain any bitmap fonts except LinePrinterBM8.5-Roman. If the printing syst
Font Selection4-7Font SelectionThere are several ways to select the fonts: one way is to use the appropriate keys on the printing system’s control pan
Chapter 4 Fonts4-8• CSET (Change current symbol SET)• FTMD (set bitmap FonT MoDe) • FONT (select current FONT by number) • SFA (Set bitmap Font Attrib
Font Selection4-9The parameters for symbol set, compression, and obliquing must be either all specified or all omitted. Selecting Fonts Using the FSET
Chapter 4 Fonts4-10Selecting Fonts with the FONT Command The FONT command uses font numbers to select fonts. A scalable font does not nor-mally have t
Font Selection4-11!R! FTMD 13; FONT 19; EXIT; For making many font changes within a document, use the ALTF (change to ALTernate Font) and SETF (SET al
viFont Selection...
Chapter 4 Fonts4-12Font Selection by Embedded Commands Word-processing programs with IBM and Epson printer drivers include support for a set of specif
Symbol Set4-13Figure 4. 1. Character dot pattern The pattern is 13 dots high and 13 dots wide. The pattern is encoded as a series of 16-bit words.
Chapter 4 Fonts4-14The following figure shows all the characters included in the most common symbol set, HP Roman-8. Figure 4. 2. Roman-8 Symbol Set
Symbol Set4-15• CSET (Change symbol SET) • SFNT (Select current FoNT by typeface) The CSET command selects a symbol set by specifying its identificati
4-16This page is left blank intentionally.
Chapter 5BarcodesThis chapter is a tutorial for encoding data into linear barcode and two-dimensional bar-codes (PDF barcodes) by using PRESCRIBE com
Chapter 5 Barcodes5-2Linear BarcodesThe printing system is capable of printing a wide variety of barcodes, with human-read-able text if desired. The u
5-3 The short and tall parameters specify the short and tall bar heights in the unit designated by the UNIT command (default: inches). The short and
Chapter 5 Barcodes5-4If the bar and space width parameters are omitted, the printing system uses suitable default values. Table 5.3. indicates the num
5-5Barcode 41 (USPS FIM) prints a Facing Identification Mark pattern which may be printed on the envelope adjacent to the stamp. The combination of a
Chapter 1Introduction to PRESCRIBEPRESCRIBE is the native language of the Kyocera printing systems including copiers (collectively referred to as pri
Chapter 5 Barcodes5-632 Ames with no checksum 33 Delta distance ’a’ (IBM) with no checksum 34 Delta distance ’a’ (IBM) with checksum 35 EAN 8 with two
5-72930311–251–251–250123456789 0 32 1–25 -0123456789 033341–251–250123456789KLMO 0 3536373891214170123456789 039 139 0123456789 –40 1 One of the foll
Chapter 5 Barcodes5-8Table 5.3. Location of POSTNET and FIM Table 5.4. Bar Height and Width ClassesType Tall bars Width classes Default (dots)12341
5-922 — 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 —
Chapter 5 Barcodes5-10Two-dimensional BarcodesPDF 417 is a two-dimensional stacked barcode symbology capable of encoding over a kilobyte of data per l
5-11start patternA unique pattern of light and dark elements which indicates the leftmost part of a bar-code label.stop patternA unique pattern of lig
Chapter 5 Barcodes5-12Printing a Two-dimensional BarcodeXBAR, XBCP, XBUF, and ENDB commands support two-dimensional barcode printing. Each command doe
5-13Positioning the BarcodesThe following commands are positioning commands the PRESCRIBE language pro-vides. These commands are useful and sometimes
Chapter 5 Barcodes5-14Macro PDF417Macro PDF417 provides a powerful mechanism for creating a distributed representation of files too large to be presen
5-15Some samples for Macro PDF417 are provided in PRESCRIBE Commands Command Reference on the XBCP page.
Commenti su questo manuale