Home
KS Emulation
Contents
1. Double high character Q Normal character Upper part of double high character Lower part of double high character G Upper and Lower parts combined Figure 5 Double Height Upper Lower Part Of Character Example Double High Print Double High Print ASCII Code ESC yn HexCode 1B79n DecCode 27121n Purpose Turns double high print on and off Where n SOH hex 01 or 1 hex 31 turns double high print on n NUL hex 00 or 0 hex 30 turns double high print off Comment When ESC y is received all characters are printed twice as high until reset This command is cancelled when the printer receives the following commands LF FF VT CR or ESC J This command is ignored when One and a Half Times mode is turned on and the One and a Half Times command cancels this feature Double Strike ASCII Code ESCG ESCH Hex Code 1B47 1B 48 Dec Code 2771 27 72 Purpose ESC G turns on double strike printing ESC H turns off double strike printing Comment ESC G makes text bolder by printing each dot twice the second dot offset to the right of the first by a distance equal to 1 2 the width of a dot Example The following program illustrates double strike character printing Control code ESC G selects bold character printing for example A amp aBbCcDdEeFf GgHhIiJjKAkL1MmNn oPp Control code ESC H cancels bold character printing 41 Chapter 3 Configuring the KS Emulation with
2. Barcode Type Magnification POSTNET X1 X1A Royal Mail X1 Postbar X3 X2 X1 FIM PDF 417 The X1C X1D and X1E values can only be printed for a 180 dpi horizontal barcode If these values are sent for a 120 dpi horizontal barcode it will print as value X1 Where P activates printable data field variable p location of PDF A above B below default N none Note FIM Postbar and PDF417 do not support this parameter C Calculate and plot check digit if the check digit is optional H activates the height variable hh 2 digit barcode height in 1 10 D Dark barcode Note This parameter does not take effect under any DBCS typefaces F q data q secondary data field optional The secondary data field is only used to specify the barcode data when the primary data field is empty two delimiters without any data When the primary data field is not empty the secondary data field is ignored NOTE This is not the KS Emulation command This is an additional command for the H series printer only 36 Bell Bell ASCII BEL Hex 07 Dec 7 Purpose Sounds the printer s bell for 1 10 second Bit Image Select ASCII Hex Dec Purpose ESC m n1 n2d1 dk 1B 2A mn1 n2 1 dk 27 42 m n1 n2 d1 dk Prints dot graphics in 8 or 24 dot columns depending on the defined parameters Where m the dot density see Table 5 n1 n2 total num
3. ENTER SWITCH UNLOCKED OFFLINE QUICK SETUP OFFLINE CONFIG CONTROL CONFIG CONTROL Load Config CONFIG CONTROL Save Config Save Config 1 Save Config 2 Allows you to make configuration changes Press until the desired number 1 8 displays NOTE Do not turn off the printer while Save is in progress because you might lose your 10 configuration ENTER co CA UNTIL Save Config 2 CONFIG CONTROL Save Config The configuration is now saved in memory In this case config 2 Chapter 2 _ The Configuration Menu Table 3 Saving Configurations continued Step Key Result Notes 10 11 12 NOTE It is recommended you print the configuration Go to page 13 step 5 If you decide not to print the configuration then continue with the following steps ENTER SWITCH LOCKED ON LINE CLEAR ONLINE CO The printer is ready for operation Locks the ENTER key 20 OFFLINE EMULATION LinePrinter LinePrinter Plus Menu LinePrinter Plus Menu Printer CPI LPI Protocol Select Host Command Font Graphics KS see page 25 Select LPI 6 0 LPI 8 0 LPI DBCS CPI 5 0 CPI 6 0 CPI 6 7 CPI 7 5 CPI 8 5 CPI 9 0 CPI 10 0 CPI Other CPI Enable
4. Lis leal oo S2 8 Isis eiE sigls ello sl el e IDEBEIBEPB GBBHEEEEEIBBEBESESEI Hangul English Mode ASCII character set 2 hex 00 through hex 7F English mode ESC h 0 ESC 6 E jesse puristas s EE secas vasis acoso a E ae es DIE ETE SURE RIP s gs hae ASCII character set 2 hex 80 through hex FF English mode ESC h 0 ESC 6 Appendix B KS Character Sets WTAE EE ET TEES RRE o SHE HHE t a zm EE SE Korean Standard Code Table KSC5601 Korean Standard Code Table KSC5601 Range hex A1A1 through hex FFFE mR cn me Qe ne oo e wor PR woe dr Ore Ge qye IU co lt Sx In dr em xdi ae o OVI OS O O Es E IIT 2 E EE E3 8 2 No Co TM am pm Tel 40 M4 e Ulsa NS SA TA Nx 7 V UFx wWw c D Ou p gt en S lt O qg ok TP gt v o Y 4 o z mo lt o o N Ne 436 Il X A C vc 2S EDD SH GA GE WR D H W MA A O AX 3 E x j daH AH ardd are w vc u A ch gc jm a wom He H HB A A AE AH AN oo AM X 8 6 at of vl m wd A8 A0 A8 C0 A8 E0 A9 A0 A9 C0 A9 E0 pL mi di l kl cc m co m ka fm nm um mm cm km e com n km ha ug mg kg kt cal ka dB 36 ps ns us ms DV IK IN mW kN MV pA n A mA kA pW W UN m KW MW H kl Mik Qk Tz Q kQ MO pF nF F mol cd rad sr Pa kha MPa GP
5. Sets intercharacter spacing to the right of the DBCS character The left of the DBCS character spacing is set to 0 Where O lt n lt 127 Default n 6 The dot size is 1 180 inch The current CPI will be set according to full width character The intercharacter spacing of SBCS character is half of n This command affects DBCS CPI on the front panel This command only takes effect when Emulation Extend a front panel option is set to Enable NOTE This is not the KS Emulation command This is an additional command for the H series printer only 59 Chapter 3 Configuring the KS Emulation with Control Codes Set Reset Vertical Writing ASCII Code Hex Code Dec Code Purpose Comment ESC jn 1B 6A n 27 106 n Sets resets vertical writing Where n 0 Resets vertical writing n 1 Sets vertical writing Alphanumeric and table characters cannot be written vertically NOTE This is not the KS Emulation command This is an additional command for the H series printer only Shadow Mode ASCII Code ESC zn Hex Code 1B7An Dec Code 27122 n Purpose Turns Shadow mode on or off When Shadow mode is on all characters are printed with background Where n hex 01 or hex 31 turns shadow mode on n hex 00 or hex 30 turns shadow mode off Superscript And Subscript Printing ASCII Code Hex Code Dec Code Purpose Comment 60 ESC Sn ESC T 1B53n 1B54 2783n 2784 ESC S n selects superscript or sub
6. 5 E P if ELS in amp 5 W SE Pr AG AAA AR w A Swe S AR AMM BH GR B BB J5 yK Pg 28 WP 1o Zc P bh 2 SE Wh Wk BRE 2 WL T a HE 18 RE F S B a RES 6 Pk pk Kk 3k Pk BE Sm JE AE 5 IB REE DIG EX DE En L Pa R ES BA RR sh HB HR ED Bh 2 2 Pe 6 e 26 Pe Je je E 9 SK 78 Tr W B X NOE 2 E Dx ous Ap SE gx B ND SED BE E MH SK My f E BRIA TR LUE DEOS ME SEOED RAIN SK W GSKA E ph WS 8 Ja GENE B CR S V tS RAH iS T CRAVE HUE e Fr Pk S SEE 9 7 EU B k eS Ja E 6 E Pa Pk si J Sk Korean Standard Code Table KSC5601 E s S B ES AERA RM RRR EELA BA BOR BR BS E E 3K Wk fk HIG CREE REOR RE R Sk MB R m 8 BL E 8 EJ E JBE BE FG 52 GR DN 25 YW 58 g SE 3 J EE BE PE PE VE SE y MG SO jM KER MS ARAN AZAR 52 UE SK JR Qy 6 ASH 8 98 Fo a hh PU 8 38 B zh 2 FZ F HS MR SS WR pR E NK R Ph SK PQ Ek RR 3 2k E BE ss WE EAS DESTE Y T DE BE FL ROS RARE S 1 UE URGE Pa ERA JB Y E Hi S MAMA REGQ ERRREME HE Ec SJ 15 G a EE ES Ek 38 Be CARERS a AUR FB gh PL H LLL Ce Bc ER BU DE BE en e t 2 St HH BD D S E5 hk DH 5k ES Z Xp or PERCH RE NS pt HS JE WK YK AE DE J 3638 J rU ke Eb 63 9 RRS HBS X Ub HB GE PK R IK 2 WR Sk C xao dU REIS CS CARO E dk IK RAKE 39 5 8 W GOE HK 36 Ha 3 38 x GK 36 E H HH AD HB HK X 8 HGi Es g HERE s EH DE 1 Yg HHB DK 2 3 R BR 95 ERE RRA FL EE ACA F HRTF 3 3 P B SR W ik E E BE BRK RRO Bw EEE ES 1i 5 XE NL tie
7. Example The following example illustrates n 60 inch line spacing Control code ESC A 20 sets Line spacing at 20 60 inch increments for all subsequent lines until reset or another spacing is selected Line Spacing n 120 Inch ASCII Code ESC un Hex Code 1B75n Dec Code 27117n Purpose Specifies the line spacing at n 120 inch increments Where n 1 through 255 hex 01 through hex FF Comment When this control sequence is received all subsequent line feeds are n 120 inch until a new line spacing is selected or the printer is reset This setting overrides line spacing set at the control panel Small values of n can result in overlapping lines Overlapping lines can also occur if print attributes such as Elongated Double High Superscript or Subscript characters are used on the same line If lines overlap printing speed is reduced Line Spacing n 180 Inch ASCII Code ESC 3 n HexCode 1B33n DecCode 2751n Purpose Specifies the line spacing at n 180 inch increments Where n 1 through 255 hex 01 through hex FF Comment The3isan ASCII character 3 not hex 3 All line feeds following receipt of this code are at n 180 inch line spacing until a new line spacing is selected or the printer is reset Line spacing set by this control code overrides line spacing setting set at the control panel If the vertical distance to move is other than a multiple of n 180 inch the remainder is added to the next paper motion com
8. Ignore All Ignore CPI Ignore LPI Ignore Unidir Ignore Pg Fmt Attributes Spd Up Typeface LQ Near LQ Normal Hi Speed Super Hi Speed Ultra Hi Speed Styling Type Myungjo Gothic High Density Disable Enable Bold Print Disable Enable Italic Print Disable Forward Slant Backward Slant Slashed Zero Disable Enable DBCS ASCII Style Normal OCRB Normal Thin Text Position Bottom of Line Top of Line Encoding Address Table UTF8 Horizontal Expnd 24 pt size 24 72 Vertical Expnd 24 pt size 24 72 Normal Enhanced Turbo Match Typeface Page Format Reset Cmd CFG Ld Error Handling see the next page Disable Power Up Config Current Config Factory Config Figure 3 LinePrinter Plus Menu Illegal Code Pt Normal As Space 21 Chapter 2 22 Page Format The Configuration Menu from previous page Form Length Form Width Abs Length IN Abs Width IN 11 0 inches 13 6 inches 0 1 24 0 1 13 6 Abs Length MM Abs Width MM 279 4 mm 345 4 millimeters 0 1 609 6 0 1 345 4 Funct of Lines Funct of CPI 66 lines 163 Characters 1 192 1 272 CPI LPI Select This parameter lets you specify the characters per inch cpi and lines per Margins Perforation Skip Left Margin Disable 0 columns 1 2 inch 0 369 2 3 inch Right Ma
9. In order to print data the printer must respond correctly to signals and commands received from the host computer Configuration is the process of matching the printer s operating characteristics to those of the host computer and to specific tasks such as printing labels or printing on different sizes of paper The characteristics that define the printer s response to signals and commands received from the host computer are called configuration parameters Examples are line spacing form length etc You can change the parameters by sending appropriate control codes or by pressing keys on the control panel Control codes offer more versatility and they override control panel settings This chapter explains how to use the control panel Chapter 3 provides information about control codes Message Display SET TOF Emulation Status Indicator Z s EN So IBEO Desc gt O OOO zjuedowg JOB SELECT ON LINE CLEAR VIEW EJECT CANCEL ENTER Ribbon Life PAPER ADVANCE Indicator Figure 1 The Control Panels Chapter 2 _ Printing the Configuration Printing the Configuration Factory Default CONFIG CONTROL Load Config Save Config Print Config Delete Config Power Up Protect Config Configs Current Short Current Full Factor
10. Parr PH KEE FEE EKE eo 37 7 eB ED mU PEE RD TPH RRA Apu wn AL TR wu lt OK dip We BW BES lt WSK dpa BW h St lt JE Bh oP BA Ho RRE LW CH SH 2 2p ojo Rr PRA qK ww OX Bs aro F 38 oy of 3o gv da 38 PER Ws ow o of on aH or oe BX Off ap A o OX 4 OOD Bl of ofr E AAT BW Kon Blof of 592 3 oF dw jo zr we xr ow Bl oU OK KKE omm J lt J Sr oK RU o RU RE ou 3 K o K R op Rr RT PEE olf oti RW o OK sl oK oo FE ob o KO oK xn om o1 RU oh SD Ke oft SB v of OB KT of ob vt oF gU Fe so oJ R SK or RK Ro RA qu OK RE qu op e PWE Wr HRT FORK S op RK ol KO F ow x S olf K E oK RE 9r ok RE olo KE NK Nfe No NK lt KK Nin RD NB nja RA Nio Ni RB Ns Ni RU N NS RU NU NE RO Wr Nr wr nj NE No No To NJ NK RI Mr Nin RU NA Nin RU qo Nn qu wp Re WE Nir RH wn N TO W NI RE NI RI wp NE FO Fe NE RU RK SK TUR o xn HRK WU wm sp EN KA WE RI N ORE RO Wp wr NK RE SHE aK TE o T ae twn ROR WR TOW EE AWK 76 Korean Standard Code Table KSC5601 PE ya eC Hil Got E HE Z Be HE I xt KC Wn Wu WU gu WP qo BY Wr 82 HP pn Br OF 0 Hjo 8 o HK ou XC D 5 Hip jor wn Hf io EN HS Fe El HW P lt S HE BL HiT BE Zo Hh S9 EK Kk g Hm Er Bo Wn E 8 BJ HK Gu FH Hin q W Hip wr T uu Tip HU qo Wr Al te t BP 77 Appendix B KS Character Sets
11. 03 or hex 33 selects Super Hi Speed print quality n hex 04 or hex 34 selects Normal print quality n hex 05 or hex 35 selects Ultra Hi Speed print quality Comment This command overrides control panel print quality selections Printer Deselect ASCII Code DC3 Hex Code Dec Code Purpose Comment 13 19 Places printer in the deselected state The configuration parameter Printer Select must be set to Enable When the printer receives this command it ignores data until a DC1 Printer Select command is received NOTE This is not the KS Emulation command This is an additional command for the H series printer only Printer Select ASCII Code DC1 Hex Code 11 Dec Code 17 Purpose Places printer in the selected state Comment The configuration parameter Printer Select must be set to Enable This control code allows the printer to receive and print data from the host if it was deselected by DC3 If the printer was not deselected by DC3 this code is ignored NOTE This is not the KS Emulation command This is an additional command for the H series printer only 57 Chapter 3 Configuring the KS Emulation with Control Codes Reverse Mode ASCIICode ESCrn Hex Code 1B72n Dec Code 27114n Purpose Turns Reverse Printing on or off Where n hex 01 or hex 31 turns Reverse Printing on n hex 00 or hex 30 turns Reverse Printing off Select Bit Image ASCII Code SSCC m nL nH dl dk Hex Code SSCC 2
12. 120 Inch 54 n 180 Inch 54 1 10 Inch 53 1 6 Inch 52 1 8 Inch 53 LinePrinter Plus menu cpi Ipi select 22 error handling of illegal code point 24 font attributes 23 graphics spd up 23 host command 22 page format 24 Make 80 9F Hex Control Codes 56 Make 80 9F Hex Printable 55 Manuals related 9 Margins setting with control panel 24 Mask Table Characters 61 Menu configuration 15 21 Menu configuration moving inside 16 Mode Select Hangul English 48 O One and a Half Times Mode 56 P Page Format LinePrinter Plus menu 24 Page format setting with control panel 24 Page length set in lines 45 Parameters saving as a configuration 18 Perforation skipping setting with control panel 24 Print Quality 57 Printer Deselect 57 Printer Select 57 Printer select parameter 26 Printing the configuration 12 Proportional Spacing setting with control panel 23 R Reset Cmd CFG Ld LinePrinter Plus menu 24 Reverse Mode 58 S Saving current configuration 18 Select Bit Image 37 58 Select Graphics 120 dpi 46 Select Graphics 180 dpi 47 Select Graphics 60 dpi 46 Select Italic Font 59 Select Print Quality 57 Sequences escape 28 Set absolute horizontal print position 32 Set and Reset Codes 29 Set Auto Wrap Mode 32 Set Intercharacter Spacing of DBCS Character 59 Set Reset Vertical Writing 60 Shadow Mode 60 Software features 9 Superscript Subscript printing 60
13. AK Jln So Jin Jo Bx Am JIB lt HJ Jl Sa Ar stu n 34 J 8 For da J Lo o UK TK Bu up um AS pin iq Br B wp EF UB TE DK Uy wo Te uj SE DX wj T TK ur ur m LH vjo ga uk qu E vl Dw To uli y T uke yr TW up Ty T uk wr D ub ue 5 1H UK OK um lt DP un Bo OP UB BO WU piw DP ul 799 y UL WEE ur U TH DW pho BK TP pin To TY ub TK vw up WK UE TK K oF oh T2 SD nla fU qw viu wy wh Ww or T RE b wp Wo TO mU TK wy we TX njo TW WK oY TD wD ar T nin wr T WU SF T W wk D n wr mio nH ne TK n w 2 pa wr E wj T WU TP mo np PK mE nir FR le n up D S mk DEUS 78 D y WOW mj rw nd T wo a Pe DY BR m ne is BK BK EN o ny BY EX M BR WI plo T En nk BY EB nm T BM pin w T olf X ar nj uu n mn e nl TU uU np M mr tH TEE T BK BK nH me Be nu Be BS WK BX wo S2 Bm nk n mJ nb mU ur ncm ty mr o np BX wir EX m mU Be mp BK uH WK To Be Ke or a or xU uA OK J Bn S as BO SU mE AR LEE oF oo nil J nh BK ur ajo mo nk mf at pin lt m nin za ar OB zn ols BB U n T o nj mU s np nw nr or um of a n Db n 5 ex plo min alv Sr pj ni BU n sul pj nk we nn z lt FK w ux T np cn p pi us oy mU oR oP ah 75 KS Character Sets Appendix B PE 3h Eo Bln o gp RR Ra lt EE LUE Jeu LEX EJ Br EK unc n ah dr gp lt o ear PEZ Kapa E H UNIR Y Bo xe P sh xu GEES TH ES
14. Print 38 setting with control panel 23 C Cancel ltalic Font 38 Cancel Line 38 Carriage Return 39 Character Select Hangul Myunjo Gothic 48 Character Set ASCII 65 Characters font setting with control panel 23 Configuration 11 menu top level 15 21 moving within menu 16 printing 12 saving 18 Contact information 85 Control code description format 29 Control code index 30 CPI Select Hangul English 47 CPI setting with control panel 22 CPI LPI Select LinePrinter Plus menu 22 CR Bold Select parameter 25 Customer Support Center 85 Index D DC2 Condensed Print Reset 39 Default values 27 Define CR code parameter 25 Define LF Code parameter 26 Define LF code parameter 26 Double High Print 41 Double Strike 41 Double Wide Print 42 Double Wide Print 1 Line 43 E Emulation Extend parameter 26 Enable disable codes 28 English Hangul CPI Select 47 English Hangul Mode Select 48 Error Handling of Illegal Code Point LinePrinter Plus menu 24 ESC Underline 62 ESC B Vertical Tab Set Clear 64 ESC C Set Form Length by Lines 45 ESC D Horizontal Tab Set Release 50 ESC G Double Strike Select 41 ESC J Line Feed n 180 Inch 52 ESC S Superscript and Subscript Printing 60 ESC SI Set Condensed Print 39 ESC SO Double Wide Print One Line 43 ESC W Double Wide Print 42 ESC Initialize Printer 51 ESC 0 Line Spacing 1 8 Inch 8 Ipi 53 ESC 2
15. RE JK HE Me T HK E Hk PER OS OE Pe ESE ES s Wu I1 u 8 x De FH AL APY 2 7 3 f wR Wa FE Wa 98 F IE RK 3S k SE PE E E ik Fl X E dedi E DT JI SSRIS FE E E J A SE fA a pr BA AE E R 1 BENE RGB HE E EARN D 35 PE E pb 4B RR fE 2 1k WS UR BS Eh BR pk Be W HO 05 H Kh Je 8 05 DS TO Wi Hh Eb E kb Sh S5 AGRE RICA HE EE dE im HE RR e XE B EAR Re St MG dE B NE dE WE SR AK A B BBS R L E GU iz JU SEU HO Pp ER Se BE BE WE E ES el BS RK Ft SE tet 35 E Wk RE PS ft Se Fj Ps Hi PE HB fE Pa st Ti E tit LAG E SR W W p NR MR 38 B PARKED 2 BB 88 H G j 48 TE 08 H Uu WK We de 21 we PE TE kk Dk ES EE UR ff fff PB S W RA dn a aa FE E Jf Gh RY OPP IS NS CP n SA RO aF AS et Ek BO 2 m Bf BN Ria E EE E ROTA SE AS fb SB f Rh Ba BH HB HB g W LAR CER CMM BE Hk 3 Hk WE H kk Wi EE Mb MS FE PE Ub DR E SE HERE 35 JE 79 Appendix B KS Character Sets 00000000000000001111111111111111 0123456789ABCDEF0123456789ABCDEF B E GE EC S EE E BD JE f UH AKAMA 18 PB MA tt E S PLS OK MS 53 JE FEED RES s 2 BH Ud aF Es Bf 8 ks 33 RH TN E ZEE 18 iW 36 pb RL AL BH AL ES b kk Bb m SD BE dt M SE a BH EEES QW B YU Hg PE ph SL wr BR QK Z Rk H SE AA W i T 2 HH us SR 38 L E IRE i E E A fed le SE ES W R WK WK F RE ES ESE F eE ERA EEF PE t Ra TF TE Sk 38 FE SR J Su 26 38 ee TE Vu MD Hi e LO We HE YE P E pr y W BORE RSLS B B Et B d E F Sk FE Bu WE S HE S HR BE RO z SG st Wk s 9t SW GW
16. Super Set Commands 29 Supplies Department 85 T Table Characters Extending 61 Masking 61 Tabs horizontal set release 50 vertical 63 set clear 64 Turn On Off OCRB Selection 62 Typeface setting with control panel 23 U Underline 62 Unidirectional Mode 63 Unsupported features 27 V Vertical tabs 63 set clear 64 Z 80 9F hex configuring 26 89 90 257273 001A
17. control codes by function ASCII mnemonic and page number Some control code functions can also be selected at the control panel FUNCTION Vertical Motion and Print Execution PAGE Superscript and Subscript Printing Cancel Underline Print Quality Control Print Quality Character Set Manipulation Hangul English CPI Select Hangul English Mode Select Hangul Myunjo Gothic Character Select Make Hex 80 9F Printable Make Hex 80 9F Control Codes Table Character Masking Table Characters Extending Data Manipulation Cancel Line Graphics Bit Image Select Graphics Select 60 dpi Graphics Select 120 dpi Graphics Select 180 dpi Miscellaneous Printer Control Bell Initialize Printer Printer Deselect Printer Select Reverse Mode Unidirectional Mode Extension Command Cancel Italic Font Select Italic Font Set Intercharacter Space Superset Command Barcode Printing Graphic Printing Bit Image Turn On Off OCR Printing Font Expansion Graphic Printing Control Code Index ESC T ESC n ESCxn ESCqn ESChn ESCmn ESC 6 ESC 7 ESC wn ESCvn CAN ESC m n1 n2d1 dk ESCK n1 n2d1 dk ESC L n1 n2d1 dk ESC n n1 n2d1 dk BEL ESC Q DC3 DC1 ESCrn ESC Un ESC 5 ESC 4 ESC SP n SSCCct SSCC ASSCOzn ASSCOe ASSCO 31 60 62 57 33 62 44 45 Chapter 3 Configuring the KS Emulation with Control Codes Absolute Horizontal Print Position ASCII Code ESC t n
18. gt wo ao E s k S WN 5G J r X FEE D p PB A S JE 88 3 88 fE EJE E E E i B RTE gb FE Pb AS 2 46 Bt FRA ARA J J Gt He 18 k Pt SRS RR LESS P Er BL 3 2 JS FE MER ELTELTE 5 5 AR 46 b a JE B SRR eb dn ds j k t zo AE mit RSE PES ir B BE A a SB W BB P jR H 9t TH REER AR AS 34 zu 5px sE E N 8 R B fe LIRA Eros maa A minc TLX S aR E 2 35 WA N i f Ot E BURKE 5 15 BL BE f Hr H E xk Ep 99 RON RAE A A CSR BE Z KR MARE RA j F H W kE ER d DR dl Ye mE B O f b B RY w st Ej B SS mra T EN E m NYI am 3 ou ERO RS SSM PRS Aas ARE See X RRS AMS SS ARS FAS mae SRE Eds ile wR BRO oS xh eR S Bea RE mk gh ss SS we DH 5 BH k 5 E Dee PEDE Eb EE m 4 DE HS E 9 5 W Oe 8 08 25 I Wt SNE MER Pee ul CI MER S Ro MEE NU ih SAR dM nom et gt Be amm um He ism S Ni Sat dy gi a XP ER gt oH i B R EP E 5 El Ell mo mt 335 zs di x TES D 3E Gp E JUD WE SEP SRAM BH RH XP SS au E i RJ 4 tt Ld e e mR j Ej is x HH dU HE RR RA HEU BS YE NEGROS BE BD oe E E Sa SE AL OR MG ER SR KR R o Hs h lt mu OE zn 38 3 S 18 Terie RE i H m TE Wa Be RD ot XE E Su re A 4 m m
19. margin position of the following page if the next tab is below the bottom margin position or if no tab is set below the current position The VT command functions the same as a CR command if all tabs have been cancelled by the ESC B NUL command Additionally the VT command functions the same as an LF command if no tabs have been set since the printer was turned on or was reset with the ESC command This command cancels double width printing set with the SO or ESC SO command 63 Chapter 3 Configuring the KS Emulation with Control Codes Vertical Tab Set Clear ASCII Code ESC B n1 n2 n3 nk NUL Hex Code 1B 42 n1 n2 n3 nk 00 Dec Code 2766 n1 n2 n3 nk 0 Purpose Sets up to 16 vertical tab positions Where n 1 through 255 hex 01 through hex FF k 1 through 16 hex 01 through hex 10 n1 through nk specify the line number for the vertical tab s up to a maximum of 16 tab positions NUL must end the sequence To clear the tab settings send ESC B NUL 1B 42 00 Comment The values of n range from 1 through 255 and must be in ascending order The distance of each tab stop from TOF is the current line spacing times the number of lines given in n If the value of n exceeds the form length commands to move to that tab position are ignored If values of n are not in ascending order the sequence up to and including the out of sequence number is ignored and the rest of the load is processed Skip over perforation is i
20. will print double the size of the compressed character The following program illustrates double wide print for one line only expanded character printing for one line only 43 Chapter 3 Configuring the KS Emulation with Control Codes Font Expansion ASCIICode ASSC 0 e ni n2 Hex Code ASSC 30 65 ni n2 Dec Code ASSC 48 101 ni n2 Purpose Expand the DBCS character up to the size of 72 For this command to work n1 must be the same value as n2 i e n1 n2 When n1 and n2 25 to 72 this set font expansion mode is ON The value of n1 and n2 will determine the bitmap size For example if the size of n1 is 50 then the size of the bitmap will be set to 50x50 For n1 and n2 24 the font expansion mode will reset to OFF and the bitmap size reverts to the default 24x24 Inter line spacing and inter character spacing calculations are based on standard setting as if bitmap is 24x24 This command will only increase the size of the bitmap and not affect inter character spacing or inter line spacing For example if inter line spacing is 6 dot rows when the bitmap is expanded from 24x24 to 72x72 the inter line spacing still remains as 6 dot rows This is the same for inter character spacing Other commands such as double height double width 2x2 times left right margin etc will not function when font expansion mode is set on For different typefaces the characters will expand based on approximate typeface resolution All c
21. 1 n2 n3 Hex Code 1B74n1n2n3 Dec Code 27116n1n2n3 Purpose Moves the simulated print head to an Absolute Horizontal Print position using the following formula horizontal position n1 x 100 n2 x 10 n3 Where n1 0 hex 30 through 1 hex 31 n2 0 hex 30 through 9 hex 39 n3 0 hex 30 through 9 hex 39 horizontal position 1 through 136 Comment The unit setting for this command is based on the present size of the ASCII character Only a condensed print SI or CPI ESC q command will change the character size When moving to an Absolute Horizontal Print position using ESC t then underline shadow and reverse do not print When the One and a Half Times mode ESC s is on the Absolute Horizontal Print position will not activate until One and a Half Times mode is turned off If the distance goes beyond the right margin the sequence is ignored Auto Wrap Mode ASCII Code ESC dn Hex Code 1B64n Dec Code 27100 n Purpose When data is printed beyond the right margin in Auto Wrap mode an LF is inserted automatically The next character is then printed on the next line from the left margin and all one line commands selected with SO and ESC y are reset Where n SOH hex 01 or 1 hex 31 turns on Auto Wrap mode n NUL hex 00 or 0 hex 30 turns off Auto Wrap mode Comment Auto Wrap mode is on by default When Auto Wrap mode is off 32 any data which occurs beyond the right margin is cut off Backspace B
22. A m nL nH d1 dk Dec Code SSCC 42 m nL nH dl dk Purpose Prints dot graphics in 12 or 16 dot columns depending on the following parameters Where O lt nL lt 255 0O lt nH lt 31 m 30 31 32 nL nH specifies the total number of columns of graphics data that follow number of dot columns nH x 256 nL d1 dk bytes of graphics data k is determined by multiplying the total number of columns times the number of bytes required for each column 58 Parameter Horizontal Vertical Dots per Bytes per min ESC Density dpi Density dpi Column Column 30 90 90 12 2 31 120 120 16 2 32 90 90 16 2 NOTE This is not the KS Emulation command This is an additional command for the H series printer only Select ltalic Font Select Italic Font ASCII Code ESC 4 Hex Code Dec Code Purpose Comment 1B 34 27 52 Sets the style attribute of the font to italic The default is normal non italic style This command selects italic printing even if the italic character table is not selected This command changes the Italic Print front panel setting This command only takes effect when Emulation Extend a front panel option is set to Enable NOTE This is not the KS Emulation command This is an additional command for the H series printer only Set Intercharacter Spacing of DBCS Character ASCII Code ESC SP n Hex Code Dec Code Purpose Comment 1B 20n 27 32 n
23. Alt Set 80 9F menu option This command takes effect in English only mode see page 48 One And A Half Times Mode ASCII Code ESCsn Hex Code 1B 73 n DecCode 27115n Purpose All characters are printed at one and a half times their normal size as measured from the current baseline and based on the default CPI Where n SOH hex 01 or 1 hex 31 turns One and a Half Times mode on n NUL hex 00 or 0 hex 30 turns One and a Half Times mode off Comment One and a half times characters can have underline emphasis shadow background and reverse printing attributes Condensed and Superscript Subscript commands are ignored if One and a Half Times mode is on Conversely One and a Half Times mode commands are ignored if Condensed mode or Superscript Subscript mode is on Double width and double height commands do not work when One and a Half Times mode is on but the commands are recovered when the One and a Half Times mode is cleared HT and ESC t commands are ignored in One and a Half Times mode This command is ignored in bit image mode The line with the One and a Half Times character has double the line spacing as a normal line 56 Print Quality Print Quality ASCII Code ESC x n Hex Code 1B78n Dec Code 27120n Purpose Selects print quality Where n hex 00 or hex 30 selects LQ print quality n hex 01 or hex 31 selects Hi Speed print quality n hex 02 or hex 32 selects Near LQ print quality n hex
24. Control Codes Double Wide Print ASCIICode ESC W n HexCode 1B57n DecCode 2787n Purpose Turns double wide print on and off Where n SOH hex 01 or 1 hex 31 turns double wide print on n NUL hex 00 or 0 hex 30 turns double wide print off Comment When ESC W is received all characters are printed twice as wide until reset This command is ignored when One and a Half Times mode is turned on and the One and a Half Times command cancels this feature Example The following program illustrates double wide character printing Control code ESC W 1 selects expanded character printing Control code ESC W O resets expanded character printing 42 Double Wide Print One Line Double Wide Print One Line ASCII Code SO DC4 Hex Code Dec Code Purpose Comment Example Control code SO selects 0E 14 14 20 Selects double wide print for one line only DC4 cancels this command This control code is a line by line print attribute when SO is received the characters on the current line print twice as wide and then reset automatically This control code is cancelled by one of the following codes LF FF VT DC4 ESC W 0 CR or ESC J If Auto Wrap is active once the data reaches the end of the line double wide print is cancelled SO does not work in One and a Half Times mode and it will recover when One and a Half Times mode is cancelled In Compressed mode the width of the printed character
25. EE ARREARS k 8 E EM E B S Wi Yz PQ Pk SRR pk kk E p S ER Se SE RE J SR EE li Be He Ft E 81 3 W G u 98 39 Or He IB 18 WI W Ed EAS 3 OR Nh E SE n 3 HU s 82 BE fa W R uk S WN R RG Jk 8 BAK RA EDESA LESS SF Bh H Bill S EFRON PR CK Pk WK ES IF BA D XE BE 25 f SE FE Z t MARR ERK Th Ste SE te 38 2 BH PK S5 FS Bz Bir BE T ARCET SG P BL 25 PA 2 Te WR HB wk HR IG AR Px X f8 1810 A A AE TE Pe 8 DT JEDE LUE PER a ES 2 NA BHH Bc VQ SL gt ge w E IB BG 8E REH AA E EE RENA PR be Tis 3A Er P Fe B hh AE on RH HEEL ER OOH EO Pt k AE AAA fi iB Ke RT Rao Sh W Es EAG Ee RRASREES YD iX WE ES BE tF 15 9E EK SE f amp F Wa HR MR R OT FRA THERESE E FF Soh E E 19 He 2i d SD 95 SR BS BE Z k 23 3 HE WE DA tk Sk SB L BI UE lt REA d E Ti 38 TA UD De Ek P Ph Ph 38 E XD DA S ERE E J TE H Wk dp M A E R th DB YG A E BB BR oe HE BS 35 PA B6 43 AG W B Bz JG e Ma uK H HE th f Wa 05 S 85 Fk PE 2 J EE 5 IR ERRADA Il pt 1 a S s f amp BE E B HD he RE OE HE Z XS BE GE 6 ROLE Hr HE 32 3 BJ Y RH SH Ww 80 m T e WE E OR R A BARON AIRE JH E FE bt MA 18 BE PR OR it W UE 1B E RN PR RE Ba MK Tk SA BH WL E Z k s EEE EESEL W E ZL 2k 2 sk BU EK Bz 2 1 Se PS 3 Ma pt E g fr T DW BE X HE XE v De BOXE DOR EX Hh mb EXC M 25 k Pk 2 28 W WA E E E HEARD Kk 6 SECO XE 9 X Pl MI P O W f ps SEE SERENA Ya T h E fk E k n G HE PL JL Ea 18 RE EE 3k WE EB ER Korean St
26. K BE AE Ex SE 96 M x FB PE fp to f s rl B DSL Sd dl T AE 0 MP y ta Hea B ES i W g GE Se s WB AR ARE Dz BU Ez 23 PE PK m 3 amp 2 4 4 H Gi 55 RAS LCS jx hk yk B Sk RE Dk UG 95 ME sb Me JE S P W Z EPS RR HRA B R RESE ERIE E TREES PI j BE eas Fox US Ow Hc AE fr PE B lt n A k p eT fu E E E Tu Su HT RA 82 TEA fs z 1 2 E e E W RS Ha BE BR BUR KE g BA 8k 2 K tE s T T SB A RE ee ee hk np STE PS BL T BK DA ER ZE M bh NARA AE B kk 39 RR AK es Fe 8 SE ER gt f 58 W B tia cie sk BR vic e Eb Jp 32 GR A OLA TE J iB 2 PEE 2 Hr SH UI GE JD SSS SS A BE WK Pe BE E sP HR WP BE s hi hk SON P A 35 eS Ds HB TSF W ELA A AE LLELESTITE ELK 18 25 Uk sJ 3 PL BE Ek AL ir EL 38 4k AO Korean Standard Code Table KSC5601 TNA EEE T S A RK all Se 26 IE 8 kE SH She HE BE BE ie M E K EH aa RE RS EJ Br KK Yr OH KUMAR RECERCAR Re E FS dE as 83 Appendix B KS Character Sets 84 C Contact Information Printronix Customer Support Center IMPORTANT Please have the following information available prior to calling the Printronix Customer Support Center Model number Serial number located on the back of the printer e Installed options i e interface and host type if applicable to the problem Configuration printout Line Matrix Printer Press PRT CONFIG on the control panel then press Enter lsthe problem with a new install or an existing printer Description of the prob
27. Line Spacing 1 6 Inch 6 Ipi 52 ESC 3 Line Spacing n 180 Inch 54 ESC 6 Make 80 9F Hex Printable 55 ESC 7 Make 80 9F Hex Control Codes 56 87 Escape sequences 28 Expanded Print 42 Expanded Print 1 Line 43 Extend Table Characters 61 F Factory settings 27 Features 9 unsupported 27 Font Attributes LinePrinter Plus menu 23 Font attributes setting with control panel 23 Font Expansion 44 Form Feed 44 Form Length set in lines 45 setting with control panel 24 Form Width setting with control panel 24 G Gothic Hangul Myunjo Character Select 48 Graphic Printing 45 Graphics Select 120 dpi 46 Graphics Select 180 dpi 47 Graphics Select 60 dpi 46 Graphics Spd Up LinePrinter Plus menu 23 H Hangul Myunjo Gothic Character Select 48 Hangul English CPI Select 47 Hangul English Mode Select 48 Hex 80 9F configuring 26 Home Print Head 48 Horizontal tabs execute 49 set release 50 Host Command LinePrinter Plus menu 22 88 Index of control codes 30 Italics setting with control panel 23 K KS emulation 27 configuring with control codes 29 control code description format 29 KS emulation menu Alt Set 80 9F 26 auto LF 26 CR Bold Select 25 define CR code 25 Define LF Code 26 define LF code 26 emulation extend 26 printer select 26 L Line Feed 51 n 216 Inch 1 line 52 setting with control panel 25 Line Printer Plus Menu 21 Line Spacing n
28. PRINTRONIX Programmer s Reference Manual KS Emulation For The P8000 H Series Of Line Matrix Printers KS Emulation For The P8000 H Series Of Line Matrix Printers Programmer s Reference Manual PRINTRONIX Printronix Inc makes no representations or warranties of any kind regarding this material including but not limited to implied warranties of merchantability and fitness for a particular purpose Printronix Inc shall not be held responsible for errors contained herein or any omissions from this material or for any damages whether direct indirect incidental or consequential in connection with the furnishing distribution performance or use of this material The information in this manual is subject to change without notice This document contains proprietary information protected by copyright No part of this document may be reproduced copied translated or incorporated in any other material in any form or by any means whether manual graphic electronic mechanical or otherwise without the prior written consent of Printronix Inc COPYRIGHT 2005 2012 PRINTRONIX INC All rights reserved Trademark Acknowledgements Printronix and LinePrinter Plus are registered trademarks of Printronix Inc IBM is a registered trademark of International Business Machines Corp Epson is a registered trademark of Seiko Epson Corporation 1 Table Of Contents IntroductiOn ss a en ed np 9 About this Manualne e n
29. WE SU RR AA DB te FG DN 28 GB DN UR 90 SE Bu Bu EA ER EO 7 AB JG Ju Bh w FB HZ HOME E b p BY SUD Ux COE D S H PE Dh AL NE H DH SECHD W H M SE w m sa 83 ES BE E E 99 EH HE Se GEO Hk TE m 26 Hh PE GROW UE Dn A En bn Ex RE Rt ROM Ja 3 t1 3 ERES J Wk 2 B MI EIE EET kk BRM NEN hh 85 At ER RE POE RRA E ME EET 955 e d E He 88 bk te HERE J Me eU SES EE DY cp fh E ESAS ESA 81 Appendix B KS Character Sets E f XL D P 2 H UR Gy OR EE DOE Te PROR 7E 9E MUI ae Of She HE RH FE EAL AE I BS A 30 BR Br yk AA B Al n 1 gk T 56 8 16 5 W 8 EMME ERRE F SRR S W R 3 3 BE SER IN BR bk P S FE NE RE r pi BE t X JW R HE ER PE Fig Se Be See gl RI FF 68 Ch UD GE WY WK WR RR SR kh H Ha EO Wk fa SB YE Xe hh DE P ZE PE BE IR PF AF 38 A BL A i H LEX kp SE F FE WE 3b ABH ZEROED RR DRT Tr FE 65 39 P HL A UA DSL HR SE E Nx BE Hh He He Mk WE W Ds S 3X PK B EE BE 56 SR TL OS S 38 Ra W W ESSE H Jt Bh yG Th 1 8 Fi ES ERES DESTA EAS 18 W is Ik WO ZEE FE Pal BE HE fe Na Bc tE 88 HE Bb BE RU 5 38 t E E E PE Tk E B FE f th f re BE FB Z 18 TT d 2 E 86 F6 EK BE IS sa UK Hz EE FE Pn HE e Be 98 WE OB 86 t ME du CARAC A E RMS S UB HE E S 6 lt RAR IK EG de gn nn Wen PEG HE DR s HL BF ED F MA p SG 8 HE KB DE E MUR E ih HE LE Fe IB E UA D JR J E DE RE ER BR PU AO W IK P Sk B AA PA PI f DR PE Rk hh IR TE 89 W H w EX W AR bi P Pa A HH 38 WE Sa Be FE EORR ER RE I
30. a Wb Im lx Bq Gy Sv X ADaH N LLOGoPTb QOO00080000000990 GHG999IPD 9 GO D 0 0 9 D b D D 0 D 9 9 b 9 S 000e900009006000 41 100 41 1 4 76 A 94 16 76 76 eddhiijr tr roeBP th O 00 6 G0 000 G G Q 0 4 CD e 6 aD ED LD GD D ED GD 9 a b c a e 8 8 1 G 9 0 9 9 o P 0 r s t u v 69 s 2 1 2 3 4 5 6 7 8 9 0009 0203 09 09 128 4 73 Appendix B KS Character Sets Z gt gt m Z r s F U V Z AAA EY SY ARA E ECETIA AA E T y 7 f x Y SAP H KJIMHOIZPOGTYGQCDXEXI UULII b bI b a6 Br e man KU M m I F 5 ODA 74 Korean Standard Code Table KSC5601 NUR NTE PR NORD WS ROS TO o HD RRA RX lt HK RI KI no TH wa K RU RU rin RR Fin WR nS Re Rs Tie TH HB H RU Hw NU ORK HL RK RO HJ K v nr o T lt FF RS ROK K RO RD TA TE RU MIRI wJ wow er Ne RS Ru wb RT RO WW RR mU SU RA NT Ra WO qn oe m TK RU A s q PARA Or sn wn de JU SK OH KFH dowd dime Hb AK OK A tn K Jo n 52 HK B Do Jn de 5g n sg Jg ju su m DNA to H SDP RIF Kn as Ka AW Fo E Si RU mn eam X wo EXT Hs lt ar Tm Jp de Jm yu pa Jin iu pa Jp 352 Ga Jtr DF BB JF dr mw UD mU PH Jo wr PKI Fr MD 5t ana IK OR Fe TF OU wi Jb 732 TK JKT T aT Jln qu tS Jp 32 J Jiu OV Sr Jp JH dir JK de Jk Jle K Ho JK OK
31. ackspace ASCII BS Hex 08 Dec 8 Purpose Moves the print position to the left a distance equal to an ASCII character in the current pitch plus any additional intercharacter space Discussion The code is ignored if the logical print head is positioned at the first character column Example If you were to print five T characters followed by two BS commands and two characters the output would look like the sample below TTTEF Barcode Printing ASCII Code SSCCct ddatad N n xxxx yyyy X mmmm Pp LC HAA ED F q data q Hex Code SSCC 63 ddatad 4E n xxxx yyyy 58 mmmm 50p 43 48 hh 44 46 q data q Dec Code SSCC 99t ddatad 78 n xxxx yyyy 88 mmmm 80p 67 0572h 68 70 q data q Where t type of Barcode t ASCII t hex Selects Barcode B 42 Codabar C 43 Code 39 9 39 Code 93 D 44 Code 128 8 38 EAN 8 1 31 EAN 13 F 46 FIM G 47 German I 2 5 49 Interleaved 2 5 33 Chapter 3 Configuring the KS Emulation with Control Codes t ASCII t hex Selects Barcode M 4D MSI 4 34 PDF 417 O 4F PostBar P 50 POSTNET R 52 Royal Mail T 54 Telepen V 56 UCC EAN 128 A 41 UPC A E 45 UPC E S 53 UPC Shipping U 55 UPS 11 Where d barcode delimiter which can be any character not used in the barcode data field data variable length printable data field PDF charact
32. acter 40 Double High Print icc cai cae ae A niece 41 Double Strike coi o akaqa asuy dass 41 Double Wide Print u aS rere em tr end 42 Double Wide Print One Line pp 43 Font Expansion se 44 Form Feed ceri idas 44 Form Length By Bnew em 45 Graphic Printing u a i a uuu usa nennen nnns 45 Graphics Select 60 dpi rancia ran ncnrnnno 46 Graphics Select 120 dpi rca nana 46 Graphics Select 180 dp 47 Hangul English CPI Select 47 Hangul English Mode Select nn 48 Hangul Myunjo Gothic Character Select 48 Home Print Fead ette eR RR eae 48 Horizontal Tab Execute nn 49 Horizontal Tab Set Release pp 50 Initialize Printe tes t ertet eo ied reb Peace 51 line Feeds hasc tue CC EMEN 51 Line Feed n 180 Inch Nt 52 Line Spacing 1 6 Inch 6 lp 52 Line Spacing 1 8 Inch 8 lp 53 Line Spacing 1 10 Inch 10 3 1Ppi 53 Line Spacing n 60 Inch a 53 Line Spacing n 120 Inch 54 Line Spacing n 180 Inch a 54 Line Spacing 1 n Inchi bi i a yuatuna ad 55 Make Hex 80 9F Printable nn 55 Make Hex 80 9F Control Codes 56 One And A Half Times Mode cnn nn canarias 56 Print Quality 225 5 teniente 57 Printer Deselect nennen 57 Printer Select od ania aW S SS eee talented 57 Reverse Node 0 pi ee be kd i 58 S
33. andard Code Table KSC5601 1 1 2 3 ik HRART ERE RES iB BUR DE Be B B TIS DU SE I Er E 4t EE FE iE f E t s B Ek 3 X DR ME M 18 He HECEL E SR ER 3 BU Wa ae Sl ak X nie HM RK WERE ARTS hb OU Fa WB 4 T 32 B SE BR T th B 8 X KES A F FF H Za Pb 3B ES E TAS SF EB F5 SO GROS E H 8 Fb 85 Si Z 89 1 PR 18 Hos dE i tw At at BAZAN BSR TR R Bl Bl E E A 28 W 12 bu ZARZA SA HORA BARRE OS f FH 2 BR Fi RR pa kk ORR s WB dp He GB ME me PL fi 6 aR D tE W Pa Bor AS HE HR LEEN MARA Fi BDOHE D KR ME P DOO B5 PR BR PR EE DM GR PN HH DL X J SF Ww a 18 A SR A Su Pl E FE E E 3 A Sk Bl Ol sE pe CVERR SKEW E W J S JW tk AREA BET EE IR ERE RKE at E Pt f l SE s dC CME 5 ERE W S g R A BRM ARR EERE EM aE RR ARR RACIA WAM RT TERR SB IEA fk fF H UE ae SR E E MES AK W a E R A r Xr cr 5 R ZE REM 2 hh E F 1 E ui 2 3k AMARA AKERS Be ie lE EA E SC D E 3 38 AE SE HE IE FE SE S B PL F A HA 58 E Wk 38 Bz se BE W B kz Wk PEORES AR 2 Bz S F BE FE E S W 38 FE IE E KE 3 OO s HEBR 99 Cr EE 66 tB REL JE GS FF E E B 18 TR 3 4 8 lt fr 3 Y 3 GE SB Er PE E H H AA K 08 K B5 MEA RAK AM RA AAA MAA BU PRR ML BG EE RRR ER MRA MRS 3E W WE RR GR PE Gn n Gk MEM WG b U RTRs Mb JE ME AG EE B5 ES HE RE MET JE E PEEL RE E ELE 3E AE THE HE A E BE F E T He POUR te AE ET BE HT HS c RD EL SECHS RE BE BI Pr B SE AT ST SE BE Sr EO a TR
34. aten Margins You can set the bottom left and right form margins Perforation Skip Perforation Skip allows or prevents printing on the page perforation When enabled it sets up a skip over margin of 1 2 2 3 5 6 or 1 For example a skip over margin of 1 allows a 1 margin at the bottom of the page perforation The default is Disable Reset Cmd CFG Ld When the printer receives a host data stream reset command ESC or ESCIK in addition to resetting printer variables the selected configuration will be loaded Disable The default The active emulation parameters are loaded when the reset command is executed Power Up Config The power up configuration is loaded when the reset command is executed Current Config The currently selected configuration is loaded when the reset command is executed Factory Config The factory installed configuration is loaded when the reset command is executed Error Handling of Illegal Code Point This command determines the way illegal DBCS characters are processed Normal The default Will ignore illegal DBCS characters As Space Will insert two space characters 0X20 0X20 when the data stream contains error DBCS coding KS Emulation KS Emulation OFFLINE EMULATION LinePrinter Printer Protocol KS Define CR CR Bold Select Auto LF Define LF Printe
35. ber of columns of graphics data to follow number of dot columns n2 x 256 n1 n1 ranges from 0 through 255 n2 ranges from 0 through 31 d1 dk bytes of graphics data k is determined by multiplying the total number of columns times the number of bytes required for each column Table 5 Dot Density in Horizontal Vertical I Dots per Bytes per Density dpi Density dpi Column Column 0 60 60 8 1 1 120 60 8 1 2 120 60 8 1 3 240 60 8 1 4 80 60 8 1 6 90 60 8 1 32 60 180 24 3 33 120 180 24 3 38 90 180 24 3 39 180 180 24 3 40 360 180 24 3 37 Chapter 3 Configuring the KS Emulation with Control Codes Bold Print ASCII Code ESCE ESCF Hex Code 1B 45 1B 46 Dec Code 2769 27 70 Purpose ESC E sets the weight attribute of the font to bold ESC F sets the weight attribute of the font to normal cancels the bold weight previously set by ESC E Comments The ESC E command increases the weight of printed lines and characters resulting in bolder printing Both the ESC E and ESC F commands override the Bold Print setting on the control panel see page 23 and both commands work under ASCII and Hangul modes Cancel Italic Font ASCII Code ESC 5 Hex Code 1B 35 Dec Code 2753 Purpose Sets the style attribute of the font to normal default Cancels the italic style previously selected with the ESC 4 command Comment This command changes the Italic Print front panel setting This
36. command only takes effect when Emulation Extend a front panel option is set to Enable NOTE This is not the KS Emulation command This is an additional command for the H series printer only Cancel Line ASCII Code CAN Hex Code 18 Dec Code 24 Purpose Clears all printable characters and bit image graphics on the current line and moves the print position to the left margin 38 Carriage Return Carriage Return ASCII Code Hex Code Dec Code Purpose Comment CR 0D 13 Returns the simulated print head to the left margin The CR code may or may not cause printing or paper motion depending on the configuration as set from the control panel If CR CR is set the characters following the CR are printed over the previous characters on the line If CR CR LF is set the paper is moved one line at the current line spacing This automatic LF will also cancel all single line print attributes Condensed Print Set Reset ASCII Code Hex Code Dec Code Purpose Comment Example SI DC2 OF 12 15 18 Condenses print pitch to Hangul 10 CPI English 20 CPI DC2 cancels this command Control code SI affects all subsequent characters After receiving code SI all characters are printed condensed until the printer is reset by DC2 a printer reset or a new print mode control code One and a Half Times mode and Superscript Subscript mode are ignored in Condensed mode Conversely condensed mode commands are ignored if O
37. density nL nH specifies the total number of columns or graphics data that follow number of dot columns nHx256 nL d1 dk specifies bytes of graphics data k is determined by multiplying the total number of columns times the number of bytes required for each column Parameter Horizontal Vertical Dots Per Bytes Per mis ASSC Density dpi Density dpi Column Column 0 180 180 24 3 1 90 180 24 3 2 120 120 16 2 3 90 144 24 3 4 90 120 16 2 5 90 90 16 2 45 Chapter 3 Configuring the KS Emulation with Control Codes Graphics Select 60 dpi ASCII Code ESC K n1 n2 1 dk Hex Code 1B 4B n1 n2d1 dk Dec Code 2775n1n2d dk Purpose Prints bit image graphics in 8 dot columns at a density of 60 horizontal by 60 vertical dpi depending on the defined parameters Where n1 n2 total number of columns of graphics data to follow number of columns n2 x 256 n1 n1 ranges from O through 255 n2 ranges from 0 through 3 d1 dk bytes of graphics data range from O through 255 Comment This command is identical to the ESC 0 command see page 37 Graphics Select 120 dpi ASCII Code ESC L n1 n2d1 dk Hex Code 1B 4C n1 n2d1 dk Dec Code 2776 n1 n2 d1 dk Purpose Prints bit image graphics in 8 dot columns at a density of 120 horizontal by 60 vertical dpi depending on the defined parameters Where n1 n2 total number of columns of graphics data to follow number of co
38. elect Bit Image sa aha u nus aa rca 58 Select Italic Font ener nennen nens 59 Set Intercharacter Spacing of DBCS Character 59 Set Reset Vertical Writing 60 Shadow Mod teen tbe rta ete dp Een hak aaa 60 Superscript And Subscript Printing pp 60 Table Character Masking nn 61 Table Of Contents Table Characters Extending pp 61 Turn On Off OCRB Selection pp 62 Wnderline se ee oi eh a 62 Unidirectional Mode pp 63 Vertical TAD riore te dec seb reed EE else Ret edad dta cade 63 Vertical Tab Set Clear Ne 64 A Standard ASCII Character Set 65 B KS Character Sets iss cbe rn ccs 67 Hangul English Moge eene nnns 67 Korean Standard Code Table KSC5601 73 C Contact Information 85 Printronix Customer Support Center sse 85 Printronix Supplies Department nn 85 Corporate Offices caes ti rete er ENS E aa ARR Ra EX geh 86 Table Of Contents l Introduction About this Manual WARNING CAUTION IMPORTANT This manual is designed so you can quickly find the information you need to operate your printer with the Korean Standard KS emulation This book does not explain how to operate the printer For printer operation see the User s Manual Warnings and Special Information Read and c
39. er set is Alphanumeric The following parameters are optional Where N activates the offset n the x and y coordinate unit system n ASCII Selects Value 0 Use current cpi and Ipi values 1 Use 1 4 inch value 2 Use 1 2 centimeter value 1 2 54x2 3 Use 1 mm value 1 25 4 4 Use target barcode dot refer to table immediately below 34 Barcode Printing When n 4 Front Panel Typeface X Offset Unit Inch Y Offset Unit Inch LQ 1 180 1 180 Near LQ 1 120 1 120 Normal 1 180 1 144 Hi Speed 1 180 1 120 Super Hi Speed 1 180 1 90 Ultra Hi Speed 1 180 1 90 Where Xxxx 4 digit upper left corner x horizontal axis yyyy 4 digit upper left corner y vertical axis X activates magnification mmmm bar code magnification The possible magnification is as follows Barcode Type Magnification Code 39 X4 X3 X2 X1 X1 5 X1A X1B X1C X1D X1E X4 X3 X2 X2A X1 X1A X1B Interleaved 2 5 X4 X3 X2 X2A X1 X1A X1B German I 2 5 X4 X3 X2 X2A X1 X1A X1B UPC Shipping X4 X3 X2 X1 X1 5 X1A X1B X1C X1D X1E Telepen X4 X3 X2 X1 X4 X3 X2 X1 X1 5 MSI X4 X3 X2 X1 X1 5 Code 128 X4 X3 X2 X1 X1 5 UCC EAN 128 X4 X3 X2 X1 X1 5 Code 93 X2 X1 UPS 11 X2 X1 UPC A X2 X1 UPC E X2 X1 EAN 8 X4 X3 X2 X1 EAN 13 X1 Codabar X1 X1A 35 Chapter 3 Configuring the KS Emulation with Control Codes
40. ex 48 Comment This function is cancelled by the following commands CR LF VT FF and ESC J or if n 0 24 48 or 72 This command works for both Hangul and ASCII table characters Hangul table characters range from A6A1 through A6E4 ASCII table characters include hex 01 through hex 06 hex 10 hex 15 through hex 17 and hex 19 Table Characters Extending ASCII Code ESCvn Hex Code Dec Code Purpose Comment 1B76n 27118n Enables or disables the extension of the table characters following the command Where n SOH hex 01 or 1 hex 31 enables the extension of table characters n NUL hex 00 or 0 hex 30 disables the extension of table characters This command works for both Hangul and ASCII table characters Hangul table characters range from A6A1 through A6E4 ASCII table characters include hex 01 through hex 06 hex 10 hex 15 through hex 17 and hex 19 61 Chapter 3 Configuring the KS Emulation with Control Codes When the table extension is enabled the table characters in the previous line are extended to link to the next line The maximum line spacing of the extension is 1 LPI The table character is automatically extended horizontally Turn On Off OCRB Selection ASCIICode ASSCO zn Hex Code ASSC30 7An Dec Code ASSC 48 122 n Purpose Prints ASCII characters with OCR B styling Where n 0 or 48 Normal printing default n 1 or 49 OCR B printing Comment This command only function
41. fer to Appendix A Dec Code The decimal equivalent of the code Purpose The function s of the control code Comment A description of exceptions or limitations to normal use Example A sample is provided for some control codes to illustrate how the code is used 29 Chapter 30 3 Control Code Index Configuring the KS Emulation with Control Codes Auto Wrap Mode Carriage Return Form Feed Form Length by Lines Line Feed Line Feed n 180 Inch Line Spacing 1 6 Inch 6 Ipi Line Spacing 1 8 Inch 8 Ipi Line Spacing 1 10 Inch 10 3 Ipi Line Spacing n 60 Inch Line Spacing 1 120 Inch Line Spacing 1 180 Inch Line Spacing 1 n Inch Set Reset Vertical Writing Vertical Tab Vertical Tab Set Clear Horizontal Motion Absolute Horizontal Print Position Backspace Home Print Head Horizontal Tab Execute Horizontal Tab Set Release Emphasis Bold Print Bold Print Cancel Condensed Print Condensed Print Reset Double Height Upper Lower Part of Character Double High Print Double Strike Double Strike Cancel Double Wide Print Double Wide Print One Line ASCII CODE ESC B n1 n2 n3 nk NUL ESCt n1 n2 n3 ESC D n1 nk NUL ESCE ESCF SI DC2 ESCin ESCyn ESC G ESC H ESC Wn So Double Wide Print One Line CancelDC4 FUNCTION Emphasis cont One and a Half Times Mode Shadow Mode Superscript and Subscript Printing ASCII CODE ESCsn ESC zn ESC S n The following index lists the
42. figs Reset Cfg Names After changing all of the necessary parameters it is recommended you save them as a configuration that can be stored for future use and loaded later If you do not save your configuration before you power off the printer all of your parameter changes will be erased The Save Config option allows you to save up to eight configurations to meet different print job requirements Configurations 1 through 8 are empty until you save values to them using the Save Config option For example Config 1 Selects LQ typeface 5 cpi 6 Ipi Config 2 Selects Near LQ typeface 6 cpi 8 Ipi Once you have saved a configuration using this option it will not be lost if you power off the printer You can load a configuration for a specific print job and modify and resave it You may want to print your configurations and store them in a safe place such as inside the printer cabinet NOTE The Protect Configs parameter must be set to disable before you can save a configuration Once you save a configuration the Protect Configs parameter automatically returns to enable Once you change active emulations any changes to the previously selected emulation will be gone unless they have been saved Saving Your New Configuration Table 3 Saving Configurations Step Key Result Notes 1 2 If you are already in the configuration menu go to step 5 ON LINE CLEAR PDD OFFLINE QUICK SETUP
43. gnored This command always sets channel 0 You can clear channel 0 by sending ESC B NUL 64 Standard ASCII Character Set B7 B6 BITS P5 B4 B3 B2 B1 OCTAL DECIMAL HEX o o Nm c Flo ooo iw r m 353 8 Je e m 50 121 81 51 122 82 g O N 22a wv mo mj a N pis O O B 4 gt p O A UJ m k O 2 JO Rios oy s loot o C3 ho cx gva T RO m zum E N AS Im AL an P 10 8 gt n N 5 65 Appendix A 66 B KS Character Sets Hangul English Mode The character sets on the following pages are supported by the ESC h n command See Hangul English Mode Select on page 48 67 Appendix B KS Character Sets ASCII character set hex 00 through hex 7F Hangul English mode ESC h 1 Hangul English Mode English mode ESCh 0 ESC 7 ASCII character set 1 hex 00 through hex 7F E o Pr le JE bal 14 DIT dit i99 5 ElU elu amp 6 F V fl v 7 BE 17 G W giw iN C 8 HIX h x Shale ADA EAS DOME AE ale f vtlescl IK Clk ft Hohe pe pd Blo ca IM m 4 e so gt INIA aja TIE ES HO dol ASCII character set 1 hex 80 through hex FF English mode ESC h 0 ESC 7 Appendix B KS Character Sets zie rae oe I ee HT EST TEB UE L oe CT E L UA rr TAL ur lt D 8 st
44. gul 8 5 CPI Hangul 12 x 24 English 17 CPI English 6 x 24 6 or 36 Hangul 9 CPI Hangul 12 x 24 English 18 CPI English 6 x 24 Comment This function has no effect on One and a Half Times mode and condensed mode 47 Chapter 3 Configuring the KS Emulation with Control Codes Hangul English Mode Select ASCII Code ESChn Hex Code 1B 68 n DecCode 27104n Purpose Switches between Hangul English mode and English only mode Where n SOH hex 01 or 1 hex 31 selects Hangul English mode n NUL hex 00 or O hex 30 selects English only mode Comment In Hangul English mode only ASCII characters in the range below hex 80 are addressed Anything above this range are Hangul characters following the Korean standard code table KSC 5601 See Appendix B In English only mode the characters in the range above hex 80 are extended characters and can be recognized as either control codes or printable characters with the ESC 7 and ESC 6 commands respectively see page 55 Hangul Myunjo Gothic Character Select ASCII Code ESC mn Hex Code 1B6Dn Dec Code 27109n Purpose Selects the typeface of all characters following the command Where n SOH hex 01 or 1 hex 31 selects Gothic style n NUL hex 00 or O hex 30 selects Myunjo style Comment The Hangul characters in the Hangul code table can be selected as Myunjo or Gothic The remainder of the code table e g special and Chinese characters remains the same The default is M
45. is feature is enabled each time the printer receives a Line Feed it inserts an additional Carriage Return code hex 0D into the data stream This feature can be used in most installations but it is required if the host computer does not send Carriage Returns to the printer e LF CR LF Adds an extra Carriage Return with each Line Feed LF LF Does not add a Carriage Return with a Line Feed Printer Select Disable Ignores the ASCII DC1 and DC3 control codes Enable Disables the printer when a DC1 control code is received and enables the printer when a DC3 control code is received Alt Set 80 9F Control Code Interprets data in the range of hex 80 through hex 9F as a control code Printable Prints data in the range of hex 80 through hex 9F Emulation Extend Disable Does not select the extension command Enable Selects the extension command ESC 4 ESC 5 to select cancel ltalic Printing and ESC SP to select Intercharacter Spacing 3 LinePrinter Plus KS Emulation KS Emulation Emulation refers to the ability of a printer to execute the commands of other printer control languages In KS emulation mode your printer prints files coded for Epson LQ series printers particularly the KS Exceptions and Differences Because of mechanical differences between your printer a line matrix printer and moving printhead serial matrix printers some features are approximated or not su
46. lect Select LPI 3 Select LPI 6 0 LPI 10 Select LPI dis until the desired value 8 0 LPI ISplays Moving within the Configuration Menu Table 2 Changing Configurations continued Step Key Result Notes 11 ENTER Select LPI An asterisk indicates the value C 8 0 LPI selected 12 Use the diagrams on the following pages to navigate your way through the menu Press or Y to move vertically press lt or P to move horizontally and to scroll through the values Press ENTER to select a value Press ONLINE CLEAR to move to the top of the menu To SAVE CHANGES AS A CONFIGURATION that is stored in memory and can be loaded later 13 OFFLINE UNTIL EMULATION 14 OFFLINE CONFIG CONTROL UNTIL 15 Go to Table 3 step 4 To USE CURRENT CONFIGURATION WITHOUT SAVING Locks the configuration M ENTER SWITCH LOCKED parameters T 17 ON LINE CLEAR ONLINE CO 18 The printer is ready for operation All parameters are effective as long as the printer is on When you turn off the printer the parameters will be erased from memory Chapter 2 The Configuration Menu Saving Your New Configuration Factory Default CONFIG CONTROL Load Config Save Config Print Config Delete Config Power Up Protect Config Configs 1 2 3 4 5 6 7 8 Name Con
47. lem be specific Good and bad samples that clearly show the problem faxing or emailing of these samples may be required Americas 714 368 2686 Europe Middle East and Africa 31 24 6489 410 Asia Pacific 65 6548 4114 China 86 800 999 6836 http www printronix com support aspx Printronix Supplies Department Contact the Printronix Supplies Department for genuine Printronix supplies Americas 800 733 1900 Europe Middle East and Africa 33 0 1 46 25 19 07 Asia Pacific 65 6548 4116 or 65 6548 4182 China 86 400 886 5598 India 800 102 7869 http www printronix com supplies parts aspx 85 Appendix C Contact Information Corporate Offices 86 Printronix Inc 15345 Barranca Parkway Irvine CA 92618 U S A Phone 714 368 2300 Fax 714 368 2600 Printronix Inc c o Printronix Nederland BV Bijsterhuizen 11 38 6546 AS Nijmegen The Netherlands Phone 31 24 6489489 Fax 31 24 6489499 Printronix Schweiz GmbH 42 Changi South Street 1 Changi South Industrial Estate Singapore 486763 Phone 65 6542 0110 Fax 65 6546 1588 Printronix Commercial Shanghai Co Ltd 22F Eton Building East No 555 Pudong Av Shanghai City 200120 P R China Phone 86 400 886 5598 Fax 86 21 5138 0564 Visit the Printronix web site at www printronix com A ASCII Character Set 65 Auto LF parameter 26 Auto Wrap Mode 32 B Backspace 33 Bell 37 Bit Image Select 37 Bold
48. line spacing set at the control panel Example The following example illustrates 1 8 inch line spacing Control code ESC O sets line spacing at 1 8 8 lpi inch for all subsequent lines until reset or another spacing is selected Line Spacing 1 10 Inch 10 3 Ipi ASCII Code ESC 1 Hex Code 1B 31 Dec Code 2749 Purpose Sets the line spacing to 1 10 inch 10 3 Ipi for subsequent line feeds This control code overrides line spacing set at the control panel Comment The 1 is ASCII character 1 not hex 1 When ESC 1 is received all lines are printed at 10 3 Ipi until a new line spacing is selected or the printer is reset Line Spacing n 60 Inch ASCII Code ESCAn Hex Code 1B41n Dec Code 2765n Purpose Sets a line spacing of n 60 inch for subsequent line feeds This command takes effect only when followed by an ESC 2 command Where n 1 through 85 hex 01 through hex 55 all other values are ignored Comment When this control sequence is received all subsequent line feeds are n 60 inch until a new line spacing is selected or the printer is reset This setting overrides line spacing set at the control panel 53 Chapter 3 Configuring the KS Emulation with Control Codes Small values of n can result in overlapping lines Overlapping lines can also occur if print attributes such as Elongated Double High Superscript or Subscript characters are used on the same line If lines overlap printing speed is reduced
49. lumn of the tab positions NUL is the sequence terminator ESC D NUL clears all tabs The values of n must be listed in ascending order or they are ignored Tabs greater than 28 are ignored The printer does not move the print position to any tabs beyond the right margin position However all tab settings are stored in the printer s memory if you move the right margin you can access previously ignored tabs After tabs are set HT moves the simulated print head to the next tab stop Sending ESC initializes the printer and resets the tabs to every eighth character column which is the default Changing the character pitch does not affect current tab settings The tab settings move to match any movement in the left margin The following example illustrates how to set horizontal tabs Control code ESC D CHR 4 CHR 10 CHR 0 sets tab stops at columns 4 and 10 Control code HT accesses the tab stops as follous column 4 column 10 Initialize Printer Initialize Printer ASCII Code ESC O Hex Code Dec Code Purpose Comment 1B 40 27 64 Resets all print related parameters to the power up configuration values Restores the power up configuration The print buffer is cleared of printable data on the line preceding the command Current position is set as top of form All settings such as font international language selection etc are reset to the power up default values Character by character and li
50. lumns n2 x 256 n1 n1 ranges from 0 through 255 n2 ranges from 0 through 6 d1 dk bytes of graphics data range from 0 through 255 Comment This command is identical to the ESC 1 command see page 37 46 Graphics Select 180 dpi Graphics Select 180 dpi ASCII Code ESC n n1 n2 d1 dk Hex Code Dec Code Purpose Comment 1B 6E n1 n2 d1 dk 27 110 n1 n2 d1 dk Prints bit image graphics in 24 dot columns at a density of 180 horizontal by 180 vertical dpi depending on the defined parameters Where n1 n2 total number of columns of graphics data to follow number of columns n2 x 256 n1 x 3 n1 ranges from 0 through 255 n2 ranges from 0 through 9 d1 dk bytes of graphics data range from O through 255 This command is identical to the ESC 39 command see page 37 Hangul English CPI Select ASCII Code ESC qn Hex Code 1B71n Dec Code 27113n Purpose Sets character pitch to one of the values listed in Table 6 Table 6 Hangul English CPI Select n Hex CPI Cell Size 0 or 30 Hangul 5 CPI Hangul 24 x 24 English 10 CPI English 12 x 24 1 or 31 Hangul 6 CPI Hangul 24 x 24 English 12 CPI the default English 12 x 24 20r32 Hangul 10 CPI Hangul 12 x 24 English 10 CPI English 12 x 24 3 or 33 Hangul 6 7 CPI Hangul 24 x 24 English 13 3 CPI English 12 x 24 4 or 34 Hangul 7 5 CPI Hangul 24 x 24 English 15 CPI English 12 x 24 5 or 35 Han
51. mand 54 Example Line Spacing 1 n Inch Use caution when combining this control code with other print attributes such as Elongated Double High Superscript or Subscript because overlapping lines can occur Print speed is reduced if lines overlap The following example illustrates n 180 inch line spacing Control code ESC 3 50 sets line spacing at 50 180 inch increments for all subsequent lines until reset or another spacing is selected Line Spacing 1 n Inch ASCII Code ESC cn Hex Code 1B63n Dec Code 2799n Purpose Specifies the line spacing at 1 n inch increments Where n 3 through 6 8 or 60 hex 03 through 06 08 3C Comment When this control sequence is received all subsequent line feeds are 1 n inch until a new line spacing is selected or the printer is reset This setting overrides line spacing set at the control panel Make Hex 80 9F Printable ASCIl Code ESC6 Hex Code Dec Code Purpose Comment 1B 36 27 54 Makes codes hex 80 9F printable characters The 6 is an ASCII character 6 not hex 6 This command affects the front panel setting for the Alt Set 80 9F menu option This command takes effect in English only mode see page 48 55 Chapter 3 Configuring the KS Emulation with Control Codes Make Hex 80 9F Control Codes ASCII Code ESC 7 HexCode 1B37 Dec Code 2755 Purpose Makes codes hex 80 9F control codes Comment This command affects the front panel setting for the
52. n escape sequence is ESC parameter 1 parameter 2 parameter n For example to select emphasized offset print send the ESC character immediately followed by the E character do not add a space character ASCII ESC E Hex 1B 45Dec 27 69 Super Set Commands Super Set Commands The unique control code sequence for both SSCC and ASSC commands are defined in the table below Control Code ASCII Value Hex Value Dec Value SSCC ESC 1B 7C 7D 3B 27 124 125 59 ASSC ESC q 1B7C 7D3B 71 27 124 125 59 113 Set And Reset Codes Set and reset are other ways of saying turn on and turn off select and deselect or enable and disable Some printer features are set and reset with an escape sequence and the numbers 1 or 0 In those cases you can represent 1 and 0 as hexadecimal codes 01 and 00 or as the ASCII codes for the numerals 1 and 0 hexadecimal 31 and 30 Configuring the KS Emulation with Control Codes The remainder of this chapter describes the KS printer control language codes that may be sent from a host computer attached to the printer in order to invoke and configure numerous KS emulation functions Format for Control Code Descriptions The following information is listed for each code where applicable and possible in this chapter ASCII Mnemonic The ASCII name for the control code Hex Code The hexadecimal equivalent of the code For octal equivalents re
53. ne and a Half Times or Superscript Subscript mode is turned on The program below shows condensed character printing and reset Control code SI selects condensed character printing Control code DC2 resets condensed character printing 39 Chapter 40 3 Configuring the KS Emulation with Control Codes Double Height Upper Lower Part of Character ASCII Code ESCin Hex Code Dec Code Purpose Comment 1B 69 n 27 105 n Turns the double height upper lower character feature on or off Where n SOH hex 01 or 1 hex 31 prints the upper part of character with double height n STX hex 02 or 2 hex 32 prints the lower part of character with double height n NUL hex 00 or 0 hex 30 reset print as normal character The ESC i n command vertically enlarges the upper or lower part of a character When printing the upper part in this mode the minimal line spacing is 24 180 inches This prevents overlapping after an LF When printing the lower part and executing an LF command the paper moves by set value x 2 24 180 inches If the calculated value is less than or equal to 0 the adjustment of line spacing is ignored To set line spacing the line spacing command must precede the ESC i n command The underline cannot be printed with the upper part of a character This command is not cleared by LF or CR commands See Figure 5 for an illustration of this command
54. ne by line attributes are canceled All channels of the vertical format unit are cleared This command resets the horizontal tabs to every eighth character column Interface parameters and printer protocol selection are not affected NOTE This is not the KS Emulation command This is an additional command for the H series printer only Line Feed ASCII Code LF Hex Code Dec Code Purpose Comment 0A 10 Prints the data in the buffer if any and advances the vertical character position a distance of one line at the current line spacing If configured for LF equals newline LF CR LF from the printer s front panel the simulated print head is moved to the left margin Otherwise it is not moved from its current position This code cancels single line print attributes selected with the SO ESC w or ESC y commands If the LF command moves the print position below the bottom margin on continuous paper the paper advances to the Top Of Form position on the next page 51 Chapter 3 Configuring the KS Emulation with Control Codes Line Feed n 180 Inch ASCII Code ESC Jn HexCode 1B4An Dec Code 2774n Purpose Immediately advances the paper n 180 inch Where n 0 through 255 hex 00 through hex FF Comment n Ois ignored This command produces an immediate line feed but does not affect line spacing or produce a carriage return Any one line only print attributes in effect are canceled Small values of n can resul
55. ommands affecting LPI and CPI will still take effect and is set based on the bitmap being 24x24 Where ni 24 72 n2 24 72 This control code does not function while in non DBCS mode Form Feed ASCII Code FF Hex Code 0C Dec Code 12 Purpose Prints the data in the buffer if any then moves the paper to the top of the next form Comment The simulated print head moves to the left margin This code 44 cancels one line double width printing selected with the SO or ESC SO commands Form Length By Lines Form Length By Lines ASCII Code ESC CD Hex Code 1B43n Dec Code 2767n Purpose Sets the form length by lines Where n 1 through 127 hex 01 through hex 7F to specify the number of lines per form at the current line spacing Comment The current line becomes the first line of the form Setting the form length cancels the bottom margin setting Changing the line spacing does not affect the current page length setting but does change the total number of lines If the line spacing is changed using only LF commands may not reach the exact position of the top of form This command overrides the front panel setting for Function Of Lines see page 24 Graphic Printing ASCII Code ASSC 0 m nL nH d1 dk Hex Code ASSC 30 2A m nL OH dl dk Dec Code ASSC 48 42 m nN nH dl dk Purpose Prints dot grphics in 16 or 24 dot columns depending on the following parameters Where m specifies the dot
56. omply with all information highlighted under special headings Conditions that could harm you Conditions that could damage the printer or related equipment Information vital to proper operation of the printer NOTE Information affecting printer operation Related Product Information Refer to the following book for printer operation e User s Manual Provides configuration instructions descriptions and troubleshooting guidelines Also describes the keys on the control panel and provides quick reference information on daily printer operations such as loading paper and replacing ribbons Software Features The KS emulation software provides the following features e Graphics and print quality You can enable graphics mode and specify a density mode dots per inch for either 8 pin or 24 pin images Print Attributes Characters can be bold italic double high double wide etc Page Formatting Commands which allow you to set line spacing page length and vertical tabbing Font Typefaces Also referred to as print modes The six typefaces are LQ Near LQ Normal Hi Speed Super Hi Speed and Ultra Hi Speed Chapter 1 Software Features 2 Configuring with the Control Panel Introduction IMPORTANT PRT CONFIG Circular Pad Configuration directly affects printer operation Do not change the configuration of your printer until you are thoroughly familiar with the procedures in this chapter
57. ottom of 6 LPI Linespace12 Text Position Text Position Top of Line Bottom of Line The option Address Table specifies the address table supported KSC5601 The option UTF8 allows users to input UTF8 data stream The option Horizontal Expnd specifies the character horizontal expansion in dot for both ASCII and DBCS characters in DBCS mode The option Vertical Expnd specifies the character vertical expansion in dot for both ASCII and DBCS characters in DBCS mode Graphics Spd Up This menu is used to increase speed up graphic printing speed by turning on the Enhanced Turbo mode Normal The default The printer prints at the given input graphics resolution Enhanced The printer provides first level speed up which means the speed is faster than Normal mode Turbo The printer provides second level speed up which means the speed is faster than Enhanced mode e Match Typeface The input 180x180 dpi graphics resolution will drop dot to the resolution that matches the typeface selected 23 Chapter 2 24 The Configuration Menu Page Format Form Length Forms length is the number of lines that can be printed on a page You can set forms length in inches or in print lines per page The most accurate method is lines per page Form Width When using paper that is 8 1 2 inches wide selecting an 8 inch print width prevents printing beyond the right margin and damaging the hammer tips and pl
58. pported Default Values and States Your printer stores a set of typical operating states and conditions in the flash memory The first time you power up the printer the factory settings in Table 4 are automatically invoked Table 4 Factory Settings Characteristic Default Setting Select LPI DBCS CPI Host Command Typeface Styling Type High Density Bold Print ltalic Print Slashed Zero DBCS ASCII Style Text Position 6 0 6 0 Enable LQ Myungjo Disable Disable Disable Disable Normal Bottom of Line 27 Chapter 28 3 KS Emulation Table 4 Factory Settings Characteristic Default Setting Encoding Graphics Spd Up Left Margin Right Margin Bottom Margin Perforation Skip Form Length Form Width Reset Cmd CFG Ld Illegal Code Pt Define CR Code Auto LF Define LF Code Printer Select Alt Set 80 9F Emulation Extend Address Table Normal 0 columns 0 columns 0 lines Disable 11 0 inches 279 4 millimeters 66 lines 13 6 inches 345 4 millimeters 163 characters Disable Normal CR CR Enable LF CR LF Disable Control Code Disable Escape Sequences Some KS control codes consisting of more than one character are called escape sequences because the first character in the sequence is the ASCII ESCape character ESC alerts the printer that a special function command not printable characters follows The format for a
59. r Select Code Code CR CR Enable Enable LF CR LF Disable CR CR LF Disable Disable LF LF Enable Alt Set 80 9F Emulation Extend Control Code Disable Printable Enable Figure 4 KS Emulation Menu Define CR Code The Define CR code option controls the action of the printer when it receives a Carriage Return code hex OD from the host computer If this feature is enabled each time the printer receives a Carriage Return it inserts an additional Line Feed code hex 0A into the data stream Do not use this feature if the host computer sends Line Feeds to the printer CR CR Does not insert an extra Line Feed after each Carriage Return CR CR LF Inserts an extra Line Feed after each Carriage Return CR Bold Select This option determines whether CR 0x0D will turn on the bold attribute Enable The text after CR will be printed as bold together with the text before CR e Disable Normal CR function 25 Chapter 2 26 The Configuration Menu Auto LF This option defines the printer actions when print data is received past the forms width setting Enable Performs an automatic carriage return and line feed when data is received past the forms width Disable Discards any data past the forms width Define LF Code The Define LF code option controls the action of the printer when it receives a Line Feed code hex 0A from the host computer If th
60. rgin 5 6 inch 0 columns 1 inch 0 369 Bottom Margin 0 lines 0 451 inch lpi values The defaults are 6 Ipi and 6 cpi Host Command Enable The default Enables all host printing commands Ignore All This function treats all control codes and printing commands as the data Ignore CPI This function ignores the CPI selection commands only Ignore LPI This function ignores the LPI selection commands only e g ESC 2 and ESC 0 e Ignore Unidir All unidirectional commands sent by the host are ignored by the printer Ignore Pg Fmt This function ignores all the page format setting commands sent from the host LinePrinter Plus Menu Font Attributes This submenu allows you to define the following font attributes typeface bold print and italic print You can also specify if the ASCII character will print with the OCRB mode High Density enabled will allow the LQ typeface to print in higher print density It will not take effect when other typefaces are selected Text position specifies where the text will be positioned in the line space When set to Top of Line text will be positioned at the top of the line space When set to Bottom of Line the text will be positioned as if it were at the bottom of a 6 Ipi line space The following example shows both Top of Line and Bottom of Line text positions Dot Row Top of Linespace 1 2 ANOaARW Bottom of 8 LPI Linespace 9 10 11 B
61. s in DBCS mode This command affects the DBCS ASCII Style front panel setting NOTE This is not the KS Emulation command This is an additional command for the H series printer only Underline ASCII Code ESC n Hex Code 1B2Dn Dec Code 2745n Purpose Turns automatic underlining on and off Where n NUL hex 00 or 0 hex 30 to turn off underlining n SOH hex 01 or 1 hex 31 to turn on underlining Comment Spaces are underlined but graphics and grey scale characters are not The underline is not printed across the distance that the horizontal print position is moved with the ESC t or HT commands Example The following program illustrates underlining Control code ESC 1 enables automatic underlining Control code ESC 0 disables automatic underlining 62 Unidirectional Mode Unidirectional Mode ASCII Code ESC U n HexCode 1B55n DecCode 2785n Purpose Turns unidirectional printing on and off Where n NUL hex 00 or 0 hex 30 bidirectional printing n SOH hex 01 or 1 hex 31 unidirectional printing Comment Unidirectional printing provides better alignment of vertical lines Bidirectional printing is faster but has lower print quality Vertical Tab ASCII Code VT Hex Code 0B Dec Code 11 Purpose Moves the vertical print position to the next vertical tab set below the current print position and moves the horizontal print position to the left margin position The printer advances to the top
62. script printing ESC T cancels superscript or subscript printing set by ESC S n Where n NUL hex 00 or 0 hex 30 to enable superscript printing n SOH hex 01 or 1 hex 31 to enable subscript printing Superscript prints quarter sized characters with a baseline higher than the normal characters Subscript prints quarter sized characters with a baseline lower than the normal characters ASCII characters become half height when the command is active When the control code is received all characters are superscript or subscript until reset by ESC T or printer reset The characters printed in Superscript or Subscript mode change to 15 CPI for both ASCII and DBCS characters Table Character Masking You can print both superscript and subscript characters in the same character column by using the Backspace BS control code but these characters will not print when double high printing is in effect This command does not affect graphics characters The command is ignored in condensed mode and One and a Half Times mode Conversely Condensed and One and a Half Times mode commands are ignored when Superscript or Subscript is on The underline strikes through the descenders on subscript characters during Underline mode Table Character Masking ASCII Code ESC w n HexCode 1B77n DecCode 27119n Purpose Masks the bitmap of table characters over n pins and only prints from 1 to n pins Where n 0 through 24 hex 30 through h
63. t in overlapping lines Overlapping lines can also occur if print attributes such as double high superscript or subscript characters are used on the same line If One and a Half Times mode ESC s is on any value of n specified between 1 and 24 advances the paper 24 180 inch Any value of n specified between 25 and 255 advances the paper n 180 inch Example The following example illustrates n 180 inch line spacing Control code ESC J 132 performs a 132 180 inch line feed function for one line only Line Spacing 1 6 Inch 6 Ipi ASCII Code ESC 2 Hex Code 1B 32 Dec Code 2750 Purpose If this command is following an ESC A n command line spacing is set at n 60 inch Otherwise line spacing is set at 1 6 inch 6 Ipi for subsequent line feeds Comment The 2 is ASCII character 2 not hex 2 This control code overrides line spacing set at the control panel Example The following example illustrates 1 6 inch line spacing Control code ESC 2 sets line spacing at 6 lpi for all subsequent lines until reset or another spacing is selected 52 Line Spacing 1 8 Inch 8 Ipi Line Spacing 1 8 Inch 8 Ipi ASCII Code ESC 0 Hex Code 1B 30 Dec Code 2748 Purpose Sets the line spacing to 1 8 inch 8 Ipi for subsequent line feeds Comment The 0 is ASCII character 0 not hex 0 When ESC O is received all lines are printed at 8 Ipi until a new line spacing is selected or the printer is reset This control code overrides
64. usa aaa agua ass 9 Warnings and Special Information en 9 Related Product Information a 9 Software Features Ne 9 Configuring with the Control Panel 11 INtroductiOn sd rn 11 Printing the Configuration 12 The Configuration Menu pp 15 Moving within the Configuration Menu 16 Saving Your New Configuration ppp 18 LinePrinter Plus MenNU aa i a A 21 Ks Emelallor a aa 25 LinePrinter Plus KS Emulation 27 KS Eriullaligu i dn stss 27 Exceptions and Differences 1 u 27 Default Values and StateSs corr ccnann cnn 27 Escape SequenceS a 28 Super Set COMMANdS pp 29 Set And Reset Codes nn 29 Configuring the KS Emulation with Control Codes 29 Format for Control Code Descriptions 29 Control Code Index ssssssssseeseenneeenenenen enne 30 Absolute Horizontal Print Position eeren 32 Auto Wrap Mode pp 32 Backs pace rca ins 33 Barcode Printinig de em end 33 Bell acct a aR Sas a amia ata ut at 37 Bit Image Select nennen 37 Bold Print saeia ees Ne Vea 38 Cancel ItalicF Ont rn dep n Oei 38 SCIANT 38 Carriage Return pp 39 Condensed Print Set Reset 39 Table Of Contents Double Height Upper Lower Part of Char
65. y Power Up All 1 2 3 4 5 6 7 8 b Name Reset Cfg Configs Names It is recommended you print a configuration to determine what is already stored and what needs to be modified You can print any or all of the configurations shown above Configurations 1 8 are the customized configurations To print a configuration follow the procedure in Table 1 Table 1 Printing Configurations Step Key Result Notes 1 Make sure the printer is on 2 ON LINE CLEAR OFFLINE C QUICK SETUP 3 ENTER SWITCH oe you to make configuration UNLOCKED cnanges OFFLINE cv QUICK SETUP OFFLINE CONFIG CONTROL P CONFIG CONTROL Load Config 6 CONFIG CONTROL Print Config UNTIL Print Config Current Short Press until the desired option 8 lt Q Print Config All displays 9 ENTER OFFLINE The configuration listing begins C o CONFIG CONTROL printing 10 Carefully tear off the configuration printout Chapter 2 Printing the Configuration Table 1 Printing Configurations continued Step Key Result Notes 11 ENTER SWITCH Locks the ENTER key LOCKED T 12 ON LINE CLEAR ONLINE 13 Store the printout in a safe place The printer is ready for operation NOTE Another way to print the current configuration is to go OFFLINE press the PRT CONFIG ke
66. y and then press ENTER The Configuration Menu OFFLINE QUICK CONFIG HOST SETUP CONTROL INTERFACE Host Interface See the See the Graphic Spd Up Typeface DBCS CPI Select LPI DBCS ASCII Style Ribbon End Point Reset Cmd CFG Ld Load Config Save Config Power Up Config User s Manual User s Manual EMULATION PRINTER CONTROL LinePrinter See the Printer Protocol User s Manual KS Define CR Code CR Bold Select Auto LF Define LF Code Printer Select Alt Set 80 9F Emulation Extend CPI LPI Select Host Command Font Attributes Graphics Spd Up Page Format Reset Cmd CFG Ld Error Handling ADVANCED DIAGNOSTICS E USER See the See the User s Manual User s Manual Figure 2 Configuration Menu Overview 15 Chapter 2 The Configuration Menu Moving within the Configuration Menu The example in Table 2 explains how to change the LPI value Table 2 Changing Configurations Step Key Result Notes 1 Make sure the printer is on 2 ON LINE CLEAR OFFLINE C 9 QUICK SETUP 9 ENTER SWITCH ro you to make configuration UNLOCKED changes d OFFLINE lt Y gt CONFIG CONTROL 4 OFFLINE EMULATION UNTIL 5 EMULATION LinePrinter 6 LinePrinter Printer Protocol f LinePrinter CPI LPI Select 8 CPI LPI Se
67. yunjo typeface Home Print Head ASCII Code ESC lt Hex Code 1B 3C Dec Code 2760 Purpose The print head moves to the extreme left position so the next line prints left to right 48 Horizontal Tab Execute Horizontal Tab Execute ASCII Code HT Hex Code Dec Code Purpose Comment 09 09 Moves the simulated print head to the next horizontal tab stop set by the ESC D command The unit setting for this command is based on the present size of the ASCII character Only a condensed print SI or CPI ESC q command will change the character size If double wide or Superscript Subscript mode is active the Absolute Horizontal Print position is kept the same The printer ignores this command if no tab is set to the right of the current position or if the next tab is to the right of the right margin Character scoring underline overscore and strikethrough is not printed between the current print position and the next tab when this command is sent 49 Chapter 50 3 Configuring the KS Emulation with Control Codes Horizontal Tab Set Release ASCII Code Hex Code Dec Code Purpose Comment Example ESC D n1 nk NUL 1B 44 n1 nk 00 27 68 n1 nk 0 Sets up to 28 horizontal tab positions in the current character pitch measured from the left margin position Where n 1 through 255 hex 01 through hex FF k 1 through 28 hex 01 through hex 1C n1 through n28 specify the character co
Download Pdf Manuals
Related Search
Related Contents
パラを入れるバッグ/6825円 préventiondes accidents en mer et la sécuritédes marins pêcheurs UIDE-133 取扱説明書 Samsung 22" FHD-skärm med Touch of Color Bruksanvisning WD TV Media Player DS-9000/DS-9100/DS-9600 Series DVR USER`S MANUAL Version Here - GPS to GO Copyright © All rights reserved.
Failed to retrieve file