Lexmark 249X manual

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227

Go to page of

A good user manual

The rules should oblige the seller to give the purchaser an operating instrucion of Lexmark 249X, along with an item. The lack of an instruction or false information given to customer shall constitute grounds to apply for a complaint because of nonconformity of goods with the contract. In accordance with the law, a customer can receive an instruction in non-paper form; lately graphic and electronic forms of the manuals, as well as instructional videos have been majorly used. A necessary precondition for this is the unmistakable, legible character of an instruction.

What is an instruction?

The term originates from the Latin word „instructio”, which means organizing. Therefore, in an instruction of Lexmark 249X one could find a process description. An instruction's purpose is to teach, to ease the start-up and an item's use or performance of certain activities. An instruction is a compilation of information about an item/a service, it is a clue.

Unfortunately, only a few customers devote their time to read an instruction of Lexmark 249X. A good user manual introduces us to a number of additional functionalities of the purchased item, and also helps us to avoid the formation of most of the defects.

What should a perfect user manual contain?

First and foremost, an user manual of Lexmark 249X should contain:
- informations concerning technical data of Lexmark 249X
- name of the manufacturer and a year of construction of the Lexmark 249X item
- rules of operation, control and maintenance of the Lexmark 249X item
- safety signs and mark certificates which confirm compatibility with appropriate standards

Why don't we read the manuals?

Usually it results from the lack of time and certainty about functionalities of purchased items. Unfortunately, networking and start-up of Lexmark 249X alone are not enough. An instruction contains a number of clues concerning respective functionalities, safety rules, maintenance methods (what means should be used), eventual defects of Lexmark 249X, and methods of problem resolution. Eventually, when one still can't find the answer to his problems, he will be directed to the Lexmark service. Lately animated manuals and instructional videos are quite popular among customers. These kinds of user manuals are effective; they assure that a customer will familiarize himself with the whole material, and won't skip complicated, technical information of Lexmark 249X.

Why one should read the manuals?

It is mostly in the manuals where we will find the details concerning construction and possibility of the Lexmark 249X item, and its use of respective accessory, as well as information concerning all the functions and facilities.

After a successful purchase of an item one should find a moment and get to know with every part of an instruction. Currently the manuals are carefully prearranged and translated, so they could be fully understood by its users. The manuals will serve as an informational aid.

Table of contents for the manual

  • Page 1

    www.lexmark.com T echnical Ref erence October 2000 Forms Printer 248x/249x[...]

  • Page 2

    Third Edition (October 2000) The following paragraph does not apply to the United Kingdom or any country where such provisions are inconsistent with local law: LEXMARK INTERNA- TIONAL, INC. PROVIDES THIS PUBLICA TION “AS IS” WITHOUT W AR- RANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED W ARRANTIES OF MER[...]

  • Page 3

    iii Section 1 - Introduction . . . . . . . . . . . . . . . . . . . . . . . . 9 Available Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Physical Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Print Sp[...]

  • Page 4

    iv Select Character Set 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 Select Code Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 Print From Code Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [...]

  • Page 5

    v Set Page Length in Inches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 Set Page Length in Lines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 Set Skip Perforation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [...]

  • Page 6

    vi Serial Computer Configuration Recommendations (RS-232C) . . . . . . . . . . . . . . . 103 Section 7 - Downloading Characters and Fonts . . 105 248x Printers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 Designing Draft and NLQ Characters . . . . . . . . . . . . . . . . . .[...]

  • Page 7

    vii Character Set 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 216 Character Set 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 217 Glossary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219 Index . . .[...]

  • Page 8

    viii[...]

  • Page 9

    Section Section 1: Introduction 7 1 Intr oduction Your dot-matrix printer is an easy-to-use desktop printer that provides low- cost, high-quality output from your personal computer. It handles cut forms, document-on-demand, and continuous form applications. Your printer is a wire-matrix printer. The printer makes impressions by forcing a hardened w[...]

  • Page 10

    Section 1: Introduction 8 Available Options Physical Characteristics Options Pa r t Nu m b er 2480 2481 2490 2491 Parallel Cable 1329605 (10 ft.), 1427498 (20 ft.), or equivalent Y es Y es Y es Y es Serial interface • Internal RS-232 • Serial cable 12T0154 1038693 (50 ft), or equivalent Ye s Ye s Ye s Ye s Ye s Ye s Ye s Ye s Auto Sheet Feeder-[...]

  • Page 11

    9 Section 1: Introduction Print Speeds Your printer supports the following burst print speeds in characters per second (cps). Printhead Description Your printer uses dot-matrix impact technology to generate characters. The 248x has a 9-wire printhead. The 249x has a 24-wire printhead. 248x The 248x printhead has nine wires arranged in a single vert[...]

  • Page 12

    Section 1: Introduction 10 Printhead Movement The printhead moves by a direct-current stepper motor. The printhead can print while moving in both directions (bidirectional print). When the printhead is printing in both directions, it automatically finds the shortest path to print the next line. The maximum velocity of the printhead is 1117.6 mm (44[...]

  • Page 13

    11 Section 1: Introduction Alternating Current Line Voltage Power Your printer uses one of the following alternating current (ac) line voltage power values. Note: Input voltage value varies with the country where the printer was pur- chased. • 90-137 V ac, 50/60 Hz • 180-265 V ac, 50/60 Hz Power Cord Printers for the United States and Canada ha[...]

  • Page 14

    Section 1: Introduction 12 Paper Specifications 2480/2490 (Narrow Carriage Models) Pa pe r Dimensions Cut Forms Continuous Forms En velopes Single Multiple part Single Multiple part Width Maximum 297 mm (1 1.7 in.) See Note 297 mm (1 1.7 in.) See Note 254 mm (10 in.) 254 mm (10 in.) 241 mm (9.5 in.) Maximum Hole to Hole N/A See Note N/A 241 mm (9.5[...]

  • Page 15

    13 Section 1: Introduction 2481/2491 (Wide Carriage Models) Pa pe r Dimensions Cut Forms Continuous Forms En velopes Single Multiple part Single Multiple part Width Maximum 420 mm (16.5 in.) 420 mm (16.5 in.) 406 mm (16.0 in.) 406 mm (16.0 in.) 241 mm (9.5 in.) Maximum Hole to Hole N/A N/A 393 mm (15.5 in.) 393 mm (15.5 in.) N/A Minimum 76 mm (3.0 [...]

  • Page 16

    Section 1: Introduction 14 Pa pe r Si z e Narro w carriage (2480/2490) Wide carriage (2481/2491) A utomatic Feed Mode (single-par t f orm) Length 139.7 mm (5.5 in.) minimum 355.6 mm (14.0 in.) maximum 139.7 mm (5.5 in.) minimum 355.6 mm (14.0 in.) (See Note 1) maximum 558.8 mm (22 in.) (See Note 2) W idth 105 mm (4.13 in.) minimum 215.9 mm (8.5 inc[...]

  • Page 17

    15 Section 1: Introduction Ribbon Specifications The life expectancy of the 2300/2400 series standard re-inking ribbon is approximately 4 million characters in 10 characters per inch (cpi) draft mode. For replacement ribbon, order ribbon number 11A3540. Length: 1.8 m (6.0 ft) W idth: 8 mm (0.315 in.) Fabric: Nylon High yield re-inking ribbon is ava[...]

  • Page 18

    Section 1: Introduction 16 To run the printer test, follow these steps: 1 Make sure the paper and ribbon ar e installed. 2 T urn the printer Of f. 3 Press Line Feed while you turn the printer On. 4 After a few seconds, r elease Line Feed . To stop or interrupt the printer test: 1 Press Start/Stop . The test stops after a complete line of characters[...]

  • Page 19

    17 Section 1: Introduction 1050 IF(I$ <> "<")THEN PRINT #2,I$;: GOTO 1090 1060 I$ = INPUT$(1, #1) 1070 IF(I$ = "x")OR (I$ = "X") THEN GOSUB 1130: GOTO 1090 1080 IF(I$ = "<")THEN PRINT#2,I$;: GOTO 1090 ELSE GOTO 1290 1090 WEND 1100 CLOSE #1: CLOSE #2: 1110 SHELL "copy prtrout.bin/b lpt1 >nu[...]

  • Page 20

    Section 1: Introduction 18[...]

  • Page 21

    Section Section 2: Set Initial Conditions (SIC) Command 21 2 Set Initial Conditions (SIC) Command The SIC command sets the printer to the default values that were set at the factory or to user-defined defaults. SIC Command Format Use the following format: Ln is the number of parameters plus 2. Hn is 0. The decimal and hexadecimal digits for the pri[...]

  • Page 22

    Section 2: Set Initial Conditions (SIC) Command 22 init sets the printer to user-defined or factory settings. The value for init can be: Initial V alues Description 0 Initializes printer to user-defined settings. The download font remains unchanged. If parameters ar e specified, they over- write the default settings. If the emulation mode is change[...]

  • Page 23

    23 Section 2: Set Initial Conditions (SIC) Command Use the following parameters (parms) with SIC commands that use the printer ID of C5 and C6: Printer Dec Hex 2480 197 C5 2481 197 C5 2490 198 C6 2491 198 C6 Pa rm Description Selection Dec Hex 1 Emulation 0=No Change 1=PPDS 2=Epson 0 1 2 00 01 02 2 Panel Disable (see Note 1) 0=No Change 1=Panel Dis[...]

  • Page 24

    Section 2: Set Initial Conditions (SIC) Command 24 Notes (cont.): 2 If Parm 3 has no value (macro has not been supplied), the printer default macro is used to store the change. When init=04H or 05H is specified, parm3 is ignored. When init=00H, 01H, FEH, FFh are specified, parm3 value is used as Macr o No. instead of Default Macro setting No. When [...]

  • Page 25

    25 Section 2: Set Initial Conditions (SIC) Command 6 Code Page 0=No Change 1=437 2=850 3=860 4=863 5=865 6=437G 7=813 8=851 9=853T 10=857 11 = 8 6 9 12=920 13=1053 14=861 15=1004 16=858 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 7 Form Length 0=No Change 1=1 to 176 Lines 0 1 00 01 8 Lines Per Inch 0=No Cha[...]

  • Page 26

    Section 2: Set Initial Conditions (SIC) Command 26 14 Auto LF 0=No Change 1=On 2=Off 0 1 2 00 01 02 15 Slash Zer o 0=No Change 1=Slashed Zero 2=Normal Zero 0 1 2 00 01 02 16 Character Set 0=No Change 1=Set 1 2=Set 2 0 1 2 00 01 02 17 Print Direction 0=No Change 1=Unidirectional 2=Bidirectional 0 1 2 00 01 02 18 Sheet Feeder 0=No Change 1=Disable 2=[...]

  • Page 27

    Section Section 3: IBM Emulation Mode Printer Commands 27 3 IBM Em ulation Mode Printer Commands This section provides a detailed description of IBM emulation mode commands you can use with your printer. Control Codes Control codes are one-character printer commands that are used to: • Manage the printing of a job. • Control the movement of the[...]

  • Page 28

    Section 3: IBM Emulation Mode Printer Commands 28 Escape Sequences An escape sequence (two or more characters of information) lets you change the way the printer is currently printing. Like a control code, it gives you control over the printed output. The escape sequence begins with the character ESC (decimal 027, hexadecimal 1B). The printer recog[...]

  • Page 29

    29 Section 3: IBM Emulation Mode Printer Commands that selects a right margin beginning at column 63, the right margin of each printed page begins at column 63. The margin remains constant until a right margin command with a different value resets the margin, or the printer is reset. In this section, command parameters are indicated by a lowercase [...]

  • Page 30

    Section 3: IBM Emulation Mode Printer Commands 30 Example of IBM Emulation Mode Printer Command Select Code Page ( name of command ) ( A short description of the command follows ) This command placed before the first character changes the active code page. ( The printer command format follows with the decimal and hexadecimal values ). Usage Notes T[...]

  • Page 31

    31 Section 3: IBM Emulation Mode Printer Commands Printer Command Quick Reference (IBM Emulation Mode) Function Command Dec Hex For more information see ... Begin/End Continous Underline ESC _ 27 45 n 1B 2D n page 47 Set Line Space to 1/8 inch ESC 0 27 48 1B 30 page 57 Set Line Space to 7/72 inch ESC 1 27 49 1B 31 page 57 Activate Line Spacing for [...]

  • Page 32

    Section 3: IBM Emulation Mode Printer Commands 32 Set Print Direction ESC U 27 85 1B 55 page 45 Continuous Double- Wide Printing ESC W 27 87 1B 57 page 46 Set Horizontal Margins ESC X 27 88 n1,n2 1B 58 n1,n2 page 54 Dual-Density Bit Image Graphics (Normal Speed) ESC Y 27 89 Ln Hn data 1B 59 Ln Hn data page 52 High-Density Bit Image Graphics ESC Z 2[...]

  • Page 33

    33 Section 3: IBM Emulation Mode Printer Commands Selecting a Character Set Select Character Set 1 Character set 1 contains characters and symbols that are used in the English language. See pag e216 for more information. Select Character Set 2 Character set 2 contains characters and symbols that are used in English and non-English languages. See pa[...]

  • Page 34

    Section 3: IBM Emulation Mode Printer Commands 34 the code page number , then divide by 256. • Code page information begins on page 188. Print From Code Page Continuously Print Characters from a Code Page Use this command to print characters from the all Characters Chart of a Code Page (see “Printing a Code Page” on page 204). Ln Hn Ln (low n[...]

  • Page 35

    35 Section 3: IBM Emulation Mode Printer Commands located in the code page tables beginning on page 188. Print One Character Use this command to print a character from the All Characters Chart of a Code Page (see “Code Pages” on page 187). Usage Note Substitute the decimal or hexadecimal digit of the character you want to print for the variable[...]

  • Page 36

    Section 3: IBM Emulation Mode Printer Commands 36 start low/start high When character data is downloaded, the start address is the absolute address of the start of the character data. When the lookup table data is downloaded, the start address is the address of the new entry in the lookup table. data Character data from the character design, or loo[...]

  • Page 37

    37 Section 3: IBM Emulation Mode Printer Commands Table 1. 248x: Select Global Font Pitch Decimal Hf Lf Hex Hf Lf Normal Bold Italic Bold/Ital Normal Bold italic Bold/Ital Courier 5 0 244 0 245 00 F4 00 F5 10 0 11 0 46 0 18 0 57 00 0B 00 2E 00 12 00 39 12 1 235 0 108 0 92 0 1 16 01 EB 00 6C 00 5C 00 74 15 1 236 0 214 0 215 0 216 01 EC 00 D6 00 D7 0[...]

  • Page 38

    Section 3: IBM Emulation Mode Printer Commands 38 Pitch Decimal Hf Lf He x Hf Lf Normal Bold Italic Bold/Ital Normal Bold italic Bold/Ital Gothic 5 0 241 0 242 00 F1 00 F2 10 0 36 00 24 12 1 143 0 1 10 0 109 01 8F 00 6E 00 6D 15 1 142 01 8E 17 1 141 01 8D 20 1 140 01 8C 24 1 32 01 20 PS 0 174 0 157 0 172 0 185 00 AE 00 9D 00 A2 Presentor 10 0 25 00[...]

  • Page 39

    39 Section 3: IBM Emulation Mode Printer Commands Table 3. Global Font and Size Parameters Table 4. Global Font and Code Page Pitch Dec (Hs, Ls) Hex (Hs, Ls) 24 CPI Subscript ( 249X only ) 0 00 - 0 65 00 00 - 00 41 20 CPI Subscript 0 66 - 0 77 00 42 - 00 4D 17 CPI Normal 0 78 - 0 89 00 4E - 00 59 15 CPI Normal 0 90 - 0 107 00 5A - 00 6B 12 CPI Norm[...]

  • Page 40

    Section 3: IBM Emulation Mode Printer Commands 40 Select 12 cpi This command sets the pitch at 12 cpi. Select Print Mode This command selects the normal font or the download font in Draft , NLQ (248x only) or LQ (249x only). Usage Note • This command cancels any print combinations that conflict with ESC I. • The following table shows valid valu[...]

  • Page 41

    41 Section 3: IBM Emulation Mode Printer Commands 248x 249x Dec Hex Print Mode Dec Hex Print Mode 0 00 Draft - Resident 0 00 Normal (Draft) 10 cpi 1 01 Fast DP (12 cpi) - Resident 8 08 Normal (Draft) 12 cpi 20 2 N L Q G o t h i c - Resident 16 10 Normal (Draft) 17 cpi 30 3 N L Q C o u r i e r - Resident 2 02 Normal (LQ) 10 cpi - Courier 4 04 Draft [...]

  • Page 42

    Section 3: IBM Emulation Mode Printer Commands 42 Select Print Type Style This command is used for varying the type style of the character and the number of line spacing. Use this printer command for: • Single-high character • Double-high character • Single-wide character • Double-wide character • Single line feed • Double line feed •[...]

  • Page 43

    43 Section 3: IBM Emulation Mode Printer Commands m1 Selection Dec Hex 0 No Change 1 Start Italic Print (249x only) 2 Stop Italic Print (249x only) 4 Start Outline Print (249x only) 8 Stop Outline Print (249x only) 16 Start Shadow Print (249x only) 32 Stop Shadow Print (249x only) m3 Height Line Space Dec Hex 0 No Change No Change 1 Single No Chang[...]

  • Page 44

    Section 3: IBM Emulation Mode Printer Commands 44 Emphasized (Bold) Print Use this command for bold print. To begin bold print: To end bold print: Double-Strike Print Double-strike print results in a darker print because the printhead strikes the character twice. To begin double-strike print: To end double-strike print: Format ESC E Decimal 27 69 H[...]

  • Page 45

    45 Section 3: IBM Emulation Mode Printer Commands Superscript or Subscript To begin superscript: To end superscript: To begin subscript: To end subscript: Set Print Direction This command sets the printer to print either unidirectionally or bidirectionally. Usage Note The value of n can be any of the following: Format ESC S n Decimal 27 83 0 Hex 1B[...]

  • Page 46

    Section 3: IBM Emulation Mode Printer Commands 46 Continuous Double-wide Printing This command selects or cancels a double-wide printing mode that is not canceled by line feed terminators. Usage Note The value of n can be any of the following: Score Select For 249x printers only. This command selects several forms of overscore, underscore, and stri[...]

  • Page 47

    47 Section 3: IBM Emulation Mode Printer Commands To select type : Usage Note To cancel this command, designate type as Dec 255 or Hex FF. Continuous Underline This command begins and ends continuous underline of spaces and characters. To begin Continuous Underline: To end Continuous Underline: Continuous Overscore This command prints a line above [...]

  • Page 48

    Section 3: IBM Emulation Mode Printer Commands 48 Set Print Quality This command sets the print quality to draft or letter quality. Usage Notes • For 2480 printers, the value of n can be any of the following: • For 2490 printers, the value of n can be any of the following: Format ESC [ d 1 0 n Decimal 27 91 100 1 0 n Hex 1B 5B 64 01 00 n Decima[...]

  • Page 49

    49 Section 3: IBM Emulation Mode Printer Commands Graphics Print Modes Normal Density Bit Image Graphics Use this command to print normal density bit images at 60 dots per inch (dpi) horizontally and 72 dpi vertically. Usage Notes • Ln and Hn identify the number of bytes in data. T o print less than 256 bytes: — Hn is 0. — Ln is the number of[...]

  • Page 50

    Section 3: IBM Emulation Mode Printer Commands 50 Mode and Horizontal Density (249x Only) For 249x printers only. Use this command to select the mode and horizontal density for dot matrix graphics. Usage Notes • Ln and Hn identify the number of bytes in mode and data . T o print less than 256 bytes: — Hn is 0. — Ln is the number of bytes you [...]

  • Page 51

    51 Section 3: IBM Emulation Mode Printer Commands • data is the bit-mapped graphics information. The printhead moves at half the speed of mode 2, giving better r esolution. Dual-Density Bit Image Graphics (Half Speed) Use this command to print normal density bit images at 120 dpi horizontally and 72 dpi vertically. Usage Notes • Ln and Hn ident[...]

  • Page 52

    Section 3: IBM Emulation Mode Printer Commands 52 Dual-Density Bit Image Graphics (Normal Speed) Use this command to print dual-density bit images at 120 dpi horizontally and 72 dpi vertically. Usage Notes • Ln and Hn identify the number of bytes in data. T o print less than 256 bytes: — Hn is 0. — Ln is the number of bytes you want to print.[...]

  • Page 53

    53 Section 3: IBM Emulation Mode Printer Commands Horizontal Movement Set Horizontal Tabulation Stops This command sets up to 28 tabulation stops to be used with the printer command HT, Horizontal Tabulation. Usage Notes n1.....n28 is used to set the tabulator stop positions. • ESC D is terminated by a 0 entry . • The first tabulation stop is a[...]

  • Page 54

    Section 3: IBM Emulation Mode Printer Commands 54 Set Horizontal Margins This command sets the left and right margins. Usage Notes • Use n1 to select the left margin position. • Use n2 to select the right marg in position. • Margins ar e specified in the character positions at the curr ent pitchand ar e stor ed in absolute displacement from t[...]

  • Page 55

    55 Section 3: IBM Emulation Mode Printer Commands Line Control Automatic Line Feed (LF) Executes an automatic line feed when a carriage return is received. To begin automatic line feed (LF) on carriage return (CR): To end automatic line feed (LF) on carriage return (CR): Reverse Line Feed Causes a reverse line feed; the paper is reversed according [...]

  • Page 56

    Section 3: IBM Emulation Mode Printer Commands 56 Set Vertical Units For 249x printers only. This command lets you set the size of the increments for the following commands: • Set Line Spacing for Graphics (ESC 3) • Move Paper V ertically (ESC J). Usage Notes • 4 0 0 0 (decimal), 04 00 00 00 (hex) are constant digits. • m3 and m4 designate [...]

  • Page 57

    57 Section 3: IBM Emulation Mode Printer Commands • ESC R (Set Default T abulation Stops) and ESC B 0 will clear all vertical tab stops. • Set the tabulation stops in ascending order (n1.....n64). • The last digit in the sequence must be a 0 to terminate the command. Line Spacing Set Line Spacing to 1/8 Inch This command (ESC zero) sets the l[...]

  • Page 58

    Section 3: IBM Emulation Mode Printer Commands 58 Set Line Spacing for Text This command sets line spacing in n /72 inch increments. To activate the line spacing, use the printer command Activate Line Spacing for Text (ESC 2). Usage Note The value for n must be between 1 and 85. Set Line Spacing for Graphics This command sets line spacing to n/216 [...]

  • Page 59

    59 Section 3: IBM Emulation Mode Printer Commands Set Top of Form and Page Length Set Top of Form This command sets the first line of printing on each page to the current paper position. Set Page Length in Inches This command sets the page length to a specified number of inches. Usage Notes • The value of n is the number of inches you want to set[...]

  • Page 60

    Section 3: IBM Emulation Mode Printer Commands 60 • When the command is sent, the current vertical position becomes the new top of form. • If the printer command Set Skip Perforation (ESC N) is active, or if "skip over perforation" is On in the printer setup, this printer command deacti- vates it. Set Skip Perforation This command spe[...]

  • Page 61

    61 Section 3: IBM Emulation Mode Printer Commands Printer Control Deselect Printer When this command is sent, the printer ignores all data except DC1 . The following values of n are valid: Setup Barcode Parameter This command sets the barcode parameters to the printer. Usage Note The printer must receive this command prior to the barcode data comma[...]

  • Page 62

    Section 3: IBM Emulation Mode Printer Commands 62 The barcode type is denoted by k . The following values are valid for k : Module width is denoted by m . When m is 1 , th e bar cod e pri nts by 1/360 or 1/240 full dot method. For all other values, the barcode prints by half dot method. The suggested values for m are as follows: The variable s deno[...]

  • Page 63

    63 Section 3: IBM Emulation Mode Printer Commands The variable c denotes the control code. The control is made up of 8 bits (b1 - b8). The 8 bits are defined as follows: b1 Check Digit b2 Human Readable Character (0: print On, 1: print Off) b3 EAN-13, UPC-A flag character position (0: Center, 1: Under) b4 -b8 Not used Setup Barcode Data This comman[...]

  • Page 64

    Section 3: IBM Emulation Mode Printer Commands 64 A utomatic Check Digit Generation Fla g On n1 (low b yte) n2(high b yte) Bar code T ype Dec Hex Dec Hex 12 0C 0 00 EAN-13 70 7 0 0 0 EAN-8 1 to 255 01 to FF 0 00 CODE 39 1 to 255 01 to FF 0 00 INTERLEA VED 2 of 5 1 1 0B 0 00 UPC-A 90 9 0 0 0 POST -NET (barcode) 2 to 255 02 to FF 0 00 CODE 128[...]

  • Page 65

    Section Section 4: Epson Emulation Mode Printer Commands 65 4 Epson Em ulation Mode Printer Commands This section provides tables describing Epson mode commands you can use with your printer. Font Selection Name Dec Hex Description ESC % 27 37 n 1B 25 n Select User-defined Set n =0 Selects the resident set. n =1 Selects the user-defined set. ESC ( [...]

  • Page 66

    Section 4: Epson Emulation Mode Printer Commands 66 ESC R 27 82 n 1B 52 n Select an International Character Set n =0 USA n =1 France n =2 Germany n =3 U.K. n =4 Denmark 1 n =5 Sweden n =6 Italy n =7 Spain 1 n =8 Japan n =9 Norway n =10 Denmark 2 n =1 1 Spain 2 n =12 Latin America n =13 Korea ( 249x only ) n =64 Legal ( 249x only ) Name Dec Hex Desc[...]

  • Page 67

    67 Section 4: Epson Emulation Mode Printer Commands ESC k 27 107 n 1B 6B n 248x: Select Near-Letter- Quality Font Selects the font to be used in NLQ mode. n =0 Courier n =1 Gothic 249x: Select Letter-Quality Font Selects the font to be used in LQ mode. n =0 Prestige n =1 Gothic n =2 Courier n =3 Prestige n =4 Script n =5 Gothic n =6 Gothic n =7 Ora[...]

  • Page 68

    Section 4: Epson Emulation Mode Printer Commands 68 ESC (t 27 40 1 16 3 0 d 1 d 2 d 3 1B 28 74 3 0 d 1 d 2 d 3 Assign Character Tables Parameter range 0 ≤ d 1 ≤ 1, 48 ≤ d 1 ≤ 50 0 ≤ d 2 ≤ 255 d 3 = 0, 16 Function Assigns the d 2 and d 3 registered character table to the d 1 character table according to the following values (the d 1 char[...]

  • Page 69

    69 Section 4: Epson Emulation Mode Printer Commands Text Print Mode Name Dec Hex Description ESC M 27 77 1B 4D Print 12 Characters per Inch ESC P 27 80 1B 50 Print 10 Charaters per Inch ESC SP 27 32 n 1B 20 n Set Variable Character Spacing Sets additional space to the right of each character , which is added to the original space alloted to the cha[...]

  • Page 70

    Section 4: Epson Emulation Mode Printer Commands 70 The following table lists the n parameters for the ESC ! command. ESC a 2 7 97 n 1B 61 n Select Justification n =0 prints the line of characters against the left margin. n =1 centers the line of characters between the left and right margins. n =2 prints the line of characters against the right mar[...]

  • Page 71

    71 Section 4: Epson Emulation Mode Printer Commands Graphics Print Modes Name Dec Hex Description ESC ^ 27 94 m Ln Hn data 1B 5E m Ln Hn data 9-Pin Graphics Mode (248x only) Prints 9-pin bit-image graphics. m =0 Normal density (60 dpi) m =1 Dual density (120 dpi) m =2 High speed dual density (120 dpi) m =3 Quadruple density (240 dpi) ESC ? 27 63 n1[...]

  • Page 72

    Section 4: Epson Emulation Mode Printer Commands 72 248x Graphic Modes that can be specified by parameter n in the ESC * command: 249x Graphic Modes include 0, 1, 2, 3, 4 and 6 from the 248x table above and the following additional values of n in the ESC * command: ESC * 27 42 n Ln Hn data 1B 2A n Ln Hn data Set Graphics Mode Prints bit-image graph[...]

  • Page 73

    73 Section 4: Epson Emulation Mode Printer Commands Horizontal Movement Name Dec Hex Description BS 8 08 Backspace Moves left one space, based on pitch setting. HT 9 09 Horizontal Tab Moves right to the next horizontal tab stop. Tab is set with the ESC D command. ESC D 27 68 0 n1 n2...n32 0 1B 44 0 n1, n2...n32 00 Set Horizontal Tab Stops Sets up t[...]

  • Page 74

    Section 4: Epson Emulation Mode Printer Commands 74 Vertical Movement Line Spacing Name Dec Hex Description LF 10 0A Line Feed Advances the form one line. VT 1 1 0B Vertical Tab Advances the paper to the next vertical tab stop. ESC B 27 66 0 n1 n2...n16 0 1B 42 0 n1, n2...n16 00 Set Vertical Tab Stops Sets up to 16 tab stops. The sequence ends with[...]

  • Page 75

    75 Section 4: Epson Emulation Mode Printer Commands Page Format Printer Control ESC 3 27 51 n 1B 33 n Set Graphics Line Spacing - 248x only Use a line spacing of 24/216 for bit-image graphics using 8 bits. n must be a 1-byte decimal value from 0 to 255. T o move exactly n/216 inch per line, n must be an integer multiple of 3. Set Graphics Line Spac[...]

  • Page 76

    Section 4: Epson Emulation Mode Printer Commands 76 Other Commands BEL 7 07 Beeper Sounds the printer beeper for approximately 1 second. DC1 17 1 1 Select Printer (XON) The host sends this command to signal the printer to begin printing data. DC3 19 13 Null (XOFF) CAN 24 18 Cancel Data Clears data received since the last buffer terminator. NUL 0 00[...]

  • Page 77

    77 Section 4: Epson Emulation Mode Printer Commands ESC & 27 38 0 n1 n2 d1 data 1B 26 0 n1 n2 d1 data Define Download Characers ESC : 27 58 0 n 0 1B 3A 00 n 00 Copy Normal Characters from ROM to RAM ESC < 27 60 1B 3C Select Left-to-Right Printing ESC = 27 61 1B 3D Set MSBs to Zero Sets the MSBs of all data sent to the printer to 0. ESC > [...]

  • Page 78

    Section 4: Epson Emulation Mode Printer Commands 78[...]

  • Page 79

    Section Section 5: OKI Microline Emulation Mode Printer Commands 79 5 OKI Micr oline Em ulation Mode Printer Commands This section provides tables describing OKI Microline mode commands you can use with your printer. Character Set Name Dec Hex Description ESC ! 0 27 33 48 1B 21 30 Select Standard Character Set ESC ! 1 27 33 49 1B 21 31 Select Block[...]

  • Page 80

    Section 5: OKI Microline Emulation Mode Printer Commands 80 ESC [ T 27 91 84 L n H n 0 0 H cp L cp 0 1B 5B 54 L n H n 0 0 H cp L cp 04 Print from Code Page If printing less than 256 characters: L n = # characters to be printed H n = 0 If printing more than 256 characters, divide the total number of characters by 256: L n = whole number of quotient [...]

  • Page 81

    81 Section 5: OKI Microline Emulation Mode Printer Commands Character Size and Spacing Name Dec Hex Description RS 30 1E Print 10 Characters per Inch FS 28 1C Print 12 Charaters per Inch ESC g 27 103 1B 67 Print 15 Charaters per Inch GS 29 1D Print 17.1 Charaters per Inch ESC # 3 27 35 51 1B 23 33 Print 20 Charaters per Inch ESC J 27 74 1B 4A Start[...]

  • Page 82

    Section 5: OKI Microline Emulation Mode Printer Commands 82 Table 1. Variable Values and Factors for Combined Print Features Command Character Style Va l u e V ariable/Feature n1 n2 n3 n4 1 10 cpi Cancel super/ subscripts Utility HSD 2 12 cpi Subscripts NLQ N/A 4 17.1 cpi Superscripts DLL Underlining 8 20 cpi Emphasized (Bold) Italics D ouble Heigh[...]

  • Page 83

    83 Section 5: OKI Microline Emulation Mode Printer Commands Custom Characters Graphics Print Modes Name Dec Hex Description ESC $ 27 36 1B 24 Copy ROM Character Set to RAM Character Set Copies a complete set of the characters resident in the printer to the area of its memory reserved for custom characters. ESC % A 27 37 65 m n1...n1 1 1B 25 41 m n1[...]

  • Page 84

    Section 5: OKI Microline Emulation Mode Printer Commands 84 Table 2. Density To calculate the density (value for n1 ), 1 Locate the dpi and density you want from the above table. 2 Select the corresponding n1 values for each. 3 Add the values selected in step 2. 4 Add 96 to the total. Example: For 60 dpi printing at quadruple density, calculate the[...]

  • Page 85

    85 Section 5: OKI Microline Emulation Mode Printer Commands 5 Add the values selected in steps 2 and 4. 6 Add 64 to the total. Example: For double speed, 8-bit graphics, calculate the value of n2 as follows: n2 =8+16+64=88 Horizontal Movement Name Dec Hex Description BS 8 08 Backspace CR 13 0D Carriage Return . ESC % C 27 37 67 n1 n2 n3 1B 25 43 n1[...]

  • Page 86

    Section 5: OKI Microline Emulation Mode Printer Commands 86 ESC ETX ... CR 27 3 x1 y1 z1 w1...x16 y16 z16 w16 13 1B 03 x1 y1 z1 w1...x16 y16 z16 w16 0D Set Horizontal Tabs by Dot Columns Sets tab stops for up to 16 positions. The character pitch determines the distance repr esented by the tab (distance from the center of one dot to the center of th[...]

  • Page 87

    87 Section 5: OKI Microline Emulation Mode Printer Commands ESC DLE @ 27 16 64 pN a1 a2 p1 p2 p3 p4 1B 10 40 pN a1 a2 p1 p2 p3 p4 Set Multiple Print Positions Moves the print position to the right or left, as an absolute or relative print position. pN =0 to 127 a1 =0 (absolute print position) a1 =1 (relative print position) a2 =0 (move to the left [...]

  • Page 88

    Section 5: OKI Microline Emulation Mode Printer Commands 88 Vertical Movement Name Dec Hex Description ESC G 27 71 H n L n 1B 47 H n L n Set Page Length in Inches Sets the page length in increments of 1/2" x the values of H n L n . The values for H n and L n should be between 00 and 99. For lengths less than 4.5", H n = 0. ESC F 27 70 H n[...]

  • Page 89

    89 Section 5: OKI Microline Emulation Mode Printer Commands Other Commands DC4 SP ...SP n ... SP ...SP n ...? 20 32...32 n ... 32...32 n ... 63 14 20...20 n ... 20...20 n ... 3F Set Vertical Format Unit (VFU) Programs up to 12 sets (channels) of vertical tabs. The maximum tab stops in one set (channel) is 27. This command works in conjunction with [...]

  • Page 90

    Section 5: OKI Microline Emulation Mode Printer Commands 90 ESC V 27 86 1B 56 Eject Page Name Dec Hex Description[...]

  • Page 91

    Section Section 6: Using the Printer Interface 91 6 Using the Printer Interface The printer interface is the physical connection point between the printer and other devices, such as a computer. The 2400 series printer offers a choice of three printer interfaces: parallel, Universal Serial Bus (USB), or serial. Use the parallel interface and paralle[...]

  • Page 92

    Section 6: Using the Printer Interface 92 Computer to Printer Communication The parallel interface transfers data from computer to printer. The data path is 8 bits wide. The printer and the computer synchronize data transfer with the interface signals STROBE*, ACKNLG*, and BUSY. When the computer is ready to send a byte of data to the printer, the [...]

  • Page 93

    93 Section 6: Using the Printer Interface Pin Connections The following illustration shows the pin assignments for connecting the 25-pin connector to the 36-pin connector. STROBE DA T A 0 DA T A 1 DA T A 2 DA T A 3 DA T A 4 DA T A 5 DA T A 6 DA T A 7 AC KN L G * BUSY PE SLCT AU T O F E E D ERROR* INIT* SLCTIN* GR OUND GR OUND GR OUND GR OUND GR OUN[...]

  • Page 94

    Section 6: Using the Printer Interface 94 Parallel Pin Assignments Pin Line Description 1 STROBE* When the printer receives the STROBE* low from the computer , the printer reads the data from the interface and sets the BUSY line high. STROBE* must not occur when the BUSY line is high; otherwise, unpredictable r esults may occur . 2-9 DA T A These s[...]

  • Page 95

    95 Section 6: Using the Printer Interface Timing The following chart shows the timing in microseconds of these signals. 31 INIT* INIT* from the system r esets the printer to its initial power- on-state. The BUSY line goes high, and any received data is printed. When INIT* goes low , the printer resets to the power - on default state. If data is in [...]

  • Page 96

    Section 6: Using the Printer Interface 96 Universal Serial Bus Interface The USB interface, with a signaling bit rate of 12 Mb/s (full speed), is in full compliance with the Universal Serial Bus Specification Revision 1.0. It has a USB Function Controller with two FIFO-based Endpoints: • One bidire ctional Contr ol Endpoint 0 (8 bytes) • One re[...]

  • Page 97

    97 Section 6: Using the Printer Interface Serial Cable Pin Assignments (RS-232C) The following illustration shows the RS-232C serial cable: RS-232C Serial Connector Pin Assignments Pin Signal Description 2 TXD (T ransmit Data) This line transmits data fr om the printer to the host. The data characteristics are specified by the function menu setting[...]

  • Page 98

    Section 6: Using the Printer Interface 98 Serial Interface Cable (RS-232C) The recommended RS-232C serial cable is 50 feet long. This cable works with the IBM PS/2 series and other compatible host systems using a 25-pin male connector. The maximum total capacitance of the cable and the connector should be less than 2500 pF, or it will delay the sig[...]

  • Page 99

    99 Section 6: Using the Printer Interface Using an IBM AT Personal Computer (RS-232C) If you are using an IBM AT or compatible computer, use a 9-pin to 25-pin EIA RS-232C cable. We recommend one of the following for a 9-pin to 25-pin cable: • IBM P/N 6450242 (254 mm or 10 in.) • IBM P/N 6450217 (3 m or 10 ft.) The following illustration shows t[...]

  • Page 100

    Section 6: Using the Printer Interface 100 The voltage reference point is the signal ground on pin 7. A timing or control line is active if the voltage is more than +3 V, or inactive if the voltage is less than -3 V. A data signal more than +3 V means that the bit is a logical 0; less than -3 V means that the bit is a logical 1. For additional info[...]

  • Page 101

    101 Section 6: Using the Printer Interface When No parity is selected, the pritner expects no parity bit when it receives data. The printer transmits data without parity bits. When Ignore parity is selected, the printer expects a parity bit when it receives a data frame. Although the printer expects a parity bit, it ignores the bit and does not che[...]

  • Page 102

    Section 6: Using the Printer Interface 102 The following diagram illustrates DTR Protocol Timing. Legend: 1 The R TS signal is driven dir ectly by the RS-232C line driver and is active any time power is supplied to the printer . 2 The DTR signal becomes active (high) when initialization is complete, telling the computer that the printer is ready to[...]

  • Page 103

    103 Section 6: Using the Printer Interface 2 Because all data transmissions require CTS, it must be detected prior to the XON/XOFF protocol initiating. Once CTS is detected, after POR, the printer transmits an XON command. It is not necessary for the host to detect this initial XON command prior to transmitting data to the printer. 3 The printer tr[...]

  • Page 104

    Section 6: Using the Printer Interface 104 1 Select the printer icon. 2 Select Open . 3 Select Settings . The Printer - Settings scr een appears. 4 Select the serial port to which you want to attach the print er. The Serial Port - Settings sc reen appears. 5 Select the settings you want to use. 6 Select OK . The next example shows an alternative wa[...]

  • Page 105

    Section Section 7: Downloading Char acters and F onts 105 7 Do wnloading Character s and Fonts This chapter explains how to download characters and provides programming examples for several escape sequences. The first part of the chapter is for 248x users; the second part is for 249x users. The downloading feature lets you create custom fonts and s[...]

  • Page 106

    Section 7: Downloading Char acters and F onts 106 Vertical Lines The following drawing shows how the printer adds dots to a vertical line. The solid dots must be specified in the font. Hollow dots are generated by the printer. Diagonal Lines These drawings show how the printer adds dots to diagonal lines. 1 2 3 4 5 6 7 8 9 1 Columns Rows 2 34 5678 [...]

  • Page 107

    107 Section 7: Downloading Char acters and F onts Intersections of Vertical and Horizontal Lines The drawing on the left shows how the printer adds the vertical dots to a vertical line that intersects a horizontal line. The character design must specify all dots in the horizontal line. The printer removes adjacent dots from horizontal lines when pr[...]

  • Page 108

    Section 7: Downloading Char acters and F onts 108 Diagonal Intersecting Horizontal Line This drawing shows how the printer adds dots at the intersection of horizontal and diagonal lines. The printer considers the point of intersection as a two-dot vertical line. Diagonal Intersecting Vertical Line The ’M ’ shows how the printer adds dots when a[...]

  • Page 109

    109 Section 7: Downloading Char acters and F onts When a diagonal line intersects a vertical line at a point other than the end of the vertical line, you should specify a horizontal dot at the intersection to improve character appearance. This ensures that the character is acceptable in Draft. Designing Fast Draft Characters The character matrix fo[...]

  • Page 110

    Section 7: Downloading Char acters and F onts 110 Initializing the Download Area Use the following command to initialize the download areas to the resident fonts: Downloading a Draft/NLQ Character Set The sequence to download characters for Draft/NLQ and Fast Draft is shown below: There are two parts of the ESC = escape sequence. Part one includes [...]

  • Page 111

    111 Section 7: Downloading Char acters and F onts Part Two: Specifying the Download Data Attribute byte 1 specifies the character type and additional information. Bit Bit V alues Functions 7 0 if the character is an ascender (a character using only the upper 8 wires of the print head). Ignored if bit 0 or bit 1 is set to 1. 1 if the character is a [...]

  • Page 112

    Section 7: Downloading Char acters and F onts 112 Attribute byte 2 specifies proportional-spacing information. Bits 6-0 specify spacing information. Set these bits to 0 if proportional spacing is not desired. When you use proportional spacing with a downloaded font that has bits 6-0 set to 0, all 11 bytes of character data print. Bit Bit V alues Fu[...]

  • Page 113

    113 Section 7: Downloading Char acters and F onts Designing and Downloading the Draft/NLQ Copyright (©) Symbol This example shows how the 11 bytes of printable data for the ’©’ symbol were determined. This example replaces the ’ @ ’ character with the Draft ’© ’ symbol. This character is an ascender without pr oportional spacing. Cou[...]

  • Page 114

    Section 7: Downloading Char acters and F onts 114 The following example loads data for the copyright symbol into the printer. The data remains in the download storage area until you: • Set the power switch to Of f. • Overlay the data with download character data. • Download area is initialized. <x 1B3D - download command prefix 0F00 - byte[...]

  • Page 115

    115 Section 7: Downloading Char acters and F onts Downloading an NLQ II Character Set The 248x printers can download two sets of NLQ II characters. The first set is initialized to a Courier-like font, and the second to a Courier italic-like font. Since there are two download areas, you must use a Select Print Mode, ESC I, before downloading to sele[...]

  • Page 116

    Section 7: Downloading Char acters and F onts 116 Part Two: Specifying the Download Data Each font character is made up of 48 bytes of data. There are 2 bytes of attribute data and 46 bytes of character data. This field of 48 bytes must be repeated for each character. The following text describes the specifications of the attribute bytes and the ch[...]

  • Page 117

    117 Section 7: Downloading Char acters and F onts Attribute byte 2 is not used when specifying NLQ II. Set it to zero. Bit Functions Printable Data (Columns 1 to 23) • Defines the column data for each character from left to right. • Column 24 is always blank; therefor e, only 23 columns can be defined. • There ar e 2 bytes per dot column, 46 [...]

  • Page 118

    Section 7: Downloading Char acters and F onts 118 When NLQ II font data is downloaded, it is compressed. By filling in-between adjacent horizontal dots, character compression by the printer is more efficient. When you want to print the ’©’ symbol: • Send ESC I x07 to the printer to select the download characters in NLQ II mode. • Send data[...]

  • Page 119

    119 Section 7: Downloading Char acters and F onts To replace the ampersand (’&’) symbol, use the following example to download and print the copyright © symbol. <x 1B3D - command prefix=’ESC =’ - download character 3200 - count - x0032, 50 15 - Type=NLQ II 26 - Start code=’&’ 00 - attribute byte 1=ascender, not line-drawing,[...]

  • Page 120

    Section 7: Downloading Char acters and F onts 120 249x Printers Designing and Downloading Characters The text that follows shows you how to design and download characters for the 249x printers. The definitions use binary and hexadecimal notation. The examples are in the program format shown on page 16. Note: Download fonts must be reloaded after a [...]

  • Page 121

    121 Section 7: Downloading Char acters and F onts on. For Letter Quality fonts, the font descriptor byte also identifies the pitch of the font. If multiple lookup tables have the same combinations of pitch and quality, only the first one is accessible. Font Descriptor Byte Bit 7 1 = This is the default font. Bit 6 1 = Another lookup table follows. [...]

  • Page 122

    Section 7: Downloading Char acters and F onts 122 10 cpi LQ 36 dots 12 cpi LQ 30 dots 10 cpi ELQ 36 dots 12 cpi ELQ 30 dots Proportional characters in the 249x are based on a 7-unit width system where 1 unit is equal to 1/60 inch. Because 1 dot-column equals 1/360 inch, 1 unit is equal to 6 dot-columns. Proportional character width may vary from 3 [...]

  • Page 123

    123 Section 7: Downloading Char acters and F onts Count Count is the number of bytes of data being downloaded starting with the font ID byte. The count is a 2-byte value downloaded as the low byte followed by the high byte. Font ID Byte The font ID byte is a 1-byte number that identifies the font. The ID byte for the 249x is 35 (x23). Start When do[...]

  • Page 124

    Section 7: Downloading Char acters and F onts 124 The Lookup Table • ASCII character 255, xFF , cannot be defined. It is a mandatory space and is the same size as ASCII character 32, x20. • ASCII Character 0, x00, is the zero slash. Any character downloaded to 0, x00 r eplaces the zero. If the zer o slash is selected from the operator panel, th[...]

  • Page 125

    125 Section 7: Downloading Char acters and F onts Note: The lookup tables copied using the ESC = 0 0 command point to the res- ident fonts with the current code page. After receiving an ESC = 0 0 com- mand, the download area appears empty. Any valid download com- mand activates the download access. For more information, see “Downloading a New Fon[...]

  • Page 126

    Section 7: Downloading Char acters and F onts 126 This example shows the design for the ampersand character (ASCII 38) from the All Characters chart. This character design does not have any occurrences where extra dots can be added, resulting in a column being identical to its predecessor. For instance, column 4, row 4, could be turned on because i[...]

  • Page 127

    127 Section 7: Downloading Char acters and F onts Creating the Character Data Each dot column is sent to the printer as three bytes of data. To get the values of this data, convert the binary values to hexadecimal values. The ampersand figure shows the hexadecimal value for each byte in each column of the character. For example, the last byte of co[...]

  • Page 128

    Section 7: Downloading Char acters and F onts 128 Downloading the Character Data You can start the character data at any unused memory address greater than xA413. This example uses xB000. Downloading the Font Descriptor Byte Send the following descriptor byte information to the printer: For more information about the Font Descriptor Byte, see page [...]

  • Page 129

    129 Section 7: Downloading Char acters and F onts Creating the Lookup Table Data Before creating lookup table data, note the following memory addresses: • The valid download address range for the 249x is x800C to xFFFF . • The ASCI character 0 lookup table entry addresses for the r esident fonts are: — Draft (10 and 12 cpi and Fast Draft (10 [...]

  • Page 130

    Section 7: Downloading Char acters and F onts 130 Printing the Character To print the ampersand symbol, send the following command sequence: Designing Monospaced Draft Characters When designing monospaced draft characters, design the character for 10 cpi output and use as many dot-columns as possible. This method also creates a better designed 12 c[...]

  • Page 131

    131 Section 7: Downloading Char acters and F onts This example shows the design for the two-sixteenth note character (ASCII 14) from the All Characters Chart. Because the design of this character does not contain any consecutive columns that are identical, no compression can take place. 1 2 3 4 5 6 7 8 9 B Y T E 1 B Y T E 2 B Y T E 3 00 00 00 07 08[...]

  • Page 132

    Section 7: Downloading Char acters and F onts 132 Creating the Character Data Each dot-column is sent to the printer as three bytes of data. To get the values of this data, convert the binary values to hexadecimal values. The two-sixteenth character shows the hexadecimal value for each byte in each column of the character. For example, the last byt[...]

  • Page 133

    133 Section 7: Downloading Char acters and F onts Downloading the Character Data You can start the character data at any unused memory address greater than xA413. This example uses xB000. Creating the Lookup Table Data Before creating lookup table data, make note of the following memory addresses. • The valid download address range for the 249x p[...]

  • Page 134

    Section 7: Downloading Char acters and F onts 134 Example: Replace ASCII character 173 (inverted exclamation point) with the two- sixteenth note. There are 9 bytes per entry, and entry 0 of the draft table starts at x8011. 9 x 173 = 1557 = x615 (the of fset into the table) x615 + x801 1 = x8626 (offset + character 0 lookup table addr ess) The addr [...]

  • Page 135

    135 Section 7: Downloading Char acters and F onts Printing the Character To print the two-sixteenth note character at 12 cpi download draft, send the following sequence: Designing Proportionally Spaced Characters Proportional characters in the 249x are based on a 7-unit width system described in “Design Considerations” on page 121. Typical prop[...]

  • Page 136

    Section 7: Downloading Char acters and F onts 136 The following grid shows a 7 unit trademark symbol. Only 41 columns are shown because column 42 must be blank. Solid dots indicate downloaded and printed dots. Hollow dots indicate consecutive dots that may be added back to the design to take advantage of the compression algorithm. 1 2 3 4 5 6 7 8 9[...]

  • Page 137

    137 Section 7: Downloading Char acters and F onts Creating the Character Data Each dot-column is sent to the printer as three bytes of data. To get the values of this data, convert the binary values to hexadecimal values. The figure shows the hexadecimal value for each byte in each column of the character. For example, the first byte of column one [...]

  • Page 138

    Section 7: Downloading Char acters and F onts 138 Downloading the Character Data You can start the character data at any unused memory address greater than xA413. This example uses xA414. <x 1B3D - download command prefix - character data 5D00 - byte count (low byte first) - x005D, 93 23 - font ID for 249x printers 14A4 - start address (low byte[...]

  • Page 139

    139 Section 7: Downloading Char acters and F onts Creating the Lookup Table Data Before downloading lookup table data or character data, make note of the fol- lowing memory addresses. • The valid download address range for the 249x is x800C to xFFFF . • The ASCII character 0 lookup table addr esses for the resident fonts ar e: — Draft (10 and[...]

  • Page 140

    Section 7: Downloading Char acters and F onts 140 Printing the Character To print the trademark character, send the following sequence: <x 1B49 - ESC, I - select print mode 07 - Letter Quality, proportional space 1B5E - print one character command AD - print character xAD, ASCII character 173 >[...]

  • Page 141

    141 Section 7: Downloading Char acters and F onts Designing Enhanced Letter Quality Characters When designing monospaced Enhanced Letter Quality characters, you can use horizontal consecutive dots. To design a character, start with a 35 dot wide by 24 dot high grid. Although the character matrix for an ELQ character is 36 dots wide, the last column[...]

  • Page 142

    Section 7: Downloading Char acters and F onts 142 Creating the Character Data Each dot-column is sent to the printer as three bytes of data. To get the value for the first byte of data, convert the binary values of the bottom eight print wires to hexadecimal. The most significant bit of each byte is the top dot. The least significant bit of each by[...]

  • Page 143

    143 Section 7: Downloading Char acters and F onts Downloading the Character Data You can start the character data at any unused memory address greater than xA413. This example uses xA414. <x 1B3D - download command prefix - character data 3C00 - byte count (low byte first) - x003C, 60 23 - font ID for 249x printers 14A4 - start address (low byte[...]

  • Page 144

    Section 7: Downloading Char acters and F onts 144 Downloading the Font Descriptor Byte Send the following descriptor byte information to the printer: For more information about the Font Descriptor Byte, see page 121. Creating the Lookup Table Data Before creating lookup table data, make note of the following memory addresses. • The valid download[...]

  • Page 145

    145 Section 7: Downloading Char acters and F onts Downloading the Lookup Table Data Send the following lookup table information to the printer: Printing the Character To print the character at 10 cpi download Enhanced Letter Quality, send the following sequence: <x 1B3D - download command prefix - lookup table data 0C00 - byte count (low byte fi[...]

  • Page 146

    Section 7: Downloading Char acters and F onts 146[...]

  • Page 147

    Section Section 8: Barcodes 147 8 Bar codes This section describes how to use your printer to generate barcodes. Barcode Function You can print barcodes on your printer in both IBM and Epson emulation modes. In the 248x printer’s Data Options setup menu, the barcode option must be set to ENABLE to reserve 1K of the receive buffer for barcode proc[...]

  • Page 148

    Section 8: Barcodes 148 UPC-A and EAN-13 barcodes use a flag character for number system encoding and country code. Your printer provides the capability of printing the human readable form of this flag character either in the vertical center along the left side of the barcode, or under the barcode with the other human readable characters. Some barc[...]

  • Page 149

    149 Section 8: Barcodes k is the barcode type. m is the module width. Module is a term defining the smallest unit of measurement within a barcode. The module width, m , is used to determine both bar and space widths. B is a space module. A is a bar module. Note: If m = 1, the human readable character is not printed. Barcode T ype k value EAN-13 178[...]

  • Page 150

    Section 8: Barcodes 150 An example of Code 39, with m = 0 and m = 1, follows: m = 0 (the human readable character is printed) m = 1 (the human readable character is not printed) s is the space width adjustment factor . This parameter affects only space modules. It can be used to adjust the width of space modules. The range for possible s values is:[...]

  • Page 151

    151 Section 8: Barcodes v1, v2 define the bar height. Use the following steps to calculate the values of v1 and v2 : 1 Determine the approximate desir e d height (in inches) of the bar . 2 Let V = 2160 x (height in inches). Round V to the nearest whole number . 3 v1 is the lower byte of V (r emainder of V divided by 256). 4 v2 is the upper byte of [...]

  • Page 152

    Section 8: Barcodes 152 b1: human readable character 0: Prints human readable character . 1: Does not print human readable character . b2: flag character position (for EAN-13 and UPC-A only) 0: Center 1: Under b3-b7: Not used An example of deriving the c parameter follows: 1 Check digit is to be printed by the printer . The human readable character[...]

  • Page 153

    153 Section 8: Barcodes Data is the actual data to be transferred into the barcode symbology . The data for the barcode data transfer command is a string of ASCII characters immediately following the n1, n2 count bytes. The string "APPLE" is transferred in the example below: To determine the data length requirement for each barcode type, [...]

  • Page 154

    Section 8: Barcodes 154 The European Article Numbering (EAN) barcode is the European version of the all-numeric, fixed length UPC symbology. k value: 178, xB2 m value: 0 to 4, x00 to x04 s value: -3 to 3, xFD to x03 minimum v1, v2 values: x0E, x01 (248x) x20, x01 (249x) c parameter: available functions: b0, check digit b1, human r eadable b2, flag [...]

  • Page 155

    155 Section 8: Barcodes Examples: V alid EAN-13 command: Since the b0 bit of the c parameter has a value of 0 (check digit by host/ software), there must be 13 data characters ( x0D ) specified in the Data Transfer Command . <x B5B66 - barcode setup command prefix 0600 - setup data length (low byte first) - x0006, 6 B2 - barcode type = EAN-13 00[...]

  • Page 156

    Section 8: Barcodes 156 Invalid EAN-13 command: Since the b0 bit of the c parameter has a value of 01 (check digit by printer), there must be 12 data characters ( x0C ), not 13 ( x0D ), specified in the Data Transfer. EAN-8 k value: 179, xB3 m value: 0 to 4, x00 to x04 s value: -3 to 3, xFD to x03 minimum v1, v2 values: x0E, x01 (248x) x20, x01 (24[...]

  • Page 157

    157 Section 8: Barcodes data character set: Examples: V alid EAN-8 command: Character Hex ’0’ x30 ’1’ x31 ’2’ x32 ’3’ x33 ’4’ x34 ’5’ x35 ’6’ x36 ’7’ x37 ’8’ x38 ’9’ x39 <x 1B5B66 - barcode setup command prefix 0600 - setup data length (low byte first) - x0006, 6 B3 - barcode type = EAN-8 00 - module width[...]

  • Page 158

    Section 8: Barcodes 158 Since the b0 bit of the c parameter has a value of 01 (check digit by printer), there must be 7 data characters ( x07 ) specified in the Data Transfer Command. Invalid EAN-8 command: The letter ’C ’ is not a valid data character for EAN-8; the numbers ’0’-’9’ are the only valid characters. >x 1B5B66 - barcode [...]

  • Page 159

    159 Section 8: Barcodes CODE 39 This barcode symbology uses both alphabetic and numeric characters. The printer will add a start/stop character, ’ * ’, to the barcode and human readable character automatically. k value: 180, xB4 m value: 0 to 4, x00 to x04 s value: -3 to 3, xFD to x03 minimum v1, v2 values: x0E, x01 (248x) x20, x01 (249x) c par[...]

  • Page 160

    Section 8: Barcodes 160 data character set: Character Hex Character He x ’0’ x30 ’M’ x4D ’1’ x31 ’N’ x4E ’2’ x32 ’O’ x4F ’3’ x33 ’P’ x50 ’4’ x34 ’Q’ x51 ’5’ x35 ’R’ x52 ’6’ x36 ’S’ x53 ’7’ x37 ’T’ x54 ’8’ x38 ’U’ x55 ’9’ x39 ’V’ x56 ’A’ x41 ’W’ x57 ’B’ x42 ?[...]

  • Page 161

    161 Section 8: Barcodes Examples: V alid Code 39 command: <x 1B5B66 - barcode setup command prefix 0600 - setup data length (low byte first) - x0006, 6 B4 - barcode type = Code 39 04 - module width = 4 = 0.038 inches on 248x, 0.026 inches on 249x 03 - space width adjustment = 3 = 0.0125 inches on 248x, 0.0083 inches on 249x 0303 - height (low by[...]

  • Page 162

    Section 8: Barcodes 162 Invalid Code 39 command: The lowercase ’a ’ is not a valid data character for Code 39. <x 1B5B66 - barcode setup command prefix 0600 - setup data length (low byte first) - x0006, 6 B4 - barcode type = Code 39 00 - module width = default 00 - space width adjustment = default 4003 - height (low byte first) - x0340 = 832[...]

  • Page 163

    163 Section 8: Barcodes INTERLEA VED 2of5 Interleaved 2of5 is used to express all-numeric messages. Two bytes of data are encoded to form one barcode character. If the check digit generation flag is on (b0 = 1), the printer will add a ’0’ to the data string automatically. k value: 182, xB6 m value: 0 to 4, x00 to x04 s value: -3 to 3, xFD to x0[...]

  • Page 164

    Section 8: Barcodes 164 data character set: Examples: V alid Interleaved 2of5 command: Since the b0 bit of the c parameter has a value of 01 (check digit by printer), note the 0 character added to the barcode above. Character Hex ’0’ x30 ’1’ x31 ’2’ x32 ’3’ x33 ’4’ x34 ’5’ x35 ’6’ x36 ’7’ x37 ’8’ x38 ’9’ x39 [...]

  • Page 165

    165 Section 8: Barcodes Invalid Interleaved 2of5 command: Four characters are specified in the Data Transfer Command. The first three characters, "058 ", are in the character set for Interleaved 2of5. The fourth character,’ $ ’, is not valid for Interleaved 2of5. UPC-A UPC-A is an all-numeric, fixed-length symbology. k value: 183, xB7[...]

  • Page 166

    Section 8: Barcodes 166 data character set: V alid UPC-A command: Character Hex ’0’ x30 ’1’ x31 ’2’ x32 ’3’ x33 ’4’ x34 ’5’ x35 ’6’ x36 ’7’ x37 ’8’ x38 ’9’ x39 <x 1B5B66 - barcode setup command prefix 0600 - setup data length (low byte first) - x0006, 6 B7 - barcode type = UPC-A 00 - module width = default[...]

  • Page 167

    167 Section 8: Barcodes Since the b0 bit of the c parameter has a value of 01 (check digit by printer), there must be 11 data characters ( x0B ) specified in the Data Transfer Command. Invalid UPC-A command: Since b0 bit of the c parameter has a value of 0 (check digit by host/software), there must be 12 data characters ( x0C ), not 11 ( x0B ), spe[...]

  • Page 168

    Section 8: Barcodes 168 POSTNET This all-numeric symbology is used to express U.S. Postal Service ZIP codes. k value: 185, xB9 m value: 0 to 4, x00 to x04 s value: ignor ed minimum v1, v2 values: ignored; POSTNET uses two dif ferent bar lengths only: a long bar and a short bar . For 248x printers, the actual lengths of the long bar and short bar ar[...]

  • Page 169

    169 Section 8: Barcodes Examples: V alid POSTNET command: <x 1B5B66 - barcode setup command prefix 0600 - setup data length (low byte first) - x0006, 6 B9 - barcode type = POSTNET 00 - module width = default 00 - space width adjustment = default 0000 - height (low byte first) - 0 00 - control byte: no functions selected 1B5B70 - barcode data tra[...]

  • Page 170

    Section 8: Barcodes 170 Since the v1, v2 values for the bar length are ignored for POSTNET, 00 00 is an acceptable bar length specification . Invalid POSTNET command: The ’- ’ (dash) is an invalid character for POSTNET. <x 1B5B66 - barcode setup command prefix 0600 - setup data length (low byte first) - x0006, 6 B9 - barcode type = POSTNET 0[...]

  • Page 171

    171 Section 8: Barcodes Code 128 Code 128 is a flexible symbology that uses numeric and certain alphabetic and symbolic characters. It provides three separate character sets and a method of shifting between character sets within the same barcode. The first byte of the data string defines the character set. If an invalid character is included for th[...]

  • Page 172

    Section 8: Barcodes 172 data character sets: The character and corresponding hex code for each of these character sets are shown on the following pages. Function Hex START A x41 START B x42 START C x43[...]

  • Page 173

    173 Section 8: Barcodes data character set A : Character Hex Code Character Hex Code Character Hex Code Character Hex Code NUL x00 Space x20 ’@’ x40 FNC 3 x60 OH x01 ’!’ x21 ’A’ x41 FNC 2 x61 STX x02 ’ ” ’ x22 ’B’ x42 Shift x62 ETX x03 ’#’ x23 ’C’ x43 CodeC x63 EOT x04 ’$’ x24 ’D’ x44 CodeB x64 ENO x06 ’%’ [...]

  • Page 174

    Section 8: Barcodes 174 data character set B : Character Hex Code Character Hex Code Character Hex Code Character Hex Code Space x20 ’@’ x40 x60 ’!’ x21 ’A’ x41 ’a’ x61 ’ ” ’ x22 ’B’ x42 ’b’ x62 ’#’ x23 ’C’ x43 ’c’ x63 ’$’ x24 ’D’ x44 ’d’ x64 ’%’ x25 ’E’ x45 ’e’ x65 ’&’ x26 ?[...]

  • Page 175

    175 Section 8: Barcodes data character set C : Character Hex Code Character Hex Code Character Hex Code Character Hex Code ’00’ x3030 ’32’ x3332 ’64’ x3634 ’96’ x3936 ’01’ x3031 ’33’ x3333 ’65’ x3635 ’97’ x3937 ’02’ x3032 ’34’ x3334 ’66’ x3636 ’98’ x3938 ’03’ x3033 ’35’ x3335 ’67’ x3637 ?[...]

  • Page 176

    Section 8: Barcodes 176 V alid Code 128 command: <x 1B5B66 - barcode setup command prefix 0600 - setup data length (low byte first) - x0006, 6 BA - barcode type = Code 128 00 - module width = default 00 - space width adjustment = default 0404 - height (low byte first) - x0404 = 0.476 inches 00 - control byte: check digit from host, print human r[...]

  • Page 177

    177 Section 8: Barcodes Invalid Code 128 command: The first byte of the data string defines the character set and must be either ’A’, ’B’ or ’C’. ’4’ is an invalid first byte. <x 1B5B66 - barcode setup command prefix 0600 - setup data length (low byte first) - x0006, 6 BA - barcode type = Code 128 00 - module width = default 00 -[...]

  • Page 178

    Section 8: Barcodes 178 V alid Code 128 command using multiple character sets: <x 1B5B66 - barcode setup command prefix 0600 - setup data length (low byte first) - x0006, 6 BA - barcode type = Code 128 00 - module width = default 00 - space width adjustment = default 0404 - height (low byte first) - x0404 = 0.476 inches 00 - control byte: check [...]

  • Page 179

    179 Section 8: Barcodes Notes For Barcode Printing • Bar code printing is always performed unidirectionally (left-to-right). • The desir ed barcode will not print if the barcode print area exceeds the right mar gin of the printer . • The desired bar code will not print if the bar code print ar ea exceeds the bot- tom of the page or bottom mar[...]

  • Page 180

    Section 8: Barcodes 180 • The desired bar code may not print if invalid characters ar e specified in the data transfer command. Example: Since the desired bar code is POSTNET ( B9 ), the letter ’a’ is not a valid character . The numbers ’0’-’9’ are the only valid characters for POSTNET . <x 1B5B66 - barcode setup command prefix 060[...]

  • Page 181

    181 Section 8: Barcodes • The desired bar code may not print if the number of characters specified by n1 , n2 does not match the r equired number for the desir ed barcode type. Example: The desir ed barcode type is EAN-13 (B2 ). The check digit is generated by the host/softwar e (b0=0). This means there must be 13 data characters in the Data T ra[...]

  • Page 182

    Section 8: Barcodes 182 • When the m parameter is set to 1 ( m = 1), the printer does not print the human readable character . Example: Although the c parameter has a value of x00 , which tells the printer to print the human readable characte r, the m parameter has a value of x01 , which causes the b1 bit value of the c parameter to be ignore d. [...]

  • Page 183

    183 Section 8: Barcodes • Completing the barcode setup and data transfer commands is not enough to print the desired ba rcode. Before the barcode can be printed, the printer must receive suf f icient vertical movement commands (line feed, vertical tab, form feed, etc.) to move down past the length of the barcode (and human readable character , if[...]

  • Page 184

    Section 8: Barcodes 184 Example: • Bar code data and other print data (for example, text data) are contr olled independently . It is necessary to pr ovide suf ficient horizontal space for the barcode when mixing bar codes with other data, otherwise, the text and barcode data will overlap, as shown in the following example: Example: <x 1B5B66 -[...]

  • Page 185

    185 Section 8: Barcodes In this example, suf ficient horizontal space is inserted to eliminate overlap: Example : <x1B5B66 0600 B4 00 00 3804 00> Barcode Print Sample: <x1B5B70 0300> 395 Text Printing <x0A0A0A0A0A> Barcode Print Sample: Text Printing[...]

  • Page 186

    Section 8: Barcodes 186[...]

  • Page 187

    Section Section 9: Code P ages 187 9 Code P a g es Your printer supports code pages 437, 437G, 813, 850, 851, 853T, 857, 858, 860, 861, 863, 865, 869, 920, 1004, and 1053. Additional code pages are available for designated countries. Code page 437 (U.S. English) is the factory default code page. All code pages are shown on the following pages.[...]

  • Page 188

    Section 9: Code P ages 188 Code Page 437[...]

  • Page 189

    189 Section 9: Code P ages Code Page 437G[...]

  • Page 190

    Section 9: Code P ages 190 Code Page 813[...]

  • Page 191

    191 Section 9: Code P ages Code Page 850[...]

  • Page 192

    Section 9: Code P ages 192 Code Page 851[...]

  • Page 193

    193 Section 9: Code P ages Code Page 853T[...]

  • Page 194

    Section 9: Code P ages 194 Code Page 857[...]

  • Page 195

    195 Section 9: Code P ages Code Page 858[...]

  • Page 196

    Section 9: Code P ages 196 Code Page 860[...]

  • Page 197

    197 Section 9: Code P ages Code Page 861[...]

  • Page 198

    Section 9: Code P ages 198 Code Page 863[...]

  • Page 199

    199 Section 9: Code P ages Code Page 865[...]

  • Page 200

    Section 9: Code P ages 200 Code Page 869[...]

  • Page 201

    201 Section 9: Code P ages Code Page 920[...]

  • Page 202

    Section 9: Code P ages 202 Code Page 1004[...]

  • Page 203

    203 Section 9: Code P ages Code Page 1053[...]

  • Page 204

    Section 9: Code P ages 204 Printing a Code Page To print all 256 characters of a code page, use one of the following commands with the program that follows. Replace the first line of the program with the appropriate command for the code page you want to print. The following example prints all 256 characters fr om Code Page 437 in a matrix format: &[...]

  • Page 205

    205 Section 9: Code P ages 9x <x1B5C 2000 9020912092209320 9420952096209720 982099209A209B20 9C209D209E209F20> Ax <x1B5C 2000 A020A120A220A320 A420A520A620A720 A820A920AA20AB20 AC20AD20AE20AF20> Bx <x1B5C 2000 B020B120B220B320 B420B520B620B720 B820B920BA20BB20 BC20BD20BE20BF20> Cx <x1B5C 2000 C020C120C220C320 C420C520C620C720 C[...]

  • Page 206

    Section 9: Code P ages 206 Set Font Global, ESC [I You can vary the font and pitch type style within a file with this command. It can also be used to change the code page. ESC [I changes the font, pitch, and code page. It uses the following best-fit algorithm: 1 Requested font, pitch, and code page. 2 Requested pitch and code page, first font found[...]

  • Page 207

    207 Section 9: Code P ages 248x Font Global IDs (FGIDs) Decimal, Hex and Byte Decimal Pitch Font Style Decimal (Hf times 256 plus Lf) Hex (Hf Lf) Byte Decimal (Hf, Lf) Courier 5 (Double Wide) Nor mal 244/246 x00F4/x00F6 00,244/00,246 Emphasized 245 x00F5 00,245 Italic Emph./Italic 10 Nor mal 11 x000B 00,11 Emphasized 46 x002E 00,46 Italic 18 x0012 [...]

  • Page 208

    Section 9: Code P ages 208 Courier (cont.) PS Nor mal 171 x00AB 00,171 Emphasized 184 x00B8 00,184 Italic 172 x00A C 00,172 Emph./Italic 185 x00B9 00,185 Gothic 5 (Double Wide) Normal 241 x00F1 00,241 Emphasized 242 x00F2 00,242 Italic 10 Normal 36 x0024 00,36 Emphasized 39 x0027 00,39 Italic 12 Normal 87/399 x0057/x018F 00,87/01,143 Emphasized 110[...]

  • Page 209

    209 Section 9: Code P ages 249x Font Global IDs (FGIDs) Decimal, Hex and Byte Decimal Pitch Font Style Decimal (Hf times 256 plus Lf) Hex (Hf Lf) Byte Decimal (Hf, Lf) Courier 5 (Double Wide) Nor mal 244/246 x00F4/x00F6 00,244/00,246 Emphasized 245 x00F5 00,245 Italic Emph./Italic 10 Nor mal 11 x000B 00,11 Emphasized 46 x002E 00,46 Italic 18 x0012 [...]

  • Page 210

    Section 9: Code P ages 210 Courier (cont.) 24 Nor mal 286 x011E 01, 30 Emphasized Italic Emph./Italic PS Nor mal 171 x00AB 00,171 Emphasized 184 x00B8 00,184 Italic 172 x00A C 00,172 Emph./Italic 185 x00B9 00,185 Prestige 10 Nor mal 12 x000C 00,12 Emphasized 60 x003C 00,60 Italic 12 Nor mal 86/495 x0056/ x01EF 00,86/01,239 Emphasized 111 x006F 00,1[...]

  • Page 211

    211 Section 9: Code P ages Prestige (cont.) 24 Nor mal 287 x011F 01, 31 Emphasized Italic PS Nor mal 420 x01A4 01,164 Emphasized Italic Gothic 5 (Double Wide) Normal 241 x00F1 00,241 Emphasized 242 x00F2 00,242 Italic Emph./DS X00F3 00,243 10 Normal 36 x0024 00,36 Emphasized Italic Emph./DS 12 Normal 87/399 x0057/x018F 00,87/01,143 Emphasized 110 x[...]

  • Page 212

    Section 9: Code P ages 212 sizehigh (Hs): The binary number that is the more significant byte of the 2-byte font size. sizelow (Ls): The binary number that is the less significant byte of the 2-byte font size. Hs and Ls represent a 2-byte, unsigned integer parameter that specifies the font width in units of 1/1440 inches. This parameter will be val[...]

  • Page 213

    213 Section 9: Code P ages Set Print Quality, ESC [d This command sets the print quality for draft or letter quality print: • 1 and 0 (decimal) and 01 and 00 (hexadecimal) ar e constants. • The value of n is a single digit that can be any one of the following digits: 863 3 95 x03 x5F 865 3 97 x03 x61 437G 40 197 x28 xC5 813 3 45 x03 x2D 851 3 8[...]

  • Page 214

    Section 9: Code P ages 214 Example Select Fast Draft: Interaction of Set Font Global and Set Print Quality Every font has an LQ version and a Draft version. Set Font Global changes the font and pitch within the current quality. Set Print Quality changes the quality within the current font and pitch. For example, if the current quality is draft and [...]

  • Page 215

    215 Section 9: Code P ages Character Sets 1 and 2 The printer’s interpretation of code pages is based on whether character set 1 or character set 2 is selected. Character set 1 is the factory default character set and is printed if you do not specify otherwise. Character set 2 has foreign language characters and fewer control words. You can selec[...]

  • Page 216

    Section 9: Code P ages 216 Character Set 1[...]

  • Page 217

    217 Section 9: Code P ages Character Set 2[...]

  • Page 218

    Section 9: Code P ages 218[...]

  • Page 219

    Glossary 219 Glossar y A APA . All points addressable. B bidirectional . Printing in either direction, right-to-left or left-to-right. buffer storage . A temporary storage area for holding input or output data. byte . The representation of a character. Usually, 8 bits grouped together as a unit make up a byte. C characters-per-inch (cpi) . The numb[...]

  • Page 220

    Glossary 220 L lines-per-inch (lpi) . The number of lines of text or graphics that can be printed in 1 vertical inch. LPI is the movement of the line advance, not the size of the character being printed. If you set 6 LPI, one line is 1/6-inch; 8 LPI is 1/8-inch . LQ . Letter quality. N NLQ . Near letter quality. M mm . Millimeter. P parallel interf[...]

  • Page 221

    Index 221 Numerics 248x Printers downloading characters 109 249x Printers downloading characters 120 9-pin compatible serial port 99 A auto sheet feeder, option 10 B barcode bar height 151 data transfer command 152 function 147 module width 149 notes 179 setup command 148 symbologies 153 Code 128 171 Code 39 159 EAN-13 153 EAN-8 156 Interleaved 2of[...]

  • Page 222

    Index 222 249x Printers enhanced letter quality 141 monospaced draft 130 monospaced fast draft 125 proportional 135 diagnostics power-on 17 printer test 18 DOS serial computer configurations 10 3 download a character set, IBM emulation mode 35 downloading characters 248x Printers 109 249x Printers 120 E EAN-13 barcode 153 EAN-8 barcode 156 EIA RS-2[...]

  • Page 223

    Index 223 selecting a character set 33 set top of form and page length 59 structure 29 vertical tabulation 56 interfaces parallel 91–95 serial 96–?? Interleaved 2of5 barcode 163 L line control, IBM emulation mode automatic line feed (LF) 55 move paper vertically 55 reverse line feed 55 set vertical units 56 line spacing, Epson mode 74 line spac[...]

  • Page 224

    Index 224 protocol timing RS-232C (DTR) 102 R ribbon specifications 17 RS-232C serial adapter see serial adapter S select code page, IBM emulation mode 33 select global font, IBM emulation mode 36 select print type style, IBM emulation mode continuous overscore 47 continuous underline 47 double-strike print 44 emphasized (bold) print 44 score selec[...]

  • Page 225

    Reader’ s Comment Fo r m IBM 248x/249x T echnical Reference Manual Part Number: 11A3098 October , 2000 Y ou may use this form to communicate your comments about this publication, with the under - standing that Lexmark may use or distri bute what ever information you supply in an y way i t belie ves appropriate without incurring an y obligation to[...]

  • Page 226

    – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – Cu[...]

  • Page 227

    www.lexmark.com Le xmark and Lexmark with diamond design are tradem arks of Lexmark Int ernational, Inc., registered in the United States and/or other countries. © 2000 Le xmark Inter national, Inc. 740 W est New Circle Road Le xington, K entucky 40550[...]