IBMメーカー4400の使用説明書/サービス説明書
ページ先へ移動 of 316
4400 Ther mal Label Printers ASCII Pr ogrammer’ s Reference Man ual Form N umbe r G544 -5733-0 1 Cop yrigh t IBM Corp ., 2000 , 2003.
.
ASCII Pr ogrammer’ s Reference Man ual 4400 Therm al Label Printe rs G544-57 33-01.
NOTE: Before usin g the info rmation an d the pro duct it wor ks with, make sure that you r ead th e general informa tion un der “Not ices” below. Seco nd Edit ion (20 03) This e dition app lies to the I BM 440 0 Therm al Label Printer .
Noti ces Referenc es in this publ ication to IBM produ cts, pro gram s, or services d o not imply tha t IBM intend s to make these av ailable in all co untri es in which IBM operates . Any refer ence to an IBM p roduct, program , or serv ice is n ot intend ed to state o r imply t hat only IBM ’s produ ct, pro gram, o r service m ay be used.
.
Table of Contents 1 Over view ...... .... ..... ..... ....... ..... ..... ..... .... ........ .... ..... 1 7 Introductio n .................. ............. ............. ............. ............. ............. .......... 17 About This Manual .......
Table of Contents Form Feed ............. ............. ............. ............. ................... ............. .... 43 Forms Length Set (Inches ) ........ ................... ............. ............. .......... 43 Forms Length Set (Lines ) .
Table of Contents Select L etter Gothi c (DP) ......... ............. ............. ............. ............. .... 72 Space .................... ............. ............. ............. ............. ............. .......... 73 Underline .. .......
Table of Contents Ext ende d Charac ter Set Ca ncel (Primary Char acter Set Select) . ............ ............. ............. ................. 96 Form Feed ............. ............. ............. ............. ................... ............. ...
Table of Contents Bold Pr int Set .. ............. ............ ............. ............. ............. ............... 123 Bold Pr int Can cel ......... ............ ............. ............. ............. ............. .. 12 3 Bottom Ma rgin, Se t .
Table of Contents Top-of-Form .... ............. ............. ............ .................... ............. ........ 14 5 Underline ......... ............. ................... ............. ............. ............. ........ 146 Unidirection al Prin ting .
Table of Contents Form Feed ....... ............. ............ ............. .................... ............. ........ 171 Graphics, S tandard Density ..... ............. ............. ............. ............. .. 17 1 Graphics , Double D ensity .
Table of Contents Set Forms Le ngth in I nches ...... ............ ............. ............. ............... 19 0 Set Relati ve Hori zontal P rint Posit ion in n/120 Inch .. ............. ........ 19 1 Set Ver tical Tabs in Channe ls ... ...........
Table of Contents Maxicode .. ............. ............. ................... ............. ............. ............. .. 23 9 MSI ........... ............. ............. ................... ............. ............. ............. .. 24 1 PDF 417 .
Table of Contents B PTR_S ETUP O ption .... ..... ....... ..... .... ........ .... ..... . 283 Overview ................ ............. ............. ............ ............. .................... ........ 28 3 The PTR_SETU P Comma nds .. ............
17 1 Overv ie w Intr oduction The IBM* ASCII Emu lation is a softwar e applic ation on two diskette s capabl e of emulati ng fiv e diff erent imp act prin ter pro tocols : • Printroni x** P- Series .
18 Chapter 1 Introduction Not es And Notices For your safe ty and to prot ect valuab le equi pment, it is ver y impor tant that you read and comply with all i nformati on highli ghted u nder note s an.
Not es And No tic es 19 A TTENTION The word Attention indica tes the possibility of dama ge to a program, device, s ystem, o r data. IMPORT ANT The word Important indicate s information vital to proper operation of the pri nter. NOTE: A note give s you hel pful info rmation a nd tips a bout pr inter op eration and maint enance .
20 Chapter 1 Introduction Softw are Features The ASCII Emulati on software prov ides the followi ng features: • Printer P rotocol s: Printroni x P-Ser ies Printroni x P-Ser ies XQ Printroni x Serial.
Printer Configura tion 21 • Print A ttributes : Empha size d/Bold pr int Scalabl e font s izes Supers cript/subs cript print Autom atic unde rlin e and over score Carriage return e diting Vari able .
22 Chapter 1 Introduction.
23 2 P-Series Printer Pr otocol Intr oduction This cha pter descr ibes the P-S eries e mulation h ost control c odes. “Emula tion” refers t o the a bilit y of a pr inter t o exe cute th e command s of a particu lar printe r contr ol langu age. A printe r control langua ge is the cod ing system used to c onvey, m anipulate , and pri nt data.
24 Chapter 2 Introduction P-S eri es De fau lt V alues a nd St at es The factory se ttings for th e P-Series emu lation men u optio ns (for an 8” printer) are sho wn in Tab le 1. Tab le 1 al so lists additiona l facto ry setting s for paramete rs provided by the AS CII Emula tion formatti ng menus.
P-Serie s Default Values a nd States 25 * Advanced User mus t be ena bled under the Printe r Control Menu i n order for the Adva nced Us er par ameter s to be v isib le and changeabl e.
26 Chapter 2 Configuring the P- Series Emulation with Control Code s Configuring the P-Series Em ulation wi th Contr ol Codes The remai nder of thi s chapte r describes t he P-Se ries printe r contr o.
Command Line 27 Command Li n e Print for mat, prin t mode, or inte rnationa l language s electio n can be c ontroll ed by a longer sequen ce known as a Comm and Line. Com mand Lines are str ing type com mands pl aced betwe en com plete lin es of t ext and aff ect the text which follo ws.
28 Chapter 2 Configuring the P- Series Emulation with Control Code s Contr ol Code Referenc e Index This inde x lists each prin ter command by fun ction , ASCII mne monic, an d the page where the comm and is explai ned in detail . The rest of this chapter define s the con trol cod e func tions f or P-Ser ies Em ulatio n mode.
Control Code Reference Index 29 FUNCTION ASCII CODE P AG E Print Attrib utes (continued) Supers cri pt/Subsc rip t Pr inting SFCC S n 55 Supers cri pt/Subsc rip t Pr inting Reset SFCC T 5 5 Unde rline.
30 Chapter 2 Configuring the P- Series Emulation with Control Code s Backspace ASCII Code BS Hex Code 08 Dec Code 8 Purp os e Moves the logi cal print head to the left one ch aracter spac e toward the first chara cter column.
Bold Print 31 Bold Pri nt ASCII Code SF CC G SFCC j Hex Code SFCC 47 SFCC 6A Dec Code SFCC 71 SFCC 106 Purp os e Sel ects bol d chara cter pr inting . Comment When the b old c haracter p rintin g contr ol code i s rece ived , all charac ters are p rinte d in bo ld until reset b y the bol d print rese t control code or printer r eset.
32 Chapter 2 Configuring the P- Series Emulation with Control Code s Carri ag e Ret urn ASCII Code CR Hex Code 0D Dec Code 13 Purp os e Returns the log ical print head to the first charac ter colum n (resets the poi nter to the first characte r position) .
Character Set Select 33 Char acter Set Sele ct ASCII Code SF CC l xyz (lowerc ase L) Hex Code SFCC 6C xyz Dec Code SFCC 108 xyz Purp os e Selects the c haracter s et, ex tended ch arac ter set, a nd the internat ional language f or a spe cific c haracte r set.
34 Chapter 2 Configuring the P- Series Emulation with Control Code s Comment An asterisk charac ter (*) (hex 2 A) may be sub stituted f or the numeric v alues of x , y ,o r z . If th e aste risk (*) i s the v alue sele cte d for x , the char acter set do es not chan ge.
Characters 8 0- 9 F (Contr ol Codes) 35 Char acter s 8 0- 9 F (Contr ol C odes) ASCII Code SF CC 7 Hex Code SFCC 37 Dec Code SFCC 55 Purp os e Selects t he charac ter set wherei n hex codes 80 throug h 9F are control cod es. Canc els Chara cter Set Se lect act ivated by SF CC 6.
36 Chapter 2 Configuring the P- Series Emulation with Control Code s Char acter Set Se lect: ECMA - 9 4L a t i n1E x t e n d e d ASCII Code SFCC OSET ; n Purp os e Selects the Exte nded Ch aract er Set an d the pri nt mode and pitch at which the ext ended cha racte r prints.
Character Set Select: I nternational Languages 37 Charact er Set Select: Int ernational Langua ges ASCII Code SF CC PSET ; n SFCC R n Hex Code SFCC 52 n Dec Code SFCC 82 n Purp os e Specifi es the int.
38 Chapter 2 Configuring the P- Series Emulation with Control Code s Comment The in terna tional char acter set ca n also be sel ected f rom the control panel. T he co ntrol co de set ting over rides the co ntrol panel ch aracter set selecti on. Va lues other than those sele ctabl e from Tabl e 7 ar e ignored .
Elongated (Double High) Print, Set / Reset 39 Elongated (Doub le High) Print, Set / Re set ASCII Code SF CC w n Hex Code SFCC 77 n Dec Code SFCC 119 n Purp os e Turns doubl e-high chara cter print ing on and off. Double-h igh charac ters are s tandard width bu t twice as high.
40 Chapter 2 Configuring the P- Series Emulation with Control Code s Emphasi z ed P ri nt ASCII Code SFC C E Hex Code SFCC 45 Dec Code SFCC 69 Purp os e Selects empha size d chara cter print for mat.
Expanded (Double W ide) Print 41 Expanded (Doub le W ide) Pr int ASCII Code SF CC W n Hex Code SFCC 57 n Dec Code SFCC 87 n Purp os e Sele cts or res ets exp anded ( doubl e wide) p rint.
42 Chapter 2 Configuring the P- Series Emulation with Control Code s Extend ed Characte r Set ASCII Code SO (Shif t Out) SFCC SO SFCC n SFCC 4 Hex Code 0E SFCC 0E SFCC 6E SFCC 34 Dec Code 14 SFCC 14 SFCC 110 SFCC 52 Purp os e Accesse s the extende d characte r set in the range hex A0 through F F usi ng co des hex 2 0 thro ugh 7F.
Form Feed 43 Form Fe ed ASCII Code FF Hex Code 0C Dec Code 12 Purp os e Prints the data in the buffer , advanc es the paper positio n to the next top- of-form and mo ves the c hara cter posit ion to t he f irst charac ter column . Comment The defa ult for ms lengt h is deter mine d by the c onfigu ratio n in nonvo latile m emory .
44 Chapter 2 Configuring the P- Series Emulation with Control Code s Form s Length Set (Lin es) ASCII Code SFCC LINES; n Purp os e Sets the length of a form (paper) i n lines. wher e: n = 1 thro ugh 192 (h ex 01 throu gh C0) to spe cify the n umber of lines per pag e at the current line sp acin g.
Line Feed 45 Line Feed ASCII Code LF Hex Code 0A Dec Code 10 Purp os e Prints the data i n the bu ffer (if any) and adv ance s the ver tical charac ter posi tion one l ine at the curren t line space s etting.
46 Chapter 2 Configuring the P- Series Emulation with Control Code s Line Spacing 1 /6 Inc h ( 6 lpi) ASCII Code SFC C 2 SFCC LP I; n Hex Code SFCC 32 Dec Code SFCC 50 Purp os e Sets li ne spa cing to 6 lpi or a s set by SFCC A. Comment For SFCC LPI; n ,t h ev a l u eo f n c a nb e6o r8o n l y .
Line Spacing 1 /8 Inch ( 8 lpi) 47 Line Spacing 1 /8 Inc h ( 8 lpi) ASCII Code SF CC 0 SFC C LPI; n Hex Code SFCC 30 Dec Code SFCC 48 Purp os e Specifi es continuo us line sp acing at 1 /8-inch in crements ( 8 lpi).
48 Chapter 2 Configuring the P- Series Emulation with Control Code s Line Spacing 7/7 2I n c h ASCII Code SFC C 1 Hex Code SFCC 31 Dec Code SFCC 49 Purp os e Specifi es the line sp acing at 7/72-i nch (10.
Line Spacing n /7 2I n c h 49 Line Spacing n /7 2I n c h ASCII Code SF CC A n Hex Code SFCC 41 n Dec Code SFCC 65 n Purp os e Stores a line s pacin g of n /72-i nch increm ents.
50 Chapter 2 Configuring the P- Series Emulation with Control Code s Line Spacing n / 21 6 Inc h ASCII Code SFC C 3 n Hex Code SFCC 33 n Dec Code SFCC 51 n Purp os e Specifi es the line sp acing at n /216-inch i ncreme nts.
Plo t, Even D ot (P-S erie s High D ensity Graph ics) 51 Plot, Even D ot (P-Series High Den sity Graphics) ASCII Code EO T SFCC d Hex Code 04 SF CC 64 Dec Code 4 SFCC 100 Purp os e Prints dots at the even num bered dot co lumns.
52 Chapter 2 Configuring the P- Series Emulation with Control Code s Print Mode / Pitch Selec tion ASCII Code SFC C X mn SFCC [ n qS F C C P M O D E ; n Hex Code SFCC 58 mn SFCC 5B n 71 Dec Code SFCC 88 mn SFCC 91 n 113 Purp os e Selects th e print m ode (Letter Go thic, Cour ier, or OCR) an d charac ter pitc h in charac ters pe r inch (cpi).
Print Mo de / Pitch Sel ection 53 Ta b l e 8 . Print Mode and Pitch (SFCC PMODE ; n ) n Print Mode and P itch 0 Letter Gothic 1 0 cpi 1 Letter Gothic 1 2 cpi 2 Letter Gothic 1 5 cpi 3 Couri er 10 cpi 4 Letter Gothic 10 cpi 5 OCR-A 10 cpi 6 OCR-B 10 cpi Ta b l e 9 .
54 Chapter 2 Configuring the P- Series Emulation with Control Code s NOTE: When using the Multin ationa l character set in OCR-A or OCR-B prin t mode, a unique c haracte r set is used. Examp le The sam ple pri ntout be low shows a numb er of diff erent print modes an d pitc h select ions.
Super scrip t / Subscript Printing 55 Super script / Sub script Pr intin g ASCII Code SF CC S n Hex Code SFCC 53 n Dec Code SFCC 83 n Purp os e Sele cts supe rscript or subs cript pri nting.
56 Chapter 2 Configuring the P- Series Emulation with Control Code s Super -Set Commands ASCII Code SFC C |} ; Hex Code SFCC 7C 7 D 3B Dec Code SFCC 124 125 59 Purp os e Control c ode sequ ence u sed to introduce the sup er-set comm ands.
VFU Com mands (P- Seri es) 57 VFU Commands (P -Serie s) ASCII Code Se e the P -Serie s EVF U sect ion in C hapter 9 , “Verti cal Pag e Format ting” for c odes. NOTE: If the SFCC be ing us ed is E SC, the PI l ine mu st be set high w hen using t he EVF U.
58 Chapter 2 Configuring the P- Series Emulation with Control Code s.
59 3 P-Ser ies XQ Printer Pr otocol Intr oduction This cha pter descr ibes the P- Series X Q emula tion host contr ol codes. “Emula tion” refers t o the a bilit y of a pr inter t o exe cute th e command s of a particu lar printe r contr ol langu age.
60 Chapter 3 Introduction The emulatio n ' s respo nse to seve ral of the control c odes depen ds on the configur ation . For exam ple, up on re ceipt of th e carr iage retu rn control code , the.
P-Serie s XQ Default Values and Stat es 61 Goth ic T ypef a ce Char 02 STX EVFU S elect Enable Upr . Case Select Disable S l e wR e l a t i v e 1t o1 5l i n e s T ex t P ositi on Bottom of L ine Host Comma nd Enable Reset Cmd CFG Ld Disable F or m Len gth 06.
62 Chapter 3 Configuring the XQ Emulation with Control Codes Configuring the XQ Emulation with Contr ol Codes The remai nder of this c hapter desc ribes the P -Series XQ p rinter con trol langu age codes that ma y be sen t from a host co mput er attac hed to th e printer, i n order to config ure an d invok e numerou s printe r functions .
Edit Mode 63 Edit Mode Any printa ble c haracter i n the da ta stream can r eplace p rintable char acters or spaces already l oaded i n the pri nt buffe r.
64 Chapter 3 Configuring the XQ Emulation with Control Codes Contr ol Code Index The foll owing ind ex li sts the c ontrol c odes by funct ion and lists t he ASC II mnemon ic and pa ge num ber.
Alternate C haract er Set Dese lect (Shi ft In) 65 Altern ate Charac ter Set Deselec t (Shift In) ASCII Code SI Hex Code 0F Dec Code 15 Purp os e This cod e sel ects t he pri mary c haracte r set . Comment The al ternat e charact er set sele ct and des elect co des can be used to mix primary and al ternate charac ters on a single line.
66 Chapter 3 Configuring the XQ Emulation with Control Codes Carri ag e Ret urn ASCII Code CR Hex Code 0D Dec Code 13 Purp os e Positio ns the logical print he ad at th e left mar gin (r esets the memory poi nter to th e first c hara cter posit ion).
Compressed P rint 67 Comp ressed Prin t ASCII Code SO H ETX HT Hex Code 01 03 09 Dec Code 13 9 NOTE: Configure th is fea ture from the control panel. Purp os e Sele cts compre ssed char acter pri nting. Comment Use any of the th ree code s to sele ct 17.
68 Chapter 3 Configuring the XQ Emulation with Control Codes Delete ASCII Code DEL Hex Code 7F Dec Code 127 Purp os e Deleted c haracter r esults in a blan k space at the cor respon ding charac ter positi on. Comment The Delete co de deletes the co rrespondi ng charac ter in the print buffer.
Elongated Characters (Double High Print) 69 Elongated Cha racters (Dou ble High Print) ASCII Code BS SO Hex Code 08 0E Dec Code 81 4 NOTE: Configure th is fea ture from the control panel. Purp os e Sele cts elon gated (dou ble hi gh) cha racter printing for on e line.
70 Chapter 3 Configuring the XQ Emulation with Control Codes Line Feed ASCII Code LF Hex Code 0A Dec Code 10 Purp os e Prints the data i n the bu ffer (if any) and adv ance s the ver tical charac ter posi tion one l ine at the curren t line space s etting.
Plot, E ven Do t (P-S eries XQ High De nsity Graphics) 71 Plot, Even Dot (P-Series XQ High Density G raphics) ASCII Code EO T Hex Code 04 Dec Code 4 Purp os e Selects ev en dot plot mode to print dots in even num bered dot colu mns to produce hi gh densit y plottin g.
72 Chapter 3 Configuring the XQ Emulation with Control Codes Plot, Odd Dot (P-Serie s XQ Normal Density Graphics ASCII Code EN Q Hex Code 05 Dec Code 5 Purp os e Selects odd dot pl ot mod e to pr int dots i n odd n umbered dot colu mns for normal de nsity pl otting .
Space 73 Space ASCII Code SP Hex Code 20 Dec Code 32 Purp os e Produc es a b lank s pace; no charac ter i s printe d. Comment It is not necessary to pad the end of the print li ne with space charac ters. The print er automa tical ly fill s the lin e after the line termin ator is receiv ed.
74 Chapter 3 Configuring the XQ Emulation with Control Codes Ve r t i c a l T a b ASCII Code VT Hex Code 0B Dec Code 11 Purp os e Acts as a line termin ator when the EV FU is loaded, cau sing the paper to advance to a sp ecified p reprogra mmed l ine.
75 4 Serial Matrix Printer Pr otocol Intr oduction This cha pter descr ibes the Se rial Matri x emulat ion host con trol codes . “Emula tion” refers t o the a bilit y of a pr inter t o exe cute th e command s of a particu lar printe r contr ol langu age.
76 Chapter 4 Introduction Serial Matrix Defa ult V alues and State s The factory sett ings for t he Serial Ma trix emulati on menu opti ons are shown in Table 16 . Table 17 l ists add itional fac tory se ttings for param eters prov ided by the ASCII Emulat ion formatti ng menus.
Serial Matr ix Default Values and States 77 Ta b l e 1 7 . ASCII Em ulation Menu Option Factory Settings Characteristi c D efault Set ting Or ientation P or trait CPI 10.
78 Chapter 4 Configuring the Seri al Matrix Emulation with Control Codes Configuring the Serial Matrix Emulation with Control Codes The remai nder of t his chapt er des cribes t he Seria l Matrix prin.
Control Code Index 79 Contr ol Code Index This index li sts each prin ter comm and by funct ion, ASCII mne monic , and the page where the comm and is explai ned in detail . The rest of this chapter define s the con trol cod e functio ns for S erial M atrix E mulation m ode.
80 Chapter 4 Configuring the Seri al Matrix Emulation with Control Codes FUNCTION ASCII CODE P AG E Print Attrib utes (Continued) Ov erscoring ESC _ n 103 Print Mode/ Pitch Sele ction ESC X mn 104 ESC.
Bell 81 Bell ASCII Code BE L Hex Code 07 Dec Code 7 Purp os e Sounds t he p rinter ' s bu zzer/beepe r. Comment The BEL funct ion sounds the buzze r/bee per for 0.
82 Chapter 4 Configuring the Seri al Matrix Emulation with Control Codes Bit Image Mode, Double Density ASCII Code ESC L n1 n2 Hex Code 1B 4C n1 n2 Dec Code 27 76 n1 n2 Purp os e Selects D ouble De nsity Bit Image grap hics. wher e: ( n1 + 256 n2 ) define the number of data bytes to follo w.
Bit Image Mode, Q uadruple Density 83 Bit Image Mode, Q uadrup le Density ASCII Code ES C Z n1 n2 Hex Code 1B 5A n1 n2 Dec Code 27 90 n1 n2 Purp os e Sele cts Qua druple De nsity B it Imag e graphic s. wher e: ( n1 + 256 n2 ) define the number of data bytes to follo w.
84 Chapter 4 Configuring the Seri al Matrix Emulation with Control Codes Bold Pr int Reset ASCII Code ESC H Hex Code 1B 48 Dec Code 27 72 Purp os e Resets bold charac ter printi ng. Comment The bol d print r eset con trol co de only resets th e bold print charac ter attri bute.
Carriage Return 85 Carri ag e Ret urn ASCII Code CR Hex Code 0D Dec Code 13 Purp os e Returns the log ical print head to the first charac ter colum n (resets the poi nter to the first characte r position) . Comment The CR code may or may not ca use pri nting or pap er motion , depending on the DEF INE CR CODE config uration parame ter value.
86 Chapter 4 Configuring the Seri al Matrix Emulation with Control Codes Char acter Pitch 1 2 cpi ASCII Code ESC M ESC : Hex Code 1B 4D 1B 3A Dec Code 27 77 27 58 Purp os e Sets ch aracter pi tch to 12 c pi. Comment Control Co de ESC X can also be use d to selec t a charac ter pitch of 12 cpi .
Character Set Select 87 Ta b l e 1 9 . International Langua ge Select ( y ) y x = 0( h e x3 0 ) x = 1( h e x3 1 ) x = 2( h e x3 2 ) x = 3( h e x3 3 ) IBM PC Multinational ECMA Latin 1 DEC Multinationa.
88 Chapter 4 Configuring the Seri al Matrix Emulation with Control Codes Comment An asterisk charac ter (*) (hex 2 A) may be sub stituted f or the numeric v alues of x , y ,o r z . If th e aste risk (*) i s the v alue sele cte d for x , the char acter set do es not chan ge.
Character s 8 0- 9 F (Printable Symbo ls) 89 Char acter s 8 0- 9 F (Printable Sy mbols) ASCII Code ES C 6 Hex Code 1B 36 Dec Code 27 54 Purp os e Selects t he charac ter set wherei n hex codes 80 throug h 9F are printabl e symbo ls. A lso inc ludes he x cod es 03 thr ough 06 an d 15 in the Seri al Matrix pri nter protoc ol.
90 Chapter 4 Configuring the Seri al Matrix Emulation with Control Codes Charact er Set Select: Int ernational Langua ges ASCII Code ESC R n Hex Code 1B 52 n Dec Code 27 82 n Purp os e Specifi es the .
Condensed Prin t 91 Examp le The following ex ample illustr ates internati onal chara cter sele ction using the IB M PC character set. Condense d Print ASCII Code SI ESC SI Hex Code 0F 1B 0F Dec Code 15 27 15 Purp os e Selects 17 char acters per i nch (cpi) c ondensed print fo rmat.
92 Chapter 4 Configuring the Seri al Matrix Emulation with Control Codes Delete ASCII Code DEL Hex Code 7F Dec Code 127 Purp os e Dele tes the pr evious ly receiv ed charac ter on a line . Comment Characte rs that h ave been t runcated due to li ne leng th restric tions are not af fected by thi s code.
Elongated (Double High) Print, Set / Reset 93 Elongated (Doub le High) Print, Set / Re set ASCII Code ES C w n Hex Code 1B 77 n Dec Code 27 119 n Purp os e Turns doubl e-high chara cter print ing on and off. Double-h igh charac ters are s tandard width bu t twice as high.
94 Chapter 4 Configuring the Seri al Matrix Emulation with Control Codes Emphasi z ed P ri nt Res et ASCII Code ESC F Hex Code 1B 46 Dec Code 27 70 Purp os e Resets em phasi zed cha racter printing . Comment The emph asized pr int res et contro l code on ly resets the emphasi zed pri nt char acter a ttrib ute.
Expanded (Double W ide) Print 95 Expanded (Doub le W ide) Pr int ASCII Code ES C W n Hex Code 1B 57 n Dec Code 27 87 n Purp os e Sele cts or res ets exp anded ( doubl e wide) p rint.
96 Chapter 4 Configuring the Seri al Matrix Emulation with Control Codes Extend ed Characte r Set ASCII Code ESC 4 Hex Code 1B 34 Dec Code 27 52 Purp os e Accesse s the extende d characte r set in the range hex A0 through F F usi ng co des hex 2 0 thro ugh hex 7F .
Form Feed 97 Form Fe ed ASCII Code FF Hex Code 0C Dec Code 12 Purp os e Prints the data in the buffer , advanc es the paper positio n to the next top-of-f orm, and move s the charact er position to the fir st charac ter column . Comment The defa ult for ms lengt h is deter mine d by the c onfigu ratio n in nonvo latile m emory .
98 Chapter 4 Configuring the Seri al Matrix Emulation with Control Codes Form s Length Set (Lin es) ASCII Code ESC C n Hex Code 1B 43 n Dec Code 27 67 n Purp os e Sets the length of a form (paper) i n lines. wher e: n = 1 thro ugh 192 (h ex 01 throu gh C0) to spe cify the n umber of lines per pag e at the current line sp acin g.
Hor i z ontal Tab 99 Vertic al tabs defined with in the top and bottom margi ns are ignored . Horizonta l tabs are offs et by the left ma rgin an d ignored within the r ight marg in. Hori z onta l T ab ASCII Code HT Hex Code 09 Dec Code 9 Purp os e Moves the logi cal printh ead right to the next horiz ontal tab stop.
100 Chapter 4 Configuring the Seri al Matrix Emulation with Control Codes Line Feed ASCII Code LF Hex Code 0A Dec Code 10 Purp os e Prints the data i n the bu ffer (if any) and adv ance s the ver tical charac ter posi tion one l ine at the curren t line space s etting.
Line Spacing 1 /6 Inch 101 Line Spacing 1 /6 Inc h ASCII Code ES C 2 ESC A n Hex Code 1B 32 1B 41 n Dec Code 27 50 27 65 n Purp os e ESC 2 s ets line spacing t o 6 lpi, or as set b y ESC A. Comment The value of n should b e 12 if using ESC A n. ESC 2 as sert s n /72-inc h line sp acin g as set b y ESC A (page 102).
102 Chapter 4 Configuring the Seri al Matrix Emulation with Control Codes Line Spacing 7/7 2I n c h ASCII Code ESC 1 Hex Code 1B 31 Dec Code 27 49 Purp os e Specifi es the line sp acing at 7/72-i nch (10.
Line Spacing n / 21 6 Inch 103 Line Spacing n / 21 6 Inc h ASCII Code ES C 3 n Hex Code 1B 33 n Dec Code 27 51 n Purp os e Specifi es the line sp acing at n /216-inch i ncreme nts.
104 Chapter 4 Configuring the Seri al Matrix Emulation with Control Codes Print Mode / Pitch Selec tion ASCII Code ESC X mn ESC [ n q Hex Code 1B 58 mn 1B 5B n 71 Dec Code 27 88 mn 27 91 n 113 Purp os e Selects th e print m ode (Letter Go thic, Cour ier, or OCR) an d charac ter pitc h in charac ters pe r inch (cpi).
Print Mo de / Pitch Sel ection 105 NOTE: When using the Multin ationa l characte r set in OCR-A or OCR-B print mode, a unique c haracte r set is used. T able 23.
106 Chapter 4 Configuring the Seri al Matrix Emulation with Control Codes Examp le The sam ple pri ntout be low shows a numb er of diff erent print modes an d pitc h select ions.
Printer D esel ect 107 Printer De select ASCII Code DC3 Hex Code 13 Dec Code 19 Purp os e Places pr inter i n the de selec ted s tate. Comment When the c onfig uration p arameter P RINTER SE LECT i s enabled, this control code d isables th e printe r from rec eiving and printin g data fro m the ho st.
108 Chapter 4 Configuring the Seri al Matrix Emulation with Control Codes Skip-Over P erf oration C ancel ASCII Code ESC O (alpha O) Hex Code 1B 4F Dec Code 27 79 Purp os e Resets bo ttom marg in to zero. Super script / Sub script Pr intin g ASCII Code ESC S n Hex Code 1B 53 n Dec Code 27 83 n Purp os e Selects supersc ript or subscri pt printi ng.
Super-Set Commands 109 Super -Set Commands ASCII Code ES C |} ; Hex Code 1B 7C 7D 3B Dec Code 27 124 125 59 Purp os e Control c ode sequ ence u sed to introduce the sup er-set comm ands. Comment Super-se t comm ands affec t the A SCII E mulation a s a whole regard less of t he printe r protoc ol curre ntly act ive.
110 Chapter 4 Configuring the Seri al Matrix Emulation with Control Codes Ve r t i c a l T a b ASCII Code VT Hex Code 0B Dec Code 11 Purp os e Prints the data i n the bu ffer and ad vanc es the pap er to t he next vertic al tab posit ion. Comment Vertic al tab position s are set b y con trol cod e ESC B and execute d by control code VT .
Vertical Tab, S et / Clear 111 Ve r t i c a l T a b , S e t / Clear ASCII Code ES C B n1 n2 n3... nk NUL Hex Code 1B 42 n1 n2 n3...n k 00 Dec Code 27 66 n1 n2 n3 ...nk 0 Purp os e Sets ve rtical tab pos ition s. wher e: n1 through nk spec ify the li ne number fo r the vertic al tab( s), for a max imum of 16 t ab posit ions.
112 Chapter 4 Configuring the Seri al Matrix Emulation with Control Codes.
113 5 IBM Pr o printer III XL Printer Pr otocol Intr oduction This cha pter d escrib es the Pr oprinte r III XL em ulati on host c ontrol c odes. “Emula tion” refers t o the a bilit y of a pr inter t o exe cute th e command s of a particu lar printe r contr ol langu age.
114 Chapter 5 Introduction Pro printer III X L Em ulation Default Settings The fac tory se ttings for the Pro printer III XL em ulation menu op tions ar e shown in Table 25 . Tab le 26 lis ts additi onal f actory settin gs for pa ramete rs provid ed by the A SCII Em ulatio n form atting menu s.
Proprinter III X L Emulation Default Settings 115 Ta b l e 2 6 . ASCII Em ulation Menu Option Factory Settings Characteristi c D efault Set ting Or ientation P or trait CPI 10.
116 Chapter 5 Configuring the Proprinter III X L Emulation with Control Codes Configuring the P r oprinter III X L Em ulation with Control Codes The followi ng informati on is listed for ea ch code func tion (where ap plicab le): ASCII Code The s tandard ASCII name for the c ontrol c ode.
Control Code Index 117 Contr ol Code Index The foll owing ind ex li sts the c ontrol c odes by funct ion and li sts t he ASCII mnemon ic and p age num ber. NOTE: Some con trol co de func tions c an be ac compli shed u sing another control c ode seque nce or via co ntrol pa nel sele ction.
118 Chapter 5 Configuring the Proprinter III X L Emulation with Control Codes FUNCTION ASCII CODE P A GE Print Attrib utes (Continued) Supers cri pt/Subsc r ipt Pr inting ESC S n 144 Supers cri pt/Sub.
Bell 119 Bell ASCII Code BE L Hex Code 07 Dec Code 7 Purp os e Sounds t he p rinter ' s bu zzer/beepe r. Comment The BEL funct ion sounds the buzze r/bee per for 0.
120 Chapter 5 Configuring the Proprinter III X L Emulation with Control Codes Bit Image Mode, Double Density ASCII Code ESC L n1 n2 Hex Code 1B 4C n1 n2 Dec Code 27 76 n1 n2 Purp os e Selects D ouble De nsity Bit Image grap hics. wher e: ( n1 + 256 n2 ) define the number of data bytes to follo w.
Bit Image Mode, Double Density Double Speed 121 Bit Image Mode, Double Dens ity Double Speed ASCII Code ES C Y n1 n2 Hex Code 1B 59 n1 n2 Dec Code 27 89 n1 n2 Purp os e Sele cts Doubl e Dens ity, Do uble Spee d Bit I mage g raphi cs. wher e: ( n1 + 256 n2 ) define the number of data bytes to follo w.
122 Chapter 5 Configuring the Proprinter III X L Emulation with Control Codes Bit Image Mode, Q uadrup le Density ASCII Code ESC Z n1 n2 Hex Code 1B 5A n1 n2 Dec Code 27 90 n1 n2 Purp os e Selects Q uadrupl e Density B it Image grap hics. wher e: ( n1 + 256 n2 ) define the number of data bytes to follo w.
Bold Print Set 123 Bold Pri nt S et ASCII Code ES C G Hex Code 1B 47 Dec Code 27 71 Purp os e Sel ects bol d chara cter pr inting . Comment When the b old c haracter p rintin g contr ol code i s rece ived , all charac ters are p rinte d in bo ld until reset b y the bol d print rese t control code or printer r eset.
124 Chapter 5 Configuring the Proprinter III X L Emulation with Control Codes Bottom Margin, Set ASCII Code ESC N n Hex Code 1B 4E n Dec Code 27 78 n Purp os e Selects the nu mber of l ines (at the curre nt line s pacin g) for the paper s kip at the bottom of th e perf orated pag e.
Carriage Return 125 Carri ag e Ret urn ASCII Code CR Hex Code 0D Dec Code 13 Purp os e Returns the log ical print head to the first charac ter colum n (resets the poi nter to the first characte r position) . Comment The CR code may or may not ca use pri nting or pap er motion , depending on the DEF INE CR CODE config uration parame ter value.
126 Chapter 5 Configuring the Proprinter III X L Emulation with Control Codes Char acter Pitch 1 2 cpi ASCII Code ESC : Hex Code 1B 3A Dec Code 27 58 Purp os e Sets ch aracter pi tch to 12 c pi.
Condensed Prin t 127 Condense d Print ASCII Code SI ESC SI Hex Code 0F 1B 0F Dec Code 15 27 15 Purp os e Sets co ndense d pri nt. where: If the e mulation i s set at 5 cpi, it is chan ged to 8 .55 cpi . If the emul ation is set at 10 c pi, it is c hanged to 17.
128 Chapter 5 Configuring the Proprinter III X L Emulation with Control Codes Deselect P rinter ASCII Code ESC Q 22 Hex Code 1B 51 16 Dec Code 27 81 22 Purp os e Stops the prin ter from processi ng data receiv ed from the host compu ter.
Expanded (Double W ide) Print 129 Expanded (Doub le W ide) Pr int ASCII Code ES C W n Hex Code 1B 57 n Dec Code 27 87 n Purp os e Sele cts or res ets exp anded ( doubl e wide) p rint. wher e: if n = 1, 3, 5. .. (any o dd value) e xpande d print i s selec ted if n = 0, 2, 4.
130 Chapter 5 Configuring the Proprinter III X L Emulation with Control Codes Expanded (Doub le W ide) Print (One Line Only) ASCII Code SO ESC SO Hex Code 0E 1B 0E Dec Code 14 27 14 Purp os e Selects doubl e wide p rint for o ne lin e only . where: If the emul ation is se t at 10 cpi , it is s et to 5 cp i.
Form Feed 131 Form Fe ed ASCII Code FF Hex Code 0C Dec Code 12 Purp os e Prints the data in the buffer , advanc es the paper positio n to the next top-of-f orm, and move s the charact er position to the fir st charac ter column . Comment The defa ult for ms lengt h is deter mine d by the c onfigu ratio n in nonvo latile m emory .
132 Chapter 5 Configuring the Proprinter III X L Emulation with Control Codes Form s Length Set (Lin es) ASCII Code ESC C n Hex Code 1B 43 n Dec Code 27 67 n Purp os e Sets the length of a form (paper) i n lines. wher e: n = 1 through 19 2 (hex 01 throug h hex C0) to sp ecify the nu mber of lines per page at the cur rent li ne spa cing.
Hori z ontal Tab Set / Reset 133 Hori z ontal T ab Set / Reset ASCII Code ES C D n1 n2. .. nk NUL Hex Code 1B 44 n1 n2 ... nk 00 Dec Code 27 68 n1 n2 ... nk 0 Purp os e Sets up t o 28 hor izontal tab po sitions . wher e: n1 through n28 specify t he charact er colum n of the tab position s.
134 Chapter 5 Configuring the Proprinter III X L Emulation with Control Codes Initiali z e P aram eter s ASCII Code ESC [ K n1 NUL n2 n3 n4 n5 Hex Code 1B 5B 4B n1 00 n2 n3 n4 n5 Dec Code 27 91 75 n1 0 n2 n3 n4 n5 Purp os e Sets the print er ' s ini tial c ondition .
Init iali z e Paramet ers 135 n4 and n5 Para meter by tes n4 and n5 allow you to define se veral conf iguratio n paramete rs that w ill over ride c onflicti ng factor y default and me mory-b ased configur ation va lues when the prin ter is reinit ialize d.
136 Chapter 5 Configuring the Proprinter III X L Emulation with Control Codes Line Feed ASCII Code LF Hex Code 0A Dec Code 10 Purp os e Prints the data i n the bu ffer (if any) and adv ance s the ver tical charac ter posi tion one l ine at the curren t line space s etting.
Line Spacing 1 /6 Inch ( 6 lpi) 137 Line Spacing 1 /6 Inc h ( 6 lpi) ASCII Code ES C 2 ESC A n Hex Code 1B 32 Dec Code 27 50 Purp os e ESC 2 sets line spa cing to 6 lpi or as set by ESC A. Comment The value of n should b e 12 if using ESC A n. ESC 2 as sert s n /72-inc h line sp acin g as set b y ESC A (page 134).
138 Chapter 5 Configuring the Proprinter III X L Emulation with Control Codes Line Spacing 1 /8 Inc h ( 8 lpi) ASCII Code ESC 0 ES C A n Hex Code 1B 30 Dec Code 27 48 Purp os e Specifi es continuo us line sp acing at 1 /8-inch in crements ( 8 lpi). Comment The value of n s h o u l db e9 i fu s i n g E S CA n.
Line Spacing n /7 2I n c h 139 Line Spacing n /7 2I n c h ASCII Code ES C A n Hex Code 1B 41 n Dec Code 27 65 n Purp os e Stores a line s pacin g of n /72-i nch increm ents.
140 Chapter 5 Configuring the Proprinter III X L Emulation with Control Codes Line Spacing n / 21 6 Inc h ASCII Code ESC 3 n Hex Code 1B 33 n Dec Code 27 51 n Purp os e Specifi es the line sp acing at n /216-inch i ncreme nts.
Overscoring 141 Over scoring ASCII Code ES C _ n Hex Code 1B 5F n Dec Code 27 95 n Purp os e Enables or di sables aut omatic ov ersco ring of all ch aracter s. wher e: if n = 1, 3, 5. .. (any odd val ue) a utomati c overs corin g is enab led if n = 0, 2, 4.
142 Chapter 5 Configuring the Proprinter III X L Emulation with Control Codes Select At tri butes ASCII Code ESC [ @ n1 NUL NUL NUL n2 n3 Hex Code 1B 5B 40 n1 00 00 00 n2 n3 Dec Code 27 91 64 n1 000 n2 n3 Purp os e Selects double h eight a nd doub le wid th att ributes a s well as either sin gle or d ouble h eight lin e spaci ng.
Select Font (Print M ode) 143 Comment All ot her valu es of n1 , n2 , and n3 are igno red. Examp le Select Font (Print Mod e) ASCII Code ES C I n Hex Code 1B 49 n Dec Code 27 73 n Purp os e Sele cts the pr int m ode. wher e: n can tak e the fo llowing v alues: Comment The curr ent pitch is not aff ected.
144 Chapter 5 Configuring the Proprinter III X L Emulation with Control Codes Select Prop or tional Spacing ASCII Code ESC P n Hex Code 1B 50 n Dec Code 27 80 n Purp os e Enables /disable s propo rtion al spaci ng of c haracte rs. wher e: n = 1, 3, 5.
Super scrip t / Subs cript Print ing Reset 145 Super script / Subscr ipt Printing Re set ASCII Code ES C T Hex Code 1B 54 Dec Code 27 84 Purp os e Resets supe rscript and subs cript pr inting as set by ESC S.
146 Chapter 5 Configuring the Proprinter III X L Emulation with Control Codes Underline ASCII Code ESC – n Hex Code 1B 2D n Dec Code 27 45 n Purp os e Enables or di sables aut omatic un derli ning of all cha racters. wher e: if n = 00, 02, 04. .. (al l even) auto matic underli ning is disable d if n = 01, 03, 05.
Vertical T ab Set / Clear 147 V er tic al T ab Set / Clea r ASCII Code ES C B n1 n2 n3 .. . nk NUL Hex Code 1B 42 n1 n2 n3 ... nk 00 Dec Code 27 66 n1 n2 n3 ... nk 0 Purp os e Sets ve rtical tab pos ition s. wher e: n1 through nk spec ify the li ne number fo r the vertic al tab( s), for a max imum of 64 t ab posit ions.
148 Chapter 5 Configuring the Proprinter III X L Emulation with Control Codes.
149 6 Epson FX-1050 Printer Pr otocol Intr oduction This chapter d escrib es the Epson FX emulat ion host con trol codes . “Emula tion” refers t o the a bilit y of a pr inter t o exe cute th e command s of a particu lar printe r contr ol langu age.
150 Chapter 6 Introduction Epson F X -10 5 0 Default V a lues and Stat es The fac tory se ttings f or the E pson FX -1050 em ulatio n menu options a re shown in Table 34 . Tab le 35 lis ts additi onal f actory settin gs for pa ramete rs provid ed by the A SCII Em ulatio n form atting menu s.
Epson F X -10 5 0 Default Values and States 151 Ta b l e 3 5 . ASCII Em ulation Menu Option Factory Settings Characteristi c D efault Set ting Or ientation P or trait CPI 10.
152 Chapter 6 Introduction Epson E m ulation Exception s and Diffe rences Beca use of mec hanic al differ ences between your pr inter an d Epso n printe rs (movin g printhe ad seri al mat rix print ers), s ome Eps on featu res ar e approxi mated or not suppo rted.
Epson Ch aracter S ets 153 Epson C har act er Set s Epso n printers use fiv e charac ter set s. The IB M Grap hics Cod e Page 437, IBM PC Mul tilingua l code pa ge 0850, O CR A, and OC R B chara cter sets may be selected fr om the configur ation men us.
154 Chapter 6 Configuring the Epson F X -10 5 0 Emulation with Control Codes Configuring the Epso n F X -10 5 0 Em ulation with Control Codes The remai nder of this c hapter desc ribes the E pson prin.
Set a nd R ese t C ode s 155 Set and Reset Codes Set and r eset are another w ay of say ing turn on and tur n off, sel ect and deselec t, or enable and disa ble. Some pr inter features are set and rese t with a n esc ape se quence an d the numbers 1 or 0.
156 Chapter 6 Configuring the Epson F X -10 5 0 Emulation with Control Codes Print Modes Supp or ted for C haracter Sets Table 3 7 summar izes wh ich pri nt mode s are s upport ed for the Epso n FX- 1050 e mulation c haract er sets. Addit ional inf ormat ion abo ut cha racter se t suppo rt is provided in the “Notes ” colum n of the table.
Control Code Index 157 Contr ol Code Index The foll owing ind ex li sts the c ontrol c odes by funct ion and li sts t he ASCII mnemon ic and p age num ber. NOTE: Som e contro l code fun ction s can also be sel ected at t he opera tor panel. † = Produ ces non- Epson b ehavior in your pri nter.
158 Chapter 6 Configuring the Epson F X -10 5 0 Emulation with Control Codes FUNCTION ASCII CODE P A GE Emphasis † Condensed Pri nt SI (o r ESC S I) 163 Condensed Pr int Res et DC2 164 † Double Hi.
Backspac e 159 FUNCTION ASCII CODE P A GE Graphics Graphics, Standar d Dens ity ESC K n1 n2 171 Graphics, Double Densi ty ESC L n1 n2 172 Graphics, Double Densi ty Doub le Spee d ESC Y n1 n2 173 Graph.
160 Chapter 6 Configuring the Epson F X -10 5 0 Emulation with Control Codes Bell ASCII Code BEL Hex Code 07 Dec Code 7 Purp os e Sounds t he p rinter ' s bu zzer/beepe r. Comment The BE L function sound s the buz zer/bee per fo r 0.2 secon ds upon rec eipt of thi s comma nd.
Character P itch 10 cpi 161 Char acter Pitch 1 0 cpi ASCII Code ES C P Hex Code 1B 50 Dec Code 27 80 Purp os e Sets c haract er pitch to 10 ch aracte rs per inc h (cpi).
162 Chapter 6 Configuring the Epson F X -10 5 0 Emulation with Control Codes Charact er Set Select: Int ernational Langua ges ASCII Code ESC R n Hex Code 1B 52 n Dec Code 27 82 n Purp os e Specifi es a langua ge overlay tha t prints the c haracters s hown in Table 2 0 when th e spec ifie d code is invoke d.
Clear Bit 7 of Incoming Data Bytes to 0 163 Clear Bi t 7 of I nco ming D ata By tes to 0 ASCII Code ES C = Hex Code 1B 3D Dec Code 27 61 Purp os e Sets the most sig nificant bit ( MSB) of all incomi ng data to 0. Comment The MSB is b it num ber 7. T his co mman d only aff ects t ext and control code data .
164 Chapter 6 Configuring the Epson F X -10 5 0 Emulation with Control Codes Condense d Print R eset ASCII Code DC2 Hex Code 12 Dec Code 18 Purp os e Cancels t he conde nsed p rint mod e set b y SI, ESC SI, or the operator pa nel. Comment This ret urns the printer to the f ont that was activ e before conde nsed print occurr ed.
Double High Print, Set / Reset 165 Doub le High P rint, Set / Re set ASCII Code ES C w n Hex Code 1B 77 n Dec Code 27 119 n Purp os e Turns doubl e-high chara cter print ing on and off.
166 Chapter 6 Configuring the Epson F X -10 5 0 Emulation with Control Codes Double Str ike , Ca nce l ASCII Code ESC H Hex Code 1B 48 Dec Code 27 72 Purp os e Turns off the double st rike prin ting set by ESC G or ESC ! . Comment This con trol cod e resets on ly the double s trike p rint attrib ute.
Double W ide Print ( 1 Line) 167 Doub le W ide Print (1 Line) ASCII Code SO ESC SO Hex Code 0E 1B 0E Dec Code 14 27 14 Purp os e Sele cts doubl e wide print for one l ine only .
168 Chapter 6 Configuring the Epson F X -10 5 0 Emulation with Control Codes Emphasi z ed P ri nt ASCII Code ESC E Hex Code 1B 45 Dec Code 27 69 Purp os e Selects empha size d chara cter print for mat. Comment Emph asiz ed print makes t ext bol der. T his comm and is ava ilab le in both LG (Le tter Goth ic) and Courier m odes.
Enable P rinting Hex Codes 0 0-1F an d 8 0- 9 F 169 Enable Pri ntin g Hex Codes 00- 1F and 8 0- 9 F ASCII Code ES C I n (upper case “ i”) Hex Code 1B 49 n Dec Code 27 73 n Purp os e Permits y ou to print hex c odes 00-1F an d 80-9F. wher e: n = 1 allows hex cod es 00 -1F and 80-9F to be prin table and t o be used for user-defi ned char acters.
170 Chapter 6 Configuring the Epson F X -10 5 0 Emulation with Control Codes Ta b l e 3 9 . Epson Printable Codes (Hex 00-1F and 8 0- 9 F) B7 0 0 B6 0 B5 0 0 1 COLUMN 01 BITS ROW B4 B2 B3 B1 0 1 2 3 4.
Form Feed 171 Form Fe ed ASCII Code FF Hex Code 0C Dec Code 12 Purp os e Prints the data in the buffer , if any, then moves the paper to the top of the n ext form.
172 Chapter 6 Configuring the Epson F X -10 5 0 Emulation with Control Codes Graphics, Doub le Density ASCII Code ESC L n1 n2 Hex Code 1B 4C n1 n2 Dec Code 27 76 n1 n2 Purp os e Selects doubl e densit y bit i mage g raphi cs of 12 0 dot s per in ch horizon tally an d 72 do ts per inc h vertic ally.
Graphics, Double D ensity Double Sp eed 173 Graphics, Doub le Density Doub le Speed ASCII Code ES C Y n1 n2 Hex Code 1B 59 n1 n2 Dec Code 27 89 n1 n2 Purp os e Sele cts doubl e dens ity, d ouble speed bit-ima ge gra phics o f 120 dpi horiz ontally and 72 d pi vertic ally.
174 Chapter 6 Configuring the Epson F X -10 5 0 Emulation with Control Codes Gra phi cs , Q uadruple De nsity ASCII Code ESC Z n1 n2 Hex Code 1B 5A n1 n2 Dec Code 27 90 n1 n2 Purp os e Selects Q uadrupl e Density B it Image grap hics of 240 dpi horizo ntally an d 72 dp i verti call y.
Hori z ontal Tab Execu te 175 Hori z ontal T ab Execut e ASCII Code HT Hex Code 09 Dec Code 9 Purp os e Moves the logi cal print head to the next hori zontal tab stop . Comment Power- on default horizon tal tabs are set at every eig hth charac ter at the curr ent ch aracter s pacin g.
176 Chapter 6 Configuring the Epson F X -10 5 0 Emulation with Control Codes Initiali z eP r i n t e r ASCII Code ESC @ Hex Code 1B 40 Dec Code 27 64 Purp os e Resets all print-relate d para meters t o their p ower-up configur ation va lues.
Line Feed 177 Line Feed ASCII Code LF Hex Code 0A Dec Code 10 Purp os e Prints the data i n the bu ffer (if any) and adv ance s the ver tical charac ter posi tion a di stanc e of one li ne at th e curr ent line spacin g. Comment The logi cal print head ke eps th e same dis tance from t he margin .
178 Chapter 6 Configuring the Epson F X -10 5 0 Emulation with Control Codes Line Spacing 1 /6 Inc h ( 6 lpi) ASCII Code ESC 2 Hex Code 1B 32 Dec Code 27 50 Purp os e Sets the l ine spac ing to 1 /6 inch (6 lpi) for s ubsequent l ine feeds . Comment The 2 is A SCII char acter 2 , not hex 2 .
Line Spacing 7/7 2I n c h 179 Line Spacing 7/7 2I n c h ASCII Code ES C 1 Hex Code 1B 31 Dec Code 27 49 Purp os e Sets the line spa cing to 7/72 inc h (10. 3 lpi) f or subs equent line feeds. Comment All lines are printe d at the 7/72- inch lin e spaci ng until a new li ne spacin g is selec ted or the prin ter is reset.
180 Chapter 6 Configuring the Epson F X -10 5 0 Emulation with Control Codes Line Spacing n / 21 6 Inc h ASCII Code ESC 3 n Hex Code 1B 33 n Dec Code 27 51 n Purp os e Specifi es the line sp acing at n /216-inch i ncreme nts.
Make Hex 8 0- 9 FP r i n t a b l e 181 T able 40. Ep son Prin tab le Codes ( Hex 8 0- 9 F) K E Y CHARACTER ESC 33 27 1B OCTAL DECIMAL HE X 10 1 1 B4 B2 B3 B1 B7 B6 B5 0 0 1 BITS 00 0 0 0 1 COLUMN 89 2.
182 Chapter 6 Configuring the Epson F X -10 5 0 Emulation with Control Codes Master P rint Select ASCII Code ESC ! n Hex Code 1B 21 n Dec Code 27 33 n Purp os e Selects or c hanges p rint attrib utes in a single com mand. wher e: n = an 8-bit nu mber with the b its set to spe cify p rint attribut es, as shown in Tabl e 41.
Paper Out Detection, Disable 183 P aper O ut Detection, Disab le ASCII Code ES C 8 Hex Code 1B 38 Dec Code 27 56 Purp os e Enable p rinting t o the en d of the p aper sup ply wh en a pa per out conditi on is se nsed. † Comm ent The printer decod es and ignor es this comm and.
184 Chapter 6 Configuring the Epson F X -10 5 0 Emulation with Control Codes Printer S elect ASCII Code DC1 Hex Code 11 Dec Code 17 Purp os e Places printer i n the s elect ed stat e. Comment The con figurati on par ameter P rinter Select m ust be set to Enable.
Select Graphics Mode 185 Select Graphics Mo de ASCII Code ES C * mn 1n 2 Hex Code 1B 2A mn 1n 2 Dec Code 27 42 mn 1n 2 Purp os e Turns on 8-pin bi t imag e graphi cs mode m. Tabl e 42 char ts the graphic s modes av ailable . Comment The total number of column s = ( n1 + 256 n2 ).
186 Chapter 6 Configuring the Epson F X -10 5 0 Emulation with Control Codes Select Italic Character Set ASCII Code ESC t n Hex Code 1B 74 n Dec Code 27 116 n Purp os e Selects the i talics c hara cters f rom he x 80 th rough hex FF, o r sele cts the grap hics charac ters from hex 80 throu gh hex FF.
Select / Desel ect Pro port ional S pacin g 187 Select / Deselect Pr oportional Spacing ASCII Code ES C p n Hex Code 1B 70 n Dec Code 27 112 n wher e: n is an inte ger n = 0 = Off n = 1 = On Purp os e Turns pr oportio nal mo de on an d off.
188 Chapter 6 Configuring the Epson F X -10 5 0 Emulation with Control Codes Set Absolute Hori z ontal Print P osition in 1 /6 0I n c h ASCII Code ESC $ n1 n2 Hex Code 1B 24 n1 n2 Dec Code 27 36 n1 n2 Purp os e Moves th e logi cal pri nt head to an abs olute h orizont al print positio n, using 1/60 inch incr ements.
Set Margin, Left 189 Set Mar gin, Left ASCII Code ES C l n Hex Code 1B 6C n Dec Code 27 108 n wher e: n = number of colum ns from th e left edge o f the physi cal p age to the beginn ing of the print line; n = 1 throug h 232 (he x 00 th rough hex E8) Purp os e Sets the left marg in to n colum ns in the curr ent fon t.
190 Chapter 6 Configuring the Epson F X -10 5 0 Emulation with Control Codes Set Forms Length b y Li nes ASCII Code ESC C n Hex Code 1B 43 n Dec Code 27 67 n Purp os e Sets the form l ength b y lines . wher e: n = 1 through 19 2 (hex 01 throug h hex C0) to sp ecify the nu mber of lines per for m at the cu rrent li ne sp acing .
Set Rel ative H ori z ontal Print P osition in n / 120 Inch 191 Set Rel at ive Ho ri z ontal P rin t P osi ti on in n / 120 Inch ASCII Code ES C n1 n2 Hex Code 1B 5C n1 n2 Dec Code 27 92 n1 n2 Purp os e Moves the logi cal print head to a relati ve horizon tal print positio n, using 1/120 in ch incr ements.
192 Chapter 6 Configuring the Epson F X -10 5 0 Emulation with Control Codes Skip Over P er foration ASCII Code ESC N n Hex Code 1B 4E n Dec Code 27 78 n Purp os e Selects the nu mber of l ines (at the curre nt line s pacin g) for the paper to skip at the botto m of the page.
Superscript and Su bscript Printing 193 Super script and Subscript P rinting ASCII Code ES C S n Hex Code 1B 53 n Dec Code 27 83 n Purp os e Sele cts supe rscript or subs cript pri nting.
194 Chapter 6 Configuring the Epson F X -10 5 0 Emulation with Control Codes Underline ASCII Code ESC – n Hex Code 1B 2D n Dec Code 27 45 n Purp os e Turns aut omatic underl ining on a nd off.
Vertical Tab, Execute 195 V er tic al T ab, Execu te ASCII Code VT Hex Code 0B Dec Code 11 Purp os e Adva nces the logical print he ad t o the ne xt verti cal t ab positi on sele cted by ESC /. Comment If no ver tical c hannel was selec ted, channe l 0 is us ed.
196 Chapter 6 Configuring the Epson F X -10 5 0 Emulation with Control Codes.
197 7 Super -Set Pr o gr amming Intr oduction This ch apter desc ribes the s uper-s et comma nds. Super -set comm ands affe ct each of the pr otocols included in the ASCII Emulat ion regar dless of t he printer protoco l currently active, except fo r the P-Se ries XQ V ariant e mulation .
198 Chapter 7 The Super-Set Commands Char acter Set Selection ASCII Code SSC C R n Hex Code SSCC 5 2 n Dec Code SSCC 8 2 n Purp os e Selec ts on e of se ve ral c hara cter sets.
Character Set Select ion 199 Ta b l e 4 5 . P-S eries a nd Serial Matrix Ch aracter S ets n Charac ter Set n Charac ter Set n Charac ter Set 000 IBM Code P age 437 110 Ar abic CP 1046 4 02 Greek 3 001.
200 Chapter 7 The Super-Set Commands Ta b l e 4 6 . Proprinter X L Charact er Sets n Charac ter Set n Charac ter Set n Charac ter Set 000 IBM Code Page 437 110 Ar abic 1046 4 02 Greek 3 001 IBM Code P.
Charac ter Sp acing n / 240 Inch 201 Char acter Spac ing n / 240 Inch ASCII Code SS CC I n (uppercas e “i”) Hex Code SSCC 4 9 n Dec Code SSCC 7 3 n Purp os e Specifi es the charac ter spaci ng in n /240-inch i ncremen ts.
202 Chapter 7 The Super-Set Commands Para meter n4 sel ects a 3-digi t symbol set : Para meter n5 sel ects a 4-di git poi nt size (1/4 p oint r esolut ion). The hor izon tal pitch (cpi) is aut omatical ly a djuste d base d on the point size se le cted.
TrueType Font Selection 203 * The st andard fo nts avai lable are Cour ier (#939 50), Le tter Gothic (#937 77), OCR-A (#90 993), OCR-B (#91 409), and CG Times (#925 00). Para meter n2 is a 1-d igit b old fl ag. n2 = 0 (disabl e bold) 1 (enabl e bold ) Para meter n3 selec ts a 1- digit s lant fl ag.
204 Chapter 7 The Super-Set Commands Form Length and W idt h The foll owing co mmand s ets the f orm le ngth: ASCII Code SSC C K L [ i n ][ m n ][ l n ] . Hex Code SSC C 4B 4C [ 69 n ][ 6D n ][ 6C n ] 2E Dec Code SSCC 7 5 76 [ 10 5 n ][ 10 9 n ][ 108 n ] 46 Comment The bracket s indic ate optional par ameters in the co mmand string.
Host Form Si z e 205 Host Form Si z e ASCII Code SS CC H n Hex Code SSCC 4 8 n Dec Code SSCC 7 2 n For more informat ion on settin g the Page Length from the pri nter’s front panel, s ee your User ’ sG u i d e .
206 Chapter 7 The Super-Set Commands PC X Data ASCII Code SSC C ‘ PCX data ESC RA STER END Hex Code SSCC 2 7 PCX data 1B RASTER END Dec Code SSCC 3 9 PCX data 27 RA STEREND Purp os e Prints PC X data.
Page O rientati on Sel ect 207 P a ge Orientation Select ASCII Code SS CC O n (alpha O) Hex Code SSCC 4 F n Dec Code SSCC 7 9 n Purp os e Set (ch ange) page ori entatio n.
208 Chapter 7 The Super-Set Commands Po r t r a i t Portra it refer s to ver tical pa ge orien tation, where t he height of a pag e is greater tha n its width. The top edg e of the image is para llel to th e lead ing edge of the paper. Fig ure 1 is an example of portrait o rientation : Figure 1.
Print Engine Options 209 Print Engine Options The foll owing comma nds enabl e the u ser to s elect prin t engin e optio ns through h ost softwa re comm and. NOTE: Not all op tions may be avai lable with y our printe r. Cons ult th e User's Guide for yo ur prin ter to dete rmine whi ch op tions ar e ava ilable.
210 Chapter 7 The Super-Set Commands Hori z ontal Imag e Shif t ASCII Code SSC C # [ – ] n Hex Code SSCC 2 3 [ 2D ] n Dec Code SSCC 3 5 [ 45 ] n Purp os e Shifts i mage l eft or righ t in 1/1 000 inc hes. T he brack ets aro und the “–” sy mbol indi cate it is optional, d o not us e these br acket s in the command.
Print Engine Options 211 Media Hand ling ASCII Code SS CC M n Hex Code SSCC 4 D n Dec Code SSCC 7 7 n Purp os e Defines h ow the pri nter hand les th e media.
212 Chapter 7 The Super-Set Commands Pa p e r C u t ASCII Code SSC C t n Hex Code SSCC 7 4 n Dec Code SSCC 1 16 n P aper Feed Shift ASCII Code SSC C E [ – ] n Hex Code SSCC 4 5 [ 2D ] n Dec Code SSCC 6 9 [ 45 ] n Purp os e Moves th e paper off th e default f eed shi ft distan ce in 1/100 inch es.
Print Engine Options 213 Plot Attrib utes ASCII Code SS CC V n ; m Hex Code SSCC 5 6 n 3B m Dec Code SSCC 8 6 n 59 m Purp os e Sele cts plot attribut es in ho rizo ntal or vertic al dots per inch (DPI) . wher e: n selects the hor izontal DP I, range 001 through 999 DP I.
214 Chapter 7 The Super-Set Commands Print C ount ASCII Code SSC C o n Hex Code SSCC 6 F n Dec Code SSCC 1 11 n wher e: n = the num ber of ti mes to pr int a page , rang ing from 0001 thro ugh 999 9.
Print Engine Options 215 Slew Speed ASCII Code SS CC N n Hex Code SSCC 4 E n Dec Code SSCC 7 8 n wher e: n = slew sp eed in inch es per second, rang ing from 01 throug h 99.
216 Chapter 7 The Super-Set Commands Print er Protocol S el ect ASCII Code SSC C P n Hex Code SSCC 5 0 n Dec Code SSCC 8 0 n Purp os e Selects ( chang es) print er proto col. Comment When the e mulati on rece ives thi s co mmand, a softwar e reset i s performed as if t he emulati on were p owered-u p in the corre sponding proto col.
Soft ware Pa ge E j ect 217 Bar Codes A bar co de is a graphic re presenta tion of alphanu meric c haracte rs. The ASCII Emulati on bar co des are listed b elow , with d etailed b ar co de info rmation and example s provided on the refer enced pa ges.
218 Chapter 7 Bar Codes Bar Code Fo rmat ASCII Code SSC C c t ; dd a t ad [ ;N n ; xxxx ; yyyy ][ ;X mmmm ][ ;P p ] [ ;C ][ ;H hh ][ ;D ] Hex Code SSCC 6 3 t 3B dd a t ad [ 3B 4E n 3B xxxx 3B yyyy ] [.
Bar Code Format 219 NOTE: For all of the following para meters, the dig its are ASCII values . wher e: d = the barc ode de limiter, wh ich c an be any character wher e: data = variab le length prin table data fiel d NOTE: The following param eters are opti onal: wher e: N = acti vates the offs et wher e: n = the x and y coordi nate unit s yste m.
220 Chapter 7 Bar Codes wher e: P = a ctivates pri ntable dat a field variab le wher e: p = locati on of pr intab le data fie ld wher e: C = calcul ate and plo t check dig it (if ava ilabl e as an option ) The defa ult is no ch eck dig it if th e check digit is allow ed to be option al.
Bar Code Format 221 However, if the value s are other than 0000, the origi nal cursor positio n remains i ntact , despit e the printi ng of the bar code. See Figu re 4, whic h shows xxxx = 10 and yyyy = 5. Figure 4. Bar Code Example 2 To place t he text below t he bar code, yo u mus t insert line feed comm ands.
222 Chapter 7 Bar Codes A ustr al ian 4- Stat e The Austral ian 4-State struc ture is shown in Fig ure 6 and described below. Figure 6 . Australi an 4-State Structure Q uiet Z on e Quiet zone s extend on both end s of the bar code to permit the scan to begin and end in a blank ar ea.
Codabar 223 Codabar The Coda bar str ucture i s shown in F igure 7 and de scribed b elow. Figure 7 . Codab ar Struct ure Q uiet Z on e Both e nds of the bar code structu re requ ire b lank qui et zon es.
224 Chapter 7 Bar Codes Check Digit The opti onal modul o-43 ch eck digi t can be in sert ed into the b ar cod e to ver ify accura te scann ing. Ta b l e 65 .
Code 3 9 225 Code 3 9 The Code 39 structur e is shown in Figure 14 and desc ribed below . Figure 8 . Code 3 9 Structur e Q uiet Z on e Both e nds of the bar code structu re requ ire b lank qui et zon es.
226 Chapter 7 Bar Codes Check Digit The opti onal modul o-43 ch eck digi t can be in sert ed into the b ar cod e to ver ify accura te scann ing. NOTE: Character pairs /M, /N, and /P throug h /Y are reserved for futur e control c haracter p airs. Ta b l e 66 .
Code 9 3 227 Code 9 3 The Code 93 bar code st ructure is show n in Figure 9 and descri bed below . Figure 9 . Code 9 3S t r u c t u r e Q uiet Z on e Both e nds of the bar code structu re requ ire b lank qui et zon es. The q uiet zones mus t be at least 0.
228 Chapter 7 Bar Codes Ta b l e 67 .C o d e 9 3 Ch aracter Set Character Hex Character Hex 00 P 5 0 11 Q 5 1 22 R 5 2 33 S 5 3 44 T 5 4 55 U 5 5 66 V 5 6 77 W 5 7 88 X 5 8 99 Y 5 9 A4 1 Z 5A B4 2 - 2 D C4 3 .
Code 12 8 229 Code 12 8 The Code 128 st ructu re is s hown i n Figur e 10 an d desc ribed b elow. Figure 10. Code 12 8 Struc ture Q uiet Z on e Both e nds of the bar code structu re requ ire b lank qui et zon es.
230 Chapter 7 Bar Codes Readable Data The opti onal rea dable data fie ld prov ides a r eadabl e interp retation of the ba r code data . It can be pr inted abov e or bel ow the b ar co de symbo l. Check Digit The modu lo-10 3 check d igit i s autom atica lly cal culat ed and in sert ed in the bar code sy mbol.
Code 12 8 231 Ta b l e 68 . Code 12 8 A Char acter Se t Character Hex Character Hex C haracter Hex Character Hex SP ! " # $ % & ' ( ) * + , - .
232 Chapter 7 Bar Codes Ta b l e 69 . Code 12 8 B Char acter Se t Character Hex Character Hex Character Hex Character Hex SP ! " # $ % & ' ( ) * + , - .
Code 12 8 233 Ta b l e 7 0. Cod e 12 8 C Cha racter Se t Character Hex Character Hex Character Hex Ch aracter Hex 00 30 30 27 32 37 54 81 FNC 1 STAR T C STO P 35 34 38 31 26 25 21 (N/A) (N/A) 01 02 03.
234 Chapter 7 Bar Codes EAN 8 The EAN 8 bar code struc ture is shown in Fig ure 11 and desc ribed belo w. Figure 11. EAN 8 Structure Q uiet Z on e Both ends of the bar code st ructure ha ve blank quiet zo nes.
EAN 13 235 EAN 13 The EA N 13 bar c ode stru cture i s shown i n Figur e 12 an d descr ibed bel ow. Figure 12. EAN 13 Structure Q uiet Z on e Quiet zon es extend on both en ds of the bar code to pe rmit the code to pe rmit the scan to begin a nd end i n a bl ank area .
236 Chapter 7 Bar Codes Check Digit The modu lo-1 0 check digit is automa tically calcu lated a nd ins erted in the bar code sym bol. The c heck dig it ver ifies accur ate sc annin g. The numb er syste m charac ter is included in the ch eck digit algo rithm .
FIM 237 Start / Stop Code The sta rt/stop c ode is a unique c haracter i dentify ing the l eading and trai ling end of the b ar c ode. The start /stop cod e is a utomati call y produc ed wit h each bar cod e. The s tart/stop code struc ture p ermits bid irec tional ba r code scanni ng.
238 Chapter 7 Bar Codes Interlea ved 2 /5 (I -2 /5 )a n dG e r m a n I - 2 /5 The Interleav ed 2/5 and German I- 2/5 bar code structu re is shown in Figur e 15 and described be low. Figure 1 5 . Interleave d 2 /5 and German I-2 /5 Structure Q uiet Z on e Both ends of the bar code st ructure ha ve blank quiet zo nes.
Maxi code 239 Maxicode The Maxicod e bar code struc ture is shown in Figu re 16 and described bel ow. Figure 1 6 .S a m p l e M A X ICODE Bar Code The Maxi code bar code is a fixe d size mat rix sy mbolog y made up of an o ffset of rows o f hexa gonal ele ments arranged ar ound a unique fi nder patt ern.
240 Chapter 7 Bar Codes UPS Shipping Data Field This syntax be gins with seven en coded dat a characte rs followed by a d ate ( yy ). The f irst fou r char acters ar e the Me ssag e Header a nd the n ext fi ve are the Transportat ion Data Forma t Header.
MSI 241 MSI The MSI bar cod e struct ure is sho wn in Fi gure 1 7 and des cribed below. Figure 1 7 . MSI Stru ctur e Q uiet Z on e Both e nds of the bar code structu re requ ire b lank qui et zon es.
242 Chapter 7 Bar Codes PDF 41 7 The PDF41 7 struc ture is sh own in Fi gure 18 a nd des cribed bel ow. Figure 1 8 .P D F 4 1 7 Structure Q uiet Z on e Both e nds of the bar code structu re requ ire b lank qui et zon es. The q uiet zones mus t be at least 0.
PostBar and Roya l Mail 243 the error and one to correc t for it, a given security l evel can supp ort half the number o f misd ecodes t hat it c an of unde coded words. PDF Print Da ta Field is not of fered due to the l arge amo unt of da ta that c an be encoded.
244 Chapter 7 Bar Codes POSTNET The POST NET bar code str ucture is il lustrate d in Figu re 19 an d descr ibed o n the follow ing pages. The POS TNET code can be a part of the addres s block and appear any where with in a vertical 4-inch ar ea across th e length of the mail p iece.
Telepen 245 with each bar cod e. The start/stop co de structure pe rmits bar code scan ning in a left- to-right d irecti on only . Data Field The bar code data prod uces a single fie ld of 30 bars for a 5-digit field, 50 bars for a 9-digit data fie ld, or 60 bars for an 11-dig it data field.
246 Chapter 7 Bar Codes Data Field The bar c ode sy mbol us es a ser ies of v arying width b ars and s pace s to represent the entire A SCII charac ter set. Each narrow b ar or space is one element; e ach wide b ar or sp ace is th ree elem ents; each character i n the dat a field has a total of sixteen el ements .
UCC / EAN-12 8 247 Ta b l e 7 3. UCC / EAN-12 8 Application Identifiers Application Identifie r (AI) Content Format 00 Serial Shipping Contain er Code n2 + n18 01 Shipping Con tainer Code n2 + n14 02 Item Num. of Goods Withi n Another Unit n2 + n14 10 Batch or Lot Number n2 + an.
248 Chapter 7 Bar Codes 337 (*** ) Kilogra ms P er Squar e Meter n4 + n6 340 (***) Gr oss We ight, P ounds n4 + n6 341 ( ***) Length Or 1 st Dimens ion, Inch es, Logi stics n4 + n6 342 ( ***) Length O.
UCC / EAN-12 8 249 (*) T o indic ate onl y year and month, DD must be filled with “00” (**) Plus one d igit for length ind ication (***) Plus one digi t for dec imal point ind ication Data Va lue Rep resenta tion : a al phabetic ch arac ters n numeric c haracte rs an alpha -nume ric char acters n3 3 numeric ch arac ters, fixed le ngth an.
250 Chapter 7 Bar Codes Data Field UCC/EAN-128 bar code s require a special charact er called “Function 1” (FNC1) to immedi ately fol low the start c ode. ASCII Emula tion au tomati cally supplie s this cha racte r, so it must not be incl uded in the data field by the user.
UPC-A 251 The modul o-10 data fiel d check digi t for both SSCC-18 and S CC-14 is prin ted in th e bar cod e as the sec ond hal f of the l ast num ber pai r using s ubset C . It is display ed in the h uman- readabl e data fi eld as th e twentie th byte for SSCC-1 8 or the s ixteenth b yte for S CC-14.
252 Chapter 7 Bar Codes Readable Data The huma n readab le data field pr ovides a readabl e interp retation o f the ba r code data. It can either b e suppres sed or printed a bove or bel ow the bar code symbol . Check Digit The modu lo-1 0 check digit is automa tically calcu lated a nd ins erted in the bar code sym bol.
UPC-E 253 Readable Data The huma n readab le data field pr ovides a readabl e interp retation of the ba r code data. It can either b e suppres sed or printe d above or bel ow the bar co de symbol . Check Digit The modu lo-1 0 check digit is automa tically calcu lated a nd ins erted in the bar code sym bol.
254 Chapter 7 Bar Codes Ta b l e 75 . Si x-Digit Z ero Expansion If the 6 digit number e nds with: then the MFPS Number is: and the Product Number is: (1) 0 Exampl e: 12456 0 t h ef i r s t2d i g i t .
UPC Shipping 255 UPC Shipping The UPCS HIP bar c ode str ucture is shown in Figure 2 4 and de scrib ed belo w. Figure 24. UPCSHIP Structure Q uiet Z one Both ends of the bar code st ructur e have blank quiet zo nes. The quiet zo nes should b e at le ast 0.
256 Chapter 7 Bar Codes UPS 11 The UPS 11 struc ture is shown in Fig ure 25 and descr ibed belo w. Figure 2 5 . UPS 11 Struct ure Q uiet Z on e Both e nds of the bar code structu re requ ire b lank qui et zon es.
257 8 Gr aphics Intr oduction The ASCII Emu latio n is capable of sta ndard Odd/Ev en Dot Plotti ng for normal and high d ensit y graphic s as well as Bit I mage gra phics wi th singl e density , double de nsity, an d quad densi ty modes .
258 Chapter 8 Bit Image Graphics Bit Image Graphics Bit Image Gra phics mode is s electe d when the emulati on is in Serial Ma trix, Proprinte r XL, or Epso n FX em ulatio n mo de. Bit I mage Gr aphics are cr eated by prin ting a ser ies of v ertical bit image da ta bytes , whic h repre sent the bi nary code bit patt ern.
Plotting a Bit Image Pat tern 259 Figure 2 8 . Vertica l Data Byte Patt ern The byt e in the previo us examp le (or any other by te) can be ide ntified by its binary, oc tal, he xadecim al, or decima l equiva lent an d subs equen tly can b e used to gener ate a Bit Imag e pattern.
260 Chapter 8 Bit Image Graphics Figu re 2 9 . Bit Im age P attern P lan A bit ima ge patter n is eas ily defi ned by det ermi ning the dec imal equ ival ent of the binar y data by te. This decima l val ue may the n be in cluded i n a progr am data state ment tha t generate s the f inal Bit Image p attern.
Bit Image Density 261 Bit Image D ensit y Bit Image Gr aphics m ode may be p rinted in differ ent dot dens ities se lected by the following c ontrol code s: • ESC K se lects t he Sing le Dens ity mode . • ESC L sel ects the Do uble Dens ity mode. • ESC Y s elects t he Doubl e Spee d, Double D ensity mode.
262 Chapter 8 Bit Image Graphics Bit Image Programmi ng For mat The syntax of the Bit Image ex pressi on must include the a ppropriate dot density control code, the exact nu mber of da ta byte s to be plotted, a nd the data th emselve s.
Bit Image Programming Format 263 The numb er of data bytes an d the n1 , n2 definiti on mus t be equ al. If to o few data bytes are se nt, print ing doe s not b egin unti l suff icient da ta is re ceiv ed. Any cha ract ers foll owing n1 and n2 are in terprete d (and pl otted) as da ta until the n1 , n2 defini tion is sati sfied.
264 Chapter 8 P-Series Compatible Plot Mode (Odd / Even Dot Plotting) P-Series Compatible Plot Mode (Od d / Even Dot Plotting) This subs ection d escribes the P-Ser ies comp atible odd /even dot Plot mode o f operatio n.
Plot Data Byte Format 265 High densi ty plot ting is selec ted with th e even dot plot c ontrol c ode EOT (he x 04) in con juncti on wit h the od d dot pl ot contro l code E NQ (hex 05 ). The o dd and even numbered dot co lumns ar e addres sed t o double th e hor izontal density .
266 Chapter 8 P-Series Compatible Plot Mode (Odd / Even Dot Plotting) Figure 33. P-Series Plot Data Byte Format See Appendi x C, “P-Ser ies Plot Byte Defini tion,” for a compl ete definitio n of the valid plot data bytes .
Plot Data Line Format 267 3. Send a li ne termi nator , either a Line Fe ed (LF, hex 0A) or a F orm F eed (FF, hex 0C). A Carriage Ret urn (CR) may also be use d instead o f the LF code, prov ided the Carri age Return has been co nfigured for Carr iage Return = Carriage Return + Line F eed (CR = CR + LF).
268 Chapter 8 P-Series Compatible Plot Mode (Odd / Even Dot Plotting) Plotti ng the Data P-Se ries Pl ot Mode plot s the imag e from the h orizon tal bit pa ttern. F igure 3 4 duplica tes the pattern s hown in F igure 2 9 but i s modifie d for Od d Dot Plot.
To Exit the P-Series Plot Mode 269 T oE x i tt h eP - S e r i e sP l o tM o d e When re turning t o the pr int mo de fro m the P -Series Plot Mode , an ex tra line feed should be inc luded in the data stre am to maintai n proper print line registra tion r elative to the last l ine of p lot gr aphic s.
270 Chapter 8 Combining Graphic s and Text.
271 9 V ertical P a g e F o rmatting Intr oduction The AS CII Emulati on incl udes th e standar d Elect ronic V ertical Forma t Unit (EVFU) for use with the P-Se ries and P -Serie s XQ prot ocols, a nd a Ve rtical Format Unit (V FU) for use with the S erial Matrix , Proprinte r XL, and Epson FX protoco ls.
272 Chapter 9 Gener al P-Series EV FU Programming Infor mation Paper Runaway Protec tion— • When the V FU i s selected but not lo aded: If a VFU com mand i s sent from the hos t comput er, the n the printer moves th e paper a sing le lin e feed o nly.
Start Load Code-Hex 1E or 6 E 273 P-Series EVFU The EV FU may b e sele cted in th e P- Series and P-Se ries XQ protoco ls. The EVFU provi des 14 or 16 channels to ident ify up to 192 lines depen ding on the paper in stru ction . The pr ogrammin g sequ ence is : 1.
274 Chapter 9 P-Series EV FU E n dL o a dC o d e - H e x1 Fo r 6 F The end load code termina tes the mem ory loa d progr am. The e nd load code is hex 1F wh en the PI s ignal li ne is disab led (low) or hex 6F when th e PI line is enabled (h igh). Ch annel co des in exce ss of 192 chann els recei ved prio r to the end load c ode a re disc arded.
Using the EVFU 275 Ta b l e 77 . P-Series EVFU Codes - PI Line Enabled ASCII Data Bits Channel Hex Dec. Code PI 876 5 4321 0 0 0 N U L 1 X X X 00000 1 ( T O F ) 0 1 1 S O H 1 X X X 00001 2 0 2 2 S T X.
276 Chapter 9 P-Series EV FU Clearing the EVFU Memory The foll owing ac tions re set (clear ) the E VFU memo ry: • Sending only the s tar t load c ode. • Sending a star t load code followed immediatel y by an end load code. • A second st ar t loa d code is recei ved, resulting in rein itial ization of the EVFU.
Relative Line Slewing 277 Relative Line Slewing Anothe r method of mov ing paper using th e PI s ignal li ne resul ts in ve rtical slews of a spec ified num ber of lines with in the form relat ive to the current print line (rat her tha n slewin g to a s pecif ic line ).
278 Chapter 9 Se rial Ma trix V FU Seri al Ma trix V FU In the Ser ial M atrix, Pr oprinter X L, and E pson F X protoc ols, the VFU is basica lly a se t of prepr ogramme d verti cal ta bs.
Execu ting Verti cal Tabs 279 Ex ecuting V er tical T abs The verti cal t ab execu te code is VT. W hen se nt, it p rints the contents of the print bu ffer (if data is i n the bu ffer) an d causes pa per po sition m oveme nt to the next p redefine d ver tical tab positio n.
280 Chapter 9 Se rial Ma trix V FU.
281 A Standar d ASCII Char acter Set K E Y ASCII CHARACTER ESC 33 27 1B OCTAL DECIMAL HE X B 7 0 0 00 11 1 1 B6 0 B5 0 0 1 1 0 1 1 0 0 0 1 1 0 1 1 COLUMN 01 2 3 4 56 7 BITS ROW B4 B2 B3 B1 0 1 2 3 4 5.
282 Appendix A.
283 B PTR_SETUP Option Overvie w The PTR _SETU P comman ds ar e a super set o f comm ands whic h allows the printer to perfor m several t asks by parsing comma nds either stored i n flash or sent t o the prin ter by th e host . Comman ds rang e from re -routin g debu g statem ents to downl oading compl ete prin ter configu rations.
284 Appendix B The PTR _ SETUP Commands Commands Each emu latio n ha s modes in which the PTR _SETUP comman ds co uld get missed . For this reason, it is hi ghly recom mended that all P TR_SET UP commands b e placed between pr int jobs, rathe r than attempting to imb ed them withi n jobs.
Commands 285 CONFIG DELETE Cfg Deletes Configu ration number Cfg. Cfg must be in the range of 1-8. UPLOAD Po r t ; C f g This co mmand upload s the c o n f i g u r a t i o ns t o r e di nl o c a t i o n Cfg to the por t specified by Po r t . Po r t must either be 1284 or SERIA L.
286 Appendix B The PTR _ SETUP Commands FILE_IO (DISK_IO ) R UNFILE File;Prop The R UNFILE comm and will open t h ef i l en a m e d File for p r i n ti n g . A f te r the PT R_END comm and is proc essed , the con tent s of File will get prin ted bef ore any mor e data is read from the host.
Commands 287 Summar y of th e CONFI G Com mand The UPLO AD an d DOWN LOAD c ommand can be us ed for uploadin g and downlo ading compl ete prin ter configu rations . If a customer needs to confi gure 50 printer s identical ly, the custom er needs only confi gure one prin ter and UPLOAD t he con figurati ons.
288 Appendix B The PTR _ SETUP Commands configur ation . Rebooting the prin ter ensure s that the desired co nfigur ation is cor rect ly read fr om Non-V olati le RAM . NOTE: While a n upload o r downl oad is i n progr ess, the F ront P anel wi ll be unava ilable.
289 C P-Ser ies Plot Byte Def inition A dot is printed at the loc ation a ddress ed by eac h of bi ts 1 throu gh 6 in the data byte that is set (1 o r True) . Conse quentl y, the b inary e quivale nt of the plot data b ytes mus t be k nown in or der fo r specifi c dot pos ition s to be address ed accu rately.
290 Appendix C Ta b l e 8 1. Plot Da ta Byte D ot Patterns 0100000 Space 0100001 0100010 0100011 0100100 0100101 0100110 0100111 0101000 0101001 0101010 0101011 0101100 0101101 0101110 0101111 0110000.
291 D Glossary A Active co lumn The horizon tal locat ion on the paper where the nex t charac ter prints . After pr inting a character , the p rinter advance s the a ctive c olumn . Active position The position on the p aper wher e the n ext char acter prints.
292 Appendix D C Characte r A graph ical re presenta tion of data. Characte r cell The invisi ble r ectangula r sp ace occ upied by a charac ter, inc luding t he wh ite spac e around t he charac ter.
293 D Decipoi nt One tenth of a point. A unit of measure ment equ al to 1/ 720 inch . See also poi nt. Default A value, pa ramete r, attribute , or opti on assig ned by a progra m or syst em when another is not spec ified by the user. Diag nost ic Per tains to t he detec tion an d isolat ion of pri nter mal func tions o r mist akes.
294 Appendix D Font Director y The header file that contai ns the tables des cribin g allowed the mo de and pitc h combinati ons. The fil e also cont ains t he tab les us ed to s et up th e chara cter se ts and the in ternat ional lan guages wi thin the c haracte r sets .
295 I ipm inch es per m inute: Th e spee d at whi ch grap hics ar e plotted. Interfac e T he hardware compo nents used to link two devi ces by comm on physi cal inte rconnecti on, signa l, and func tional ch aracteri stics.
296 Appendix D NOVRAM Acronym of No nVola tile Ra ndom-Ac cess M emor y. See also nonvo latile me mory. O OCR Optical Charac ter Recogni tion is the pro cess by whic h a machin e rea ds charac ters pr inted in a specia l stand ardized font. Data ar e read b y a ph otoele ctric optical sc anner and re corded o n magnet ic tape or di sk.
297 Print Pitc h Defines the numb er of cha racters that c an be printe d in one inch. It can be trans lated into the width of the charac ter. Printer Co nfiguration The operat ing proper ties that define how the pri nter respond s to signal s and comma nds recei ved from the host com puter.
298 Appendix D S Seri al comm unicatio ns The seq uentia l transm ission of data , in which each element i s trans ferred in s uccessi on. Set To turn on, ac tivate , invok e, or enab le. SFCC Special Fun ction Contro l Charac ter. The first cha racter in a pri nter com mand s equence.
299 W Weig ht See characte r weig ht. Write To s tore data to memo ry or mas s stora ge (har d disk, floppy d iskette, RAM, etc.) ..
300 Appendix D.
301 Index A Alte rnate C haracte r Sets P-Seri es XQ, 65 Applic ation iden tif iers UCC/EAN-128, 247 ASCII Char acter S et, 281 Attribut e Set and R eset Co des Proprinte r XL, 116 P-Ser ies, 27 Seri .
302 Seri al Matri x, 83 Bold Print C ance l Proprinte r XL, 123 Bold Print Res et P-Ser ies, 31 Bold Print S et Proprinte r XL, 123 Bottom Mar gin C ancel Proprinte r XL, 124 Bottom Marg in, Set Propr.
303 CONFIG Command Summa ry, 287 Conf igur ati on printer , 21 Cont rol code d escri ption fo rmat Epso n FX emu lation , 154 P-Series e mulation, 26 P-Seri es XQ, 62 Ser ial Matr ix emul ation, 7 8 C.
304 Empha sized P rint Reset Proprinte r XL, 128 P-Ser ies, 40 Seri al Matri x, 94 Empha size d Print, Cancel Epso n, 168 Emulatio n Re set P-Ser ies, 40 Seri al Matri x, 94 Enable Printi ng Hex 00-1F.
305 Select V ertica l Tab C hanne l (ESC / ), 187 Select 9-P in Graphic s Mode (ESC ^ ), 186 Sel ect/De selec t Prop ortio nal Spaci ng (ESC p), 1 87 Set Abs olute H orizon tal Pri nt Positi on in 1/6.
306 Font Size Super-Se t Comman ds, 20 2 Form Feed Epso n, 171 Proprinte r XL, 131 P-Ser ies, 43 P-Seri es XQ, 69 Seri al Matri x, 97 Form Lengt h and W idth, 2 04 Forms Le ngth Set ( Inches) Proprint.
307 L Landsca pe Pag e Orien tation Super-Se t Comman ds, 20 8 Line Fe ed Epso n, 177 Proprinte r XL, 136 P-Ser ies, 45 P-Seri es XQ, 70 Serial Ma trix, 100 Line Fe ed, n/21 6 Inch Epso n, 177 Line Fe.
308 P Page Eje ct software Super-Se t Comman ds, 21 6 Page Or ienta tion, l andsc ape Super-Se t Comman ds, 20 8 Page Or ienta tion, po rtra it Super-Se t Comman ds, 20 8 Page Or ienta tion, s elec ti.
309 Print S peed Super-Se t Comman ds, 21 4 Printer Co nfigurati on, 21 Prin ter Des elect Epso n, 183 Serial Ma trix, 107 Printer P rotocol , chan ging Super-Se t Comman ds, 21 6 Printer S elect Epso.
310 Set an d Reset Code s Epso n, 155 Set Bit 7 of Inco ming D ata By tes to 1 Epso n, 188 Set Forms Le ngth by Lines Epso n, 190 Set Forms Length in Inc hes Epso n, 190 Set Int erchar acter Sp acing .
311 Serial Ma trix, 109 Slew Spe ed, 215 Software Page Eje ct, 216 Tear Str ip Time, 21 5 TrueType Fonts, 2 03 Vertic al Image S hift, 2 15 Syntax bar cod es, 218 T Tab, Horizon tal Epso n, 175 Propri.
312.
Readers ’ Comments — We ’ d Like to Hear from Y ou IBM 4400 Series Thermal Printer:Legacy Migration Utility Publication No. G544-5796-00 Overall, how satisfied are you with the information in th.
Readers ’ Comments — We ’ d Like to Hear from Y ou G544-5796-00 G544-5796-00 C u to rF o l d Along Line C u to rF o l d Along Line Fold and T ape Please do not staple Fold and T ape.
Preliminar y 1.
Part Numbe r: 10R 0529 176977-00 1A G544-57 33-01 *07G544573301* 10R 0529 *10R0529* *176977-001* ®.
デバイスIBM 4400の購入後に(又は購入する前であっても)重要なポイントは、説明書をよく読むことです。その単純な理由はいくつかあります:
IBM 4400をまだ購入していないなら、この製品の基本情報を理解する良い機会です。まずは上にある説明書の最初のページをご覧ください。そこにはIBM 4400の技術情報の概要が記載されているはずです。デバイスがあなたのニーズを満たすかどうかは、ここで確認しましょう。IBM 4400の取扱説明書の次のページをよく読むことにより、製品の全機能やその取り扱いに関する情報を知ることができます。IBM 4400で得られた情報は、きっとあなたの購入の決断を手助けしてくれることでしょう。
IBM 4400を既にお持ちだが、まだ読んでいない場合は、上記の理由によりそれを行うべきです。そうすることにより機能を適切に使用しているか、又はIBM 4400の不適切な取り扱いによりその寿命を短くする危険を犯していないかどうかを知ることができます。
ですが、ユーザガイドが果たす重要な役割の一つは、IBM 4400に関する問題の解決を支援することです。そこにはほとんどの場合、トラブルシューティング、すなわちIBM 4400デバイスで最もよく起こりうる故障・不良とそれらの対処法についてのアドバイスを見つけることができるはずです。たとえ問題を解決できなかった場合でも、説明書にはカスタマー・サービスセンター又は最寄りのサービスセンターへの問い合わせ先等、次の対処法についての指示があるはずです。