Kyocera FS 1028DP User Manual
Have a look at the manual Kyocera FS 1028DP User Manual online for free. It’s possible to download the document as PDF or print. UserManuals.tech offer 73 Kyocera manuals and user’s guides for free. Share the user manual or guide on Facebook, Twitter or Google+.
HP 7550A Emulation [KC-GL] (Mode 8) 7-109 Katakana (8)KC-GL International Characters Downloaded From ManualsPrinter.com Manuals
Chapter 7 Emulation 7-110 KC-GL Limits This section provides limit values for the various KC-GL parameters. Plotter units are used unless otherwise specified. Standard Character Sizes Maximum Plot Area Coordinate Values Table 7.33. Standard Character Sizes Paper size Width (mm) Height (mm) A4 0.187 0.269 A3 0.285 0.375 Letter 0.187 0.269 Ledger 0.285 0.375 Table 7.34. Maximum Plot Area Paper size X Y Plotter units Dots Plotter units Dots A4 11477 3389 7999 2362 A3 16398 4842 11487 3392 Letter 10776 3182 8236 2432 Ledger 16872 4982 10776 3182 Table 7.35. Coordinate Values, Mode A, RO 0 Paper size P1x P1y P2x P2y A4 430, 200 10430, 7400 A3 380, 430 15580, 10430 Letter 80, 320 10080, 7520 Ledger 620, 80 15820, 10080 Table 7.36. Coordinate Values, Mode A, RO 90 Paper size P1x P1y P2x P2y A4 200, 430 7400, 10430 A3 430, 380 10430, 15580 Letter 320, 80 7520, 10080 Ledger 80, 620 10080, 15820 Table 7.37. Coordinate Values, Mode B, RO 0Paper size P1x P1y P2x P2y A4 –4700, –2480 4700, 2480 A3 –6680, –4700 6680, 4700 Letter –4348, –2598 4348, 2598 Ledger –6916, –4348 6916, 4348 Downloaded From ManualsPrinter.com Manuals
HP 7550A Emulation [KC-GL] (Mode 8) 7-111 Summary of KC-GL Instructions The table below lists KC-GL instructions supported by the printing system. The follow- ing legend is used: [c] Character string [d] decimal (-128.0000 to +127.9999) [i] integer (-32768 to +32767) [sd] scaled decimal (-32768.0000 to +32767.9999) Coordinate Values, Mode B, RO 90 Paper size P1x P1y P2x P2y A4 –2480, –4700 2480, 4700 A3 –4700, –6680 4700, 6680 Letter –2598, –4348 2598, 4348 Ledger –4348, –6916 4348, 6916 Table 7.38. KC-GL Instructions (Sheet 1 of 2) Instruction Parameters Description AAx-coordinate [i/sd], y-coordinate [i/sd], center-angle [i] (, resolution [i]) Arc absolute AF – Advance page AH – Advance page AR Δx [i/sd], Δy [i/sd], arc-angle [i] (, resolution [i]) Arc relative BL character-string [c] terminator Buffer label CA character-set-no. [i] Designate alternate character set CI radius [i/sd] (, resolution [i]) Circle CP horizontal-character-count [d], vertical-character-count [d] Character plot CS character-set-no. [i] Designate standard character set CT – Chord tolerance for AA, AR, CI DF – Default DI run [d], rise [d] Absolute direction DR run [d], rise [d] Relative direction DT terminator [c] Define label terminator EA x-coordinate [i/sd], y-coordinate [i/sd] Edge rectangle absolute EP – Edge polygon for PM, RA, RR, WG ER Δx [i/sd], Δy [i/sd] Edge rectangle relative ES character-space [d](, line- space [d])Extra space for NCP EW radius [i/sd], start-angle [i], center-angle [i] (, resolution [i]) Edge wedge FP – Fill polygon for PM, RA, RR, WG FT type [i] (,spacing [sd] (,angle [i])) Fill type IM E-mask-value [i] (, S-mask-value [i] (,P-mask- value [i])) Input mask IN – Initialize IP P1x [i], P1y [i] (, P2x [i], P2y [i]) Input P1 and P2 IW X LL [i/sd], YLL [i/sd], XUR [i/sd], YUR [i/sd], Input window LB character-string [c] Label LO position-number [i] Label origin LT pattern-no. [i] (, pattern-length [d]) Line type OA – Output actual position and pen status* Downloaded From ManualsPrinter.com Manuals
Chapter 7 Emulation 7-112 E-Mask Bit Values The IM instruction sets an E-mask that controls how errors are reported on the RS-232C interface. The E-mask value is the sum of the bit values in the following table. OC – Output command ed position and pen status* OE – Output error* OF – Output factors* OH – Output hard-clip limits* OI – Output identification* OL – Output label length OO – Output options* OP – Output P1 and P2* OS – Output status byte* OT – Output carousel type OW – Output window* PA x1-coordinate [i/sd], y1-coordinate [i/sd] (,x2- coordinate [i/sd], y2-coordinate [i/sd], ..., xn- coordinate [i/sd], yn- coordinate [i/sd]) Plot absolute PB – Print buffered label PD x1-coordinate [i/sd], y1-coordinate [i/sd] (, ... xn-coordinate [i/sd], yn-coordinate [i/sd]) Pen down PM – Polygon mode PR Δx1 [i/sd], Δy1 [i/sd] (, Δx2 [i/sd], Δy2 [i/sd], ..., xn-coordinate [i/sd], yn-coordinate [i/sd]) Plot relative PS paper-size [i] Select paper size PT pen-thickness [d] Pen thickness PU x1-coordinate [i/sd], y1-coordinate [i/sd] (, ... xn-coordinate [i/sd], yn-coordinate [i/sd]) Pen up RA x-coordinate [i/sd], y-coordinate [i/sd] Fill rectangle absolute RO angle-in-degrees [i] Rotate coordinate system RR Δx [i/sd], Δ y [i/sd] Fill rectangle relative SA – Select alternate character set SC Xmin [i], Xmax [i], Ymin [i], Ymax [i], Scale SI character-width [d], character-h eight [d] Absolute character size SL tan θ [d] Character slant SM character [c] Symbol mode SP pen-number [i] Select pen SR character-width [d], character-height [d] Relative character size SS – Select standard character set TL tick-length-in-positive-direction [d] (, tick-length-in-nega tive-direction [d]) Tick length UC (pen-control [i],) Δx [i], Δ y (,...) (, pen-control [i]) (,...,) Plot user-defined character WG radius [i/sd], start-angle [i], center-angle [i] (, resolution [i]) Plot filled wedge XT – X-tick YT – Y-tick Table 7.39. E-Mask Bit Values Bit Error No. Description 1 0 1 Command not recognized 2 1 2 Wrong number of parameters Table 7.38. KC-GL Instru ctions (Sheet 2 of 2) Instruction Parameters Description Downloaded From ManualsPrinter.com Manuals
HP 7550A Emulation [KC-GL] (Mode 8) 7-113 S-Mask/P-Mask Values Device-Control Instructions 4 2 3 Illegal parameter 8 3 4 Unknown character 16 4 5 Unknown character set 32 5 6 Plot position overflow 64 6 7 – 128 7 8 – Table 7.40. S-Mask/P-Mask Values S-Mask/P-Mask Values Bit Value Description 1 0 Pen down 2 1 Changed P1 or P2 4 2 Valid digitizing point 8 3 Initialized 16 4 Ready 32 5 Error 64 6 – 128 7 – Table 7.41. Device-Control Instructions Instruction Parameters Description ESC.(– Plotter ONa aIgnored ESC.Y – Plotter ON a ESC.)– Plotter OFFa ESC.Z – Plotter OFFa ESC.@ [();()]; Plotter configurationa ESC.B – Output buffer space ESC.E – Output extended error ESC.H [();(); (); (;...)] Select handshaking mode 1 a ESC.I [();(); (); (;...)] Select handshaking mode 2 a ESC.J – Ignore device-control instructions a ESC.K – Ignore plot instructionsa ESC.L – Output buffer size ESC.M [();(); (); ();(); ()] Select output mode (outpu t trigger character, echo terminator, output terminator) ESC.N [();(); (;...)] Select extended output and handshaking mode 1 a ESC.O – Output extended status ESC.R – Reset handshaking a Table 7.39. E-Mask Bit Values Bit Error No. Description Downloaded From ManualsPrinter.com Manuals
Chapter 7 Emulation 7-114 Default States (DF) Initial Conditions (IN) Table 7.42. Default States (DF)Function Equivalent Inst ruction 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-clip limits Circle and arc resolution – 5 degrees Symbol mode SM; Off Tick length TL; x-axis: 0.5 % of | P2y - P1y | y-axis: 0.5% of | P2x - P1x | Mask value IM233,0,0; All errors recognized, but no response to service request or parallel port. Fill type FT; Type 1 (bidirectional fill) Fill spacing FT; 1% of distance between P1 and P2 (used only in fill types 3 and 4) Fill angle FT; 0 degrees Pen thickness PT; 0.3 mm (fill spacing for fill types 1 and 2) Label origin – Current pen position Relative direction DR1,0; Horizontal characters Relative size SR; Character width: 0.75% of | P2x - P1x | Character height: 1.5% of | P2y - P1y | Character space ES 0, 0; None Character slant SL; 0 degrees Label buffer BL ETX; None Label terminator DT ET X;ETX (ASCII code 3) Label origin LO; Position number Character set SS; Standard character set Standard character set CS0; Character set 0 Code tolerance CT; Angle mode of AA, AR, CI, or WG Alternate character set CA0; Character set 0 Table 7.43. Initial Conditions (IN) Function Equivalent instruction Initial condition Default conditions DF; Default values Scaling points IP; Initialized according to paper size Coordinate system rotation RO; 0 degrees (default setting) Downloaded From ManualsPrinter.com Manuals
KPDL Operators 7-115 KPDL Operators This section describes the machine-independent part of KPDL, Kyocera’s implementa- tion of the PostScript command language. KPDL deployed in the printing system encom- passes the features of LanguageLevel 3 of the PostScript command language. The KPDL operators described in this section can be used for confirming and changing the printing system’s internal settings. Most of the operators in this section are paired: one operator for setting an environmental parameter, and another operator for confirming the setting. The setting operator starts with the letters set. The confirmation operator has the same name, but without the initial set. Communication with the Printing System The operations described below are performe d by sending KPDL operators to the print- ing system in the KPDL mode. KPDL operators can be sent either by file transfer, or interactively using communications software. Th is section explains both methods. As an example, it uses the KPDL oper ator that sets the printing system to print a simple graph- ics sample as shown in Figure 7. 44. on page 116. Example : Operators to draw a text and an enclosing box. Note that, in KPDL mode, unit for dis- tances is 1/72 inches. The initial SEM 9; ensures that the printing sy stem is in the KPDL mode. If the printing system is already in the KPDL mode, SEM 9; is ignored. The percent signs (%) and the words to the right are comments. Comments are included on ly 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 result of the above example. The print result appears as shown in Figure 7. 44. on page 116. !R! SEM 9; EXIT; % Enter KPDL mode %! 3 setlinewidth % Set line width to 3 30 30 moveto % Move to (30 30) 0 60 rlineto % Draw line 60 above 225 0 rlineto % Draw line 225 to the right 0 -60 rlineto % Draw line 60 below closepath % Close the above path gsave % Save current graphics state 0.6 setgray % Set gray level to 0.6 fill % Fill the path with gray grestore % Restore saved graphics state 0 setgray % Set gray level to 0 stroke % Stroke the path 1 setgray % Set gray level to solid black /Helvetica-Nr 30 selectfont % Select and scale to 30 points 50 50 moveto % Move to (100 100) (Have a nice day!) show % Print the string showpage % Print the above on page ^D % End of job (control-D) Downloaded From ManualsPrinter.com Manuals
Chapter 7 Emulation 7-116 Figure 7. 44. Sample Printout File transfer One way to transfer a file is to place all lines above in a file and transfer the file to the printing system. The ba sic requirements are: • Except for SEM 9; and EXIT; (which can be in either uppercase or lowercase letters), all operators must be typed in lowe rcase letters, exactly as shown. • The file must not contain any extraneous control codes, as are frequently added by word-processing software. • The file must be sent as a file, not printed. If you print the file, you will only obtain printed output. KPDL Summary This section lists all KPDL operators , their operands, and their results. When received from the comput er, operators and operands are placed in an area in the printing system’s memory called the stack. In the operator tabl e, each operator is pre- ceded by its list of operands (if any). These op erands must be placed onto the stack prior to the operator itself. Each operator is followed by a list of its results (if any). The results returned by the operator ar e also placed onto the stack. For example, the add operator is listed as follows: num1 num2 add sum add num1 and num2 The action of this operator is to remove the two numbers th at precede it from the top of the stack, add them, and put their sum onto the stack. If an operator does not require any preceding operands or does not place any result on the stack, the corresponding column in the table is blank. The following abbreviations (and a few others) are used for operands: ang angle (specified in degrees) bool boolean: the value true or false dict dictionary int integer num number (integer or real) obj object (any object) pattern pattern dictionary proc procedure tag tag userpath array of path construction op erators and their operands Downloaded From ManualsPrinter.com Manuals
KPDL Operators 7-117 Note Certain operators are hyphenated in the following tables because of the editorial limitation only. These operators must not be hyphenated to be executed. KPDL Page Description Operators The following table summarizes the page description operators including all language levels of KPDL. In the following table, operators having the higher language level are indicated by 2 (level 2) or 3 (level 3) . Table 7.45. KPDL Page Description Operators (Sheet 1 of 11) Preceding stack Operator Result Description obj = Write object to standard output =print =string obj == Write object to standard output with syntax markings 2 > dictCreate a dictionary containing the specified key-value pair [ markPush mark on stack mark obj0...obj (n-1) ] arrayEnd array starting at topmost mark num1 abs num2Get absolute value of num1 num1 num2 add sumAdd num1 and num2 array aload a0...a(n-1) array Load array elements into stack, below array string target anchorsearch tail target true or string false Test whether target is initial substring of string int/bool1 int/bool2 and int/bool3 Bitwise or logical AND x y r ang1 ang2 arc Create counterclockwise arc x y r ang1 ang2 arcn Create clockwise arc x1 y1 x2 y2 r 2arct Create line ending in arc x1 y1 x2 y2 r arcto xt1 yt1 xt2 yt2 Create line ending in arc; return arc coordinates int array arrayCreate array of null objects ax ay string ashow Print string with adjusted character spacing obj0...obj (n-1) array astore arrayPop elements from stack into array num den atan angleGet arctangent of num/den in degrees cx cy chr ax ay string awidth show Print string with ashow and widthshow effects dict begin Push dict on dictionary stack proc bind procReplace operator names in proc by values int1 count bitshift int2Shift int1 bitwise by count (positive is left) file bytesavailable intGet number of bytes left to read in file cachestatus bsize bmax msize mmax csize cmax blimit Get font cache information num1 ceiling num2Find least integer not less than num1 string bool charpath Create character outline clear Clear entire stack cleardictstack Clear dictionary stack Downloaded From ManualsPrinter.com Manuals
Chapter 7 Emulation 7-118 mark obj1...objn cleartomarkClear stack down through mark clip Create new clipping path clippath Set current path as clipping path 3 cliprestore Restore stored clipping path 3 clipsave Copy and save the current clipping path file closefile Close file closepath Connect subpath to starting point width height bits/comp matrix datasrc0 ... datasrcn-1 multi ncomp colorimage Paint a sample image key name array 3composefont fontRefers CIF font specified in the second CMap object or array and compose CIF font dictionary key string array key dict array matrix concat Multiply current transform matrix by given matrix matrix1 matrix2 matrix3 concatmatrix matrix3Replace matrix3 with matrix1 x matrix2 obj1...objn n copy obj1...objn Duplicate top n objects on stack dict1 dict2 copy dict2Copy dict1 to dict2 array1 array2 copy subarray2 Copy array1 to initial subarray of array2 string1 string2 copy substring2 Copy string1 to initial substring of string2 gstate1 gstate2 copy Copy gstate1 to gstate2 copypage Print and retain current page angle cos realFind cosine of angle (degrees) count nCount objects on stack countdictstack intCount objects on dictionary stack countexecstack intCount objects on execution stack mark obj1...objn counttomark mark obj1... obj n Count objects on stack down to mark proc string 2cshow Show characters changing the font mapping algorithm 2 currentblackgeneration proc Return the black generation function 2 currentcacheparams mark size lower upper Return font cache parameters 2 currentcmykcolor cyan magenta yellow blackReturn the current color according to the cyan-magenta- yellow-black color space 2 currentcolor comp1 comp2 ... comp n Return the comp onents of the color 2 currentcolorrendering dict Return the value of the CIE based color rendering dictionary 2 currentcolorscreen redfreq redang redproc greenfreq greenang greenproc bluefreq blueang blueproc grayfreq grayang grayproc Return the current halftone screen parameters 2 currentcolorspace array Return the color space 2 currentcolortransfer redproc greenproc blueproc grayprocReturn the curr ent transfer functions currentdash array offset Get current dash pattern string 2currentdevparams dict Return all parameters for device Table 7.45. KPDL Page Description Operators (Sheet 2 of 11) Preceding stack Operator Result Description Downloaded From ManualsPrinter.com Manuals