Printek 4503 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

Go to page of

A good user manual

The rules should oblige the seller to give the purchaser an operating instrucion of Printek 4503, 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 Printek 4503 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 Printek 4503. 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 Printek 4503 should contain:
- informations concerning technical data of Printek 4503
- name of the manufacturer and a year of construction of the Printek 4503 item
- rules of operation, control and maintenance of the Printek 4503 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 Printek 4503 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 Printek 4503, and methods of problem resolution. Eventually, when one still can't find the answer to his problems, he will be directed to the Printek 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 Printek 4503.

Why one should read the manuals?

It is mostly in the manuals where we will find the details concerning construction and possibility of the Printek 4503 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

    FormsPro 4300 FormsPro 4500 FormsPro 4503 Serial Matrix Printers Copyright  1994 by Printek, Inc. 1517 Townline Road Benton Harbor, MI 49022 616-925-3200[...]

  • Page 2

    ii Printek Part Number 2999[...]

  • Page 3

    iii IBM and Proprinter are registered trademarks of International Business Machines Corporation, DEC is a registered trademark of Digital Equipment Corporation, Epson is a registered trademark of Seiko Epson, Printek and FormsPro are registered trademarks of Printek, Inc.[...]

  • Page 4

    iv Specifications subject to change without notice.[...]

  • Page 5

    Table of Contents iii TABLE OF CONTENTS Acknowledgments iii CHAPTER 1 - INTRODUCTION 1 - 1 How to Use This Manual 1 - 1 Printer Model Descriptions and Key Features 1 - 2 Selecting Emulations 1 - 3 Changing Forms/Tractor Paths 1 - 3 CHAPTER 2 - ANSI X3.64 EMULATION 2- 1 Introduction 2 - 1 Control Codes and Escape Sequences Grouped by Function 2 - 3 [...]

  • Page 6

    Table of Contents iv CHAPTER 4 - IBM PROPRINTER EMULATION 4 - 1 Introduction 4 - 1 Control Codes and Escape Sequences 4 - 3 Communications 4 - 3 Character Size 4 - 4 Character Attributes 4 - 7 Character Sets 4 - 8 Line Pitch 4 - 9 Horizontal Position 4-11 Vertical Position 4-11 Form Length and Form Feed 4-12 Horizontal Tabs 4-14 Vertical Tabs 4-15 [...]

  • Page 7

    Table of Contents v CHAPTER 7 - PRINTEK EMULATION 7 - 1 Introduction 7 - 1 Control Codes and Escape Sequences 7 - 3 Communications 7 - 3 Character Size 7 - 4 Character Attributes 7 - 5 Character Sets 7 - 6 Line Pitch 7 - 7 Horizontal Position 7 - 8 Vertical Position 7 - 8 Form Length and Form Feed 7 - 9 Horizontal Tabs 7-10 Vertical Tabs 7-11 Horiz[...]

  • Page 8

    [...]

  • Page 9

    Page 1-1 CHAPTER 1 - INTRODUCTION This manual describes the software interfaces supported by your FormsPro 4000 series printer. It is written for a programmer who will be developing software for the printer, and contains information not normally needed by a printer operator/user. Basic information on printer operation (setting the printer up, loadi[...]

  • Page 10

    Introduction Page 1-2 Printer Model Descriptions and Key Features The Printek FormsPro 4000 Series Printers are high speed, heavy duty serial dot matrix printers designed especially for printing upon hard to print forms which are often not printed adequately by other printers. Of course, the FormsPro 4000 series printers will also print on lighter [...]

  • Page 11

    Introduction Page 1-3 Selecting Emulations The software interface of the printer varies, depending upon which emulation is selected. The default emulation, selected at power up, is specified by the "Mode:" value in the "Setup: INTERFACE" menu. Frequently, the desired emulation is specified here, and never changed again. It is al[...]

  • Page 12

    [...]

  • Page 13

    Page 2-1 ANSI X3.64 EMULATION Introduction This section describes the control codes and escape sequences comprising ANSI X3.64 emulation. This emulation may be selected by specifying "Mode: ANSI X3.64" in the "Setup: INTERFACE" menu, or via software with the ESC ESC 1 sequence. While this emulation is selected, control codes and[...]

  • Page 14

    ANSI X3.64 Emulation Page 2-2 The " f " at the end of the escape sequence represents the final character. It terminates the sequence, and specifies the function to be performed. Spaces are used when documenting escape sequences to increase readability. The spaces within the sequences are for readability only; they are not part of the sequ[...]

  • Page 15

    ANSI X3.64 Emulation Page 2-3 Control Codes and Escape Sequences Grouped by Function Communications End of Text ETX If "ETX/ACK: On" is specified in the "Setup: INTERFACE" menu, then receipt of an ETX causes the printer to transmit an ACK to the host computer. Since the ETX may be a legal value within an escape sequence, it is t[...]

  • Page 16

    ANSI X3.64 Emulation Page 2-4 Character Size and Line Spacing Set Character and Line Spacing ESC [ n1 ; n2 SP G Sets the character and line spacing in decipoints (1/720 of an inch). The first parameter, n1 , sets the line spacing. The second parameter, n2 , sets the character spacing. Typical values for n1 and supported values for n2 are shown belo[...]

  • Page 17

    ANSI X3.64 Emulation Page 2-5 Character Attributes Select Graphic Rendition ESC [ n m Selects the graphic rendition n from the following table. n Rendition 0 Normal 1 Emphasized 3 Italic 4 Underline For italic mode to work correctly, an Epson FX font must be selected (check the "Font:" value in the "Setup: FORM" menu). The other[...]

  • Page 18

    ANSI X3.64 Emulation Page 2-6 Horizontal Position Carriage Return CR Causes the current line to be printed, and then sets the current print position to the left margin. If "Auto LF: On" is selected in the "Setup: INTERFACE" menu, a line feed will also be performed. Control code: CR Hexadecimal: 0D Backspace BS Causes the current[...]

  • Page 19

    ANSI X3.64 Emulation Page 2-7 Vertical Position Line Feed LF (or) IND (or) ESC D Causes the current line to be printed, and then advances the paper one line at the current line spacing. If "Auto CR: On" is selected in the "Setup: INTERFACE" menu, a carriage return will also be performed. Control code: LF Hexadecimal: 0A Control [...]

  • Page 20

    ANSI X3.64 Emulation Page 2-8 Absolute Vertical Tab ESC [ n d Sets the current line to line n of the current form. The actual position will depend on the current line spacing. Example: The following escape sequence will set the active line to line 12. Escape Sequence: ESC [ 1 2 d Hexadecimal: 1B 5B 31 32 64 Relative Vertical Tab ESC [ n e Advances [...]

  • Page 21

    ANSI X3.64 Emulation Page 2-9 Horizontal and Vertical Position New Line NEL (or) ESC E Causes the current line to be printed, and then sets the current print position to the left margin and performs a line feed. Equivalent to a carriage return (CR) line feed (LF) combination. Control code: NEL Hexadecimal: 85 Escape Sequence: ESC E Hexadecimal: 1B [...]

  • Page 22

    ANSI X3.64 Emulation Page 2-10 Horizontal Tabs Horizontal tab stops are associated with columns, not absolute physical positions. Changing character spacing will change the physical position of the tab stops. Default tab stops are set at every eighth column, i.e. column 9, 17, 25, 33, 41, etc. If different tab stops are to be set, the default tab s[...]

  • Page 23

    ANSI X3.64 Emulation Page 2-11 Clear all horizontal tab stops ESC [ 2 g (or) ESC [ 3 g Clears all currently set horizontal tab stops. Escape Sequence: ESC [ 2 g Hexadecimal: 1B 5B 32 67 Escape Sequence: ESC [ 3 g Hexadecimal: 1B 5B 33 67[...]

  • Page 24

    ANSI X3.64 Emulation Page 2-12 Vertical Tabs Vertical tab stops are associated with lines, not absolute physical positions. Changing line spacing will change the physical position of the tab stops. Vertical Tab VT Causes the current line to be printed, and then advances the paper to the next vertical tab stop. If no vertical tab stops are set, then[...]

  • Page 25

    ANSI X3.64 Emulation Page 2-13 Printer Controls Bell BEL Causes the printer's bell to sound. Control code: BEL Hexadecimal: 07 Select Automatic Carriage Return ESC [ 20 h Selects automatic carriage return mode. This causes the printer to automatically perform a carriage return (CR) for each line feed (LF), vertical tab (VT), or form feed (FF) [...]

  • Page 26

    ANSI X3.64 Emulation Page 2-14 Emulations Select Software Interface n ESC ESC n Selects the software interface n according to the table below. n Software Interface 0 Test (reserved for factory use) 1 ANSI X3.64 Emulation 2 Epson FX Emulation 3 Bar Code Mode (optional) 4 IBM Proprinter Emulation 5 DEC LA120 Emulation 6 TTY Emulation 7 Printek Emulat[...]

  • Page 27

    ANSI X3.64 Emulation Page 2-15 Control Codes and Escape Sequences Sorted Alphabetically BEL Bell BS Backspace CR Carriage Return ESC D Line Feed ESC E New Line ESC ESC n Select Software Interface n ESC H Set Horizontal Tab Stop ESC J Set Vertical Tab Stop ESC K Partial Line Down ESC L Partial Line Up ESC [ n1 ; n2 SP G Set Character and Line Spacin[...]

  • Page 28

    [...]

  • Page 29

    Page 3-1 EPSON FX EMULATION Introduction This section describes the control codes and escape sequences comprising Epson FX emulation. This emulation may be selected by specifying "Mode: Epson" in the "Setup: INTERFACE" menu, or via software with the ESC ESC 2 sequence. While this emulation is selected, control codes and escape s[...]

  • Page 30

    Epson FX Emulation Page 3-2 a documented control code or escape sequence, refer to the hex representation in the provided example. This should clarify any ambiguity. The examples may also be helpful when analyzing a hex dump (see chapter 8) printed by the printer. Column and line numbers begin at zero, not at one. Keep this in mind when setting tab[...]

  • Page 31

    Epson FX Emulation Page 3-3 Control Codes and Escape Sequences Grouped by Function Communications Cancel Line CAN Cancels all printable text in the current print line. Does not affect any control codes or escape sequences. Control code: CAN Hexadecimal: 18 Delete Character DEL Deletes the last printable character from the current line. Does not aff[...]

  • Page 32

    Epson FX Emulation Page 3-4 Set MSB to 0 ESC = Sets the MSB (most significant bit) of all following data to zero. Some computers always set the MSB to one, causing all characters to print in italic mode. This escape sequence can overcome the problem. The problem can also be avoided by selecting "Data Bits: 7" in the "Setup: INTERFACE[...]

  • Page 33

    Epson FX Emulation Page 3-5 Character Size The FormsPro 4000 is capable of supporting 10, 12, 13.3, 15, 16.7, 17.14, and 20 cpi, but most emulations support only a subset of these. Epson emulation supports 10, 12, 15, 17.14, and 20 cpi via software, but does not support 13.3 or 16.7 cpi. Every emulation supports 10 cpi, and we consider this to be t[...]

  • Page 34

    Epson FX Emulation Page 3-6 Escape Sequence: ESC M Hexadecimal: 1B 4D Select 15 CPI ESC g Selects 15 cpi. Cancels 12 cpi. Condensed mode is unaffected. The resulting character spacing will be 15 cpi, even if condensed mode is also selected. Escape Sequence: ESC g Hexadecimal: 1B 67 Select Condensed Mode SI (or) ESC SI Selects condensed mode. The re[...]

  • Page 35

    Epson FX Emulation Page 3-7 Cancel Double-Wide Mode (one line) DC4 Cancels double-wide mode selected by SO or ESC SO. Does not cancel double-wide mode selected by ESC W or ESC !. Control code: DC4 Hexadecimal: 14 Double-Wide Mode ESC W n Selects double-wide mode for n =1, or cancels for n =0. Double-wide mode doubles the width of all characters, bu[...]

  • Page 36

    Epson FX Emulation Page 3-8 Character Attributes Select Emphasized Mode ESC E Selects emphasized mode. This makes characters bolder by printing an extra dot to the right of each dot normally found in the character matrix. This will cut the print speed in half, but will not require an additional pass of the print head. Overrides the "Impact:&qu[...]

  • Page 37

    Epson FX Emulation Page 3-9 Select Italic Mode ESC 4 Selects italic mode. This causes italic characters to be printed by setting the MSB (most significant bit) of all following printable characters to one. The effect is to map characters from the bottom half (non-italic) of the font to the top half (italic) of the font. For this to work correctly, [...]

  • Page 38

    Epson FX Emulation Page 3-10 Character Sets Select Draft or Letter Quality ESC x n Selects draft for n =0 or letter quality for n =1. Same as ESC k 0 or ESC k 1. Overrides the "Font:" value in the "Setup: FORM" menu. Example: The following escape sequence will select draft print. Escape Sequence: ESC x 0 Hexadecimal: 1B 78 30 Se[...]

  • Page 39

    Epson FX Emulation Page 3-11 Escape Sequence: ESC k 1 Hexadecimal: 1B 6B 01[...]

  • Page 40

    Epson FX Emulation Page 3-12 Select International Character Set ESC R n Selects the international character set as specified by the value of n in the following table. Overrides the "Lang:" value in the "Setup: FORM" menu. n Character Set 0 United States of America 1 France 2 Germany 3 United Kingdom 4 Denmark 5 Sweden 6 Italy 7 [...]

  • Page 41

    Epson FX Emulation Page 3-13 Escape Sequence: ESC t 0 Hexadecimal: 1B 74 30 Enable Printing of High Symbols ESC 6 Enables printing of character values 128 through 159 decimal. If printing is not enabled, these characters will be treated as control codes. Overrides the "Chars:" value in the "Setup: INTERFACE" menu. Escape Sequenc[...]

  • Page 42

    Epson FX Emulation Page 3-14 Line Pitch Select 8 LPI ESC 0 Sets the line spacing to 1/8 of an inch per line (8 lpi). Overrides the "LPI:" value in the "Setup: FORM" menu. Escape Sequence: ESC 0 Hexadecimal: 1B 30 Set Line Spacing to 7/72" ESC 1 Sets the line spacing to 7/72 of an inch per line. Since the distance between pr[...]

  • Page 43

    Epson FX Emulation Page 3-15 Set Line Spacing to n /72" ESC A n Sets the line spacing to n /72 of an inch per line. 0 ≥ n ≥ 255. Since the distance between print head wires is 1/72 of an inch, this is equivalent to setting n wire spacing. Overrides the "LPI:" value in the "Setup: FORM" menu. Example: The following escap[...]

  • Page 44

    Epson FX Emulation Page 3-16 Vertical Position Line Feed LF Causes the current line to be printed, and then advances the paper one line at the current line spacing. If "Auto CR: On" is selected in the "Setup: INTERFACE" menu, a carriage return will also be performed. Control code: LF Hexadecimal: 0A Variable Distance Line Feed E[...]

  • Page 45

    Epson FX Emulation Page 3-17 Form Length and Form Feed Form length is the distance from the top of the form to the bottom of the form. Form length may be specified either in inches, or in lines. A form feed will advance the paper to the top of the next form. Some programs do not send form feeds. Instead, they count line feeds, and send the appropri[...]

  • Page 46

    Epson FX Emulation Page 3-18 Example: The following escape sequence will set form length to 11 inches, regardless of what line spacing is set. Escape sequence: ESC C NUL 11 Hexadecimal: 1B 43 00 0B Form Feed FF Causes the current line to be printed, and then advances the paper to the top of the next form. If a top margin is set, printing will conti[...]

  • Page 47

    Epson FX Emulation Page 3-19 Horizontal Tabs Default horizontal tab stops are set at every eighth column, i.e. column 8, 16, 24, 32, 40, etc. The default tab stops are associated with columns, not absolute physical positions. Changing character spacing will change the physical position of the default tab stops. User defined horizontal tab stops are[...]

  • Page 48

    Epson FX Emulation Page 3-20 Relative Horizontal Tab ESC n1 n2 Move the carriage position to the left or right of the current carriage position. The displacement is specified in 120ths of an inch, and calculated as ( ) n n 1 2 256 120 + ↔ inches. The new position is relative to the current carriage position, and must fall within the left and ri[...]

  • Page 49

    Epson FX Emulation Page 3-21 Vertical Tabs Vertical tab stops are associated with absolute physical positions, not with lines. The tab stops are set relative to the current line spacing, but subsequent changes in line spacing will not affect the physical position of the tab stops. Vertical Tab VT Causes the current line to be printed, and then adva[...]

  • Page 50

    Epson FX Emulation Page 3-22 Horizontal Margins Printing is allowed only within the left and right margins. Exceeding the right margin will cause line wrap, setting the current print position to the left margin and advancing the paper one line. Set Left Margin ESC l n Sets the left margin to column n at the current character spacing. If character s[...]

  • Page 51

    Epson FX Emulation Page 3-23 Vertical Margins Printing is allowed only within the top and bottom margins. Exceeding the bottom margin will set the current line to the top margin of the next form. Set Perforation Skip ESC N n Sets the perforation skip distance to n lines at the current line spacing. 1 ≥ n ≥ 255. If line spacing is changed after [...]

  • Page 52

    Epson FX Emulation Page 3-24 Graphics Graphics mode gives the user complete control over every dot position on the paper. Graphics may be printed with various horizontal densities from 60 to 240 dpi, and a vertical density of 72 dpi. Each byte of graphics data represents a vertical column of eight dots, with the MSB (most significant bit) correspon[...]

  • Page 53

    Epson FX Emulation Page 3-25 60 DPI Graphics ESC K n1 n2 data Selects eight wire single density (60 dpi) graphics for n1 + ( n2 x 256) columns of data. Example: The following escape sequence will print six bytes of graphics data at 60 dpi. The resulting figure will resemble a backslash character, "". Escape Sequence: ESC K 6 0 128 64 32 [...]

  • Page 54

    Epson FX Emulation Page 3-26 m DPI Graphics ESC * m n1 n2 data Selects eight wire graphics of density m as listed in the following table for n1 + ( n2 x 256) columns of data. m Density _______ 0 60 dpi (same as ESC K) 1 120 dpi (same as ESC L) 2 120 dpi high speed (same as ESC Y) 3 240 dpi high speed (same as ESC Z) 4 80 dpi 5 72 dpi 6 90 dpi 7 144[...]

  • Page 55

    Epson FX Emulation Page 3-27 Printer Controls Bell BEL Causes the printer's bell to sound. Control code: BEL Hexadecimal: 07 Unidirectional Mode (one line) ESC < Selects unidirectional mode for the current line (until a carriage return is received). This will force the line to print from left to right. Escape Sequence: ESC < Hexadecimal:[...]

  • Page 56

    Epson FX Emulation Page 3-28 Forms and Tractors The FormsPro 4503 contains three sets of paper tractors (front, center, and rear). It is possible, via software, to change to a different set of tractors and continue printing. You may change to a different set of tractors by selecting a different form. The "Path:" value in the "Setup: [...]

  • Page 57

    Epson FX Emulation Page 3-29 Emulations Select Software Interface n ESC ESC n Selects the software interface n according to the table below. n Software Interface 0 Test (reserved for factory use) 1 ANSI X3.64 Emulation 2 Epson FX Emulation 3 Bar Code Mode (optional) 4 IBM Proprinter Emulation 5 DEC LA120 Emulation 6 TTY Emulation 7 Printek Emulatio[...]

  • Page 58

    Epson FX Emulation Page 3-30 Control Codes and Escape Sequences Sorted Alphabetically BEL Bell BS Backspace CAN Cancel Line CR Carriage Return DC2 Cancel Condensed Mode DC3 Deselect Printer DC4 Cancel Double-Wide Mode (one line) DEL Delete Character ESC ! n Master Print Mode Select ESC # Cancel MSB Control ESC * m n1 n2 data m DPI Graphics ESC - n [...]

  • Page 59

    Epson FX Emulation Page 3-31 ESC K n1 n2 data 60 DPI Graphics ESC L n1 n2 data 120 DPI Graphics ESC M Select 12 CPI ESC N n Set Perforation Skip ESC O Cancel Perforation Skip ESC P Select 10 CPI ESC Q n Set Right Margin ESC R n Select International Character Set ESC S n Select Subscript or Superscript Mode ESC SI Select Condensed Mode ESC SO Select[...]

  • Page 60

    [...]

  • Page 61

    Page 4-1 IBM PROPRINTER EMULATION Introduction This section describes the control codes and escape sequences comprising IBM Proprinter emulation. This emulation may be selected by specifying "Mode: Proprinter" in the "Setup: INTERFACE" menu, or via software with the ESC ESC 4 sequence. While this emulation is selected, control c[...]

  • Page 62

    IBM Proprinter Emulation Page 4-2 a documented control code or escape sequence, refer to the hex representation in the provided example. This should clarify any ambiguity. The examples may also be helpful when analyzing a hex dump (see chapter 8) printed by the printer. Column and line numbers begin at one, not at zero. Keep this in mind when setti[...]

  • Page 63

    IBM Proprinter Emulation Page 4-3 Control Codes and Escape Sequences Grouped by Function Communications Cancel Line CAN Cancels all printable text in the current print line. Does not affect any control codes or escape sequences. Control code: CAN Hexadecimal: 18 End of Text ETX If "ETX/ACK: On" is specified in the "Setup: INTERFACE&q[...]

  • Page 64

    IBM Proprinter Emulation Page 4-4 Character Size The FormsPro 4000 is capable of supporting 10, 12, 13.3, 15, 16.7, 17.14, and 20 cpi, but most emulations support only a subset of these. IBM Proprinter emulation supports 10, 12, 17.14, and 20 cpi via software, but does not support 13.3, 15 or 16.7 cpi. Every emulation supports 10 cpi, and we consid[...]

  • Page 65

    IBM Proprinter Emulation Page 4-5 Select Condensed Mode SI (or) ESC SI Selects condensed mode. The resulting character spacing will be 17.14 cpi if 10 cpi was selected, or 20 cpi if 12 cpi was selected. Control code: SI Hexadecimal: 0F Escape Sequence: ESC SI Hexadecimal: 1B 0F Select Double-Wide Mode (one line) SO (or) ESC SO Selects double-wide m[...]

  • Page 66

    IBM Proprinter Emulation Page 4-6 Double-High Mode ESC [ @ n1 n2 m1 m2 m3 m4 Selects single or double-high mode, single or double-wide mode, and single or double line feeds. The two bytes n1 and n2 specify how many mode bytes ( m1 , m2 , m3 , m4 ) follow. Theoretically, there may be n1 + ( n2 x 256) mode bytes. Actually, n2 must be 0, and n1 may be[...]

  • Page 67

    IBM Proprinter Emulation Page 4-7 Character Attributes Select Emphasized Mode ESC E Selects emphasized mode. This makes characters bolder by printing an extra dot to the right of each dot normally found in the character matrix. This will cut the print speed in half, but will not require an additional pass of the print head. Overrides the "Impa[...]

  • Page 68

    IBM Proprinter Emulation Page 4-8 Character Sets Select Character Set 1 ESC 7 Selects character set 1. Disables printing of character values 0 through 31 decimal, and 128 through 159 decimal, so these characters will be treated as control codes. Overrides the "Chars:" value in the "Setup: INTERFACE" menu. Escape Sequence: ESC 7 [...]

  • Page 69

    IBM Proprinter Emulation Page 4-9 Select Print Mode ESC I n Selects print mode n according to the following chart. Overrides the "Font:" value in the "Setup: FORM" menu. n Print Mode 0 Draft 1 Draft 12 cpi 2 Letter Quality 3 Letter Quality Example: The following escape sequence will select the IBM Proprinter letter quality font.[...]

  • Page 70

    IBM Proprinter Emulation Page 4-10 Set Line Spacing to n /216" ESC 3 n Sets the line spacing to n /216 of an inch per line. 0 ≥ n ≥ 255. Overrides the "LPI:" value in the "Setup: FORM" menu. NOTE: The actual resolution of the FormsPro 4000 paper stepper motor is 1/288 of an inch. When spacing is specified in 1/216 of an[...]

  • Page 71

    IBM Proprinter Emulation Page 4-11 Horizontal Position Carriage Return CR Causes the current line to be printed, and then sets the current print position to the left margin. If "Auto LF: On" is selected in the "Setup: INTERFACE" menu, a line feed will also be performed. Control code: CR Hexadecimal: 0D Backspace BS Causes the cu[...]

  • Page 72

    IBM Proprinter Emulation Page 4-12 Form Length and Form Feed Form length is the distance from the top of the form to the bottom of the form. Form length may be specified either in inches, or in lines. A form feed will advance the paper to the top of the next form. Some programs do not send form feeds. Instead, they count line feeds, and send the ap[...]

  • Page 73

    IBM Proprinter Emulation Page 4-13 Example: The following escape sequence will set form length to 11 inches, regardless of what line spacing is set. Escape sequence: ESC C NUL 11 Hexadecimal: 1B 43 00 0B Form Feed FF Causes the current line to be printed, and then advances the paper to the top of the next form. If a top margin is set, printing will[...]

  • Page 74

    IBM Proprinter Emulation Page 4-14 Horizontal Tabs Default horizontal tab stops are set at every eighth column, i.e. column 9, 17, 25, 33, 41, etc. The default tab stops are associated with columns, not absolute physical positions. Changing character spacing will change the physical position of the default tab stops. User defined horizontal tab sto[...]

  • Page 75

    IBM Proprinter Emulation Page 4-15 Vertical Tabs Vertical tab stops are associated with absolute physical positions, not with lines. The tab stops are set relative to the current line spacing, but subsequent changes in line spacing will not affect the physical position of the tab stops. Vertical Tab VT Causes the current line to be printed, and the[...]

  • Page 76

    IBM Proprinter Emulation Page 4-16 Escape Sequence: ESC R Hexadecimal: 1B 52[...]

  • Page 77

    IBM Proprinter Emulation Page 4-17 Horizontal Margins Printing is allowed only within the left and right margins. Exceeding the right margin will cause line wrap, setting the current print position to the left margin and advancing the paper one line. Set Left and Right Margin ESC X n1 n2 Sets the left margin to column n1 and the right margin to col[...]

  • Page 78

    IBM Proprinter Emulation Page 4-18 Vertical Margins Printing is allowed only within the top and bottom margins. Exceeding the bottom margin will set the current line to the top margin of the next form. Set Perforation Skip ESC N n Sets the perforation skip distance to n lines at the current line spacing. 1 ≥ n ≥ 255. If line spacing is changed [...]

  • Page 79

    IBM Proprinter Emulation Page 4-19 Graphics Graphics mode gives the user complete control over every dot position on the paper. Graphics may be printed with various horizontal densities from 60 to 240 dpi, and a vertical density of 72 dpi. Each byte of graphics data represents a vertical column of eight dots, with the MSB (most significant bit) cor[...]

  • Page 80

    IBM Proprinter Emulation Page 4-20 60 DPI Graphics ESC K n1 n2 data Selects eight wire single density (60 dpi) graphics for n1 + ( n2 x 256) columns of data. Example: The following escape sequence will print six bytes of graphics data at 60 dpi. The resulting figure will resemble a backslash character, "". Escape Sequence: ESC K 6 0 128 [...]

  • Page 81

    IBM Proprinter Emulation Page 4-21 Printer Controls Bell BEL Causes the printer's bell to sound. Control code: BEL Hexadecimal: 07 Unidirectional Mode ESC U n Selects unidirectional mode for n =1, or bidirectional mode for n =0. Printing is normally bidirectional. Unidirectional printing provides more accurate positioning, but causes lower thr[...]

  • Page 82

    IBM Proprinter Emulation Page 4-22 Emulations Select Software Interface n ESC ESC n Selects the software interface n according to the table below. n Software Interface 0 Test (reserved for factory use) 1 ANSI X3.64 Emulation 2 Epson FX Emulation 3 Bar Code Mode (optional) 4 IBM Proprinter Emulation 5 DEC LA120 Emulation 6 TTY Emulation 7 Printek Em[...]

  • Page 83

    IBM Proprinter Emulation Page 4-23 Control Codes and Escape Sequences Sorted Alphabetically BEL Bell BS Backspace CAN Cancel Line CR Carriage Return DC2 Select 10 CPI DC4 Cancel Double-Wide Mode (one line) ESC - n Underline Mode ESC 0 Select 8 LPI ESC 1 Set Line Spacing to 7/72" ESC 2 Start Line Spacing ESC 3 n Set Line Spacing to n /216"[...]

  • Page 84

    IBM Proprinter Emulation Page 4-24 ESC T Cancel Subscript and Superscript Mode ESC U n Unidirectional Mode ESC W n Double-Wide Mode ESC X n1 n2 Set Left and Right Margin ESC Y n1 n2 data High Speed 120 DPI Graphics ESC Z n1 n2 data High Speed 240 DPI Graphics ESC [ @ n1 n2 m1 m2 m3 m4 Double-High Mode ESC n1 n2 Print Characters ESC ^ n Print Sing[...]

  • Page 85

    Page 5-1 DEC LA120 EMULATION Introduction This section describes the control codes and escape sequences comprising DEC LA120 emulation. This emulation may be selected by specifying "Mode: LA120" in the "Setup: INTERFACE" menu, or via software with the ESC ESC 5 sequence. While this emulation is selected, control codes and escape[...]

  • Page 86

    DEC LA120 Emulation Page 5-2 The " f " at the end of the escape sequence represents the final character. It terminates the sequence, and specifies the function to be performed. Spaces are used when documenting escape sequences to increase readability. The spaces within the sequences are for readability only; they are not part of the seque[...]

  • Page 87

    DEC LA120 Emulation Page 5-3 Control Codes and Escape Sequences Grouped by Function Communications Null NUL This control code is ignored by the printer. Control code: NUL Hexadecimal: 00 Delete DEL This control code is ignored by the printer. Control code: DEL Hexadecimal: 7F End of Text ETX If "ETX/ACK: On" is specified in the "Setu[...]

  • Page 88

    DEC LA120 Emulation Page 5-4 Character Size The FormsPro 4000 is capable of supporting 10, 12, 13.3, 15, 16.7, 17.14, and 20 cpi, but most emulations support only a subset of these. LA120 emulation supports 10, 12, 13.3, and 16.7 cpi via software, but does not support 15, 17.14, or 20 cpi. Every emulation supports 10 cpi, and we consider this to be[...]

  • Page 89

    DEC LA120 Emulation Page 5-5 Example: The following escape sequence will select 10 cpi character spacing. If "CPI: 10" was not specified in the "Setup: FORM" menu, the specified default character pitch will be selected instead of 10 cpi. Escape Sequence: ESC [ w Hexadecimal: 1B 5B 77 Example: The following escape sequence will s[...]

  • Page 90

    DEC LA120 Emulation Page 5-6 Character Sets Select International Character Set ESC ( a Selects the international character set as specified by the character a in the following table. Overrides the "Lang:" value in the "Setup: FORM" menu. a Character Set A United Kingdom B United States of America C Sweden E Denmark H Sweden K Ge[...]

  • Page 91

    DEC LA120 Emulation Page 5-7 Line Pitch Set Line Spacing ESC [ n z Sets the line spacing as specified in the following table. Omitting n is equivalent to specifying zero. n line pitch 0 6 lpi 1 6 lpi 2 8 lpi 3 12 lpi 4 2 lpi 5 3 lpi 6 4 lpi Overrides the "LPI:" value in the "Setup: FORM" menu. Example: The following escape seque[...]

  • Page 92

    DEC LA120 Emulation Page 5-8 Horizontal Position Carriage Return CR Causes the current line to be printed, and then sets the current print position to the left margin. If "Auto LF: On" is selected in the "Setup: INTERFACE" menu, a line feed will also be performed. Control code: CR Hexadecimal: 0D Backspace BS Causes the current [...]

  • Page 93

    DEC LA120 Emulation Page 5-9 Vertical Position Line Feed LF (or) IND (or) ESC D Causes the current line to be printed, and then advances the paper one line at the current line spacing. If "Auto CR: On" is selected in the "Setup: INTERFACE" menu, a carriage return will also be performed. Control code: LF Hexadecimal: 0A Control c[...]

  • Page 94

    DEC LA120 Emulation Page 5-10 Horizontal and Vertical Position New Line NEL (or) ESC E Causes the current line to be printed, and then sets the current print position to the left margin and performs a line feed. Equivalent to a carriage return (CR) line feed (LF) combination. Control code: NEL Hexadecimal: 85 Escape Sequence: ESC E Hexadecimal: 1B [...]

  • Page 95

    DEC LA120 Emulation Page 5-11 Form Length and Form Feed Form length is the distance from the top of the form to the bottom of the form. A form feed will advance the paper to the top of the next form. Some programs do not send form feeds. Instead, they count line feeds, and send the appropriate number of line feeds to fill out the page. The usual ra[...]

  • Page 96

    DEC LA120 Emulation Page 5-12 Horizontal Tabs Horizontal tab stops are associated with columns, not absolute physical positions. Changing character spacing will change the physical position of the tab stops. Default tab stops are set at every eighth column, i.e. column 9, 17, 25, 33, 41, etc. If different tab stops are to be set, the default tab st[...]

  • Page 97

    DEC LA120 Emulation Page 5-13 will change the physical position of the tab stops. The leftmost column is column one. Default tab stops are set at every eighth column, i.e. column 9, 17, 25, 33, 41, etc. The tab stops set by this escape sequence will be added to previously set tab stops, including the default tab stops. If this is not desired, the o[...]

  • Page 98

    DEC LA120 Emulation Page 5-14 Vertical Tabs Vertical tab stops are associated with lines, not absolute physical positions. Changing line spacing will change the physical position of the tab stops. Vertical Tab VT Causes the current line to be printed, and then advances the paper to the next vertical tab stop. If no vertical tab stops are set, then [...]

  • Page 99

    DEC LA120 Emulation Page 5-15 Example: The following escape sequence will set vertical tab stops at line 7, 13, and 25. If line spacing is 6 lpi, this will result in tab stops one inch, two inches, and four inches from the top of the form. Escape Sequence: ESC [ 7 ; 1 3 ; 2 5 v Hexadecimal: 1B 5B 37 3B 31 33 3B 32 35 76 Example: The following escap[...]

  • Page 100

    DEC LA120 Emulation Page 5-16 Horizontal Margins Printing is allowed only within the left and right margins. Exceeding the right margin will cause line wrap, setting the current print position to the left margin and advancing the paper one line. Set Left and Right Margin ESC [ n1 ; n2 s Sets the left margin to column n1 and the right margin to colu[...]

  • Page 101

    DEC LA120 Emulation Page 5-17 Vertical Margins Printing is allowed only within the top and bottom margins. Exceeding the bottom margin will set the current line to the top margin of the next form. Set Top and Bottom Margins ESC [ n1 ; n2 r Sets the top margin to line n1 and the bottom margin to line n2 at the current line spacing. 0 ≥ n1 ≥ 255,[...]

  • Page 102

    DEC LA120 Emulation Page 5-18 Printer Controls Bell BEL Causes the printer's bell to sound. Control code: BEL Hexadecimal: 07 Select Automatic Carriage Return ESC [ 20 h Selects automatic carriage return mode. This causes the printer to automatically perform a carriage return (CR) for each line feed (LF), vertical tab (VT), or form feed (FF) t[...]

  • Page 103

    DEC LA120 Emulation Page 5-19 Emulations Select Software Interface n ESC ESC n Selects the software interface n according to the table below. n Software Interface 0 Test (reserved for factory use) 1 ANSI X3.64 Emulation 2 Epson FX Emulation 3 Bar Code Mode (optional) 4 IBM Proprinter Emulation 5 DEC LA120 Emulation 6 TTY Emulation 7 Printek Emulati[...]

  • Page 104

    DEC LA120 Emulation Page 5-20 Control Codes and Escape Sequences Sorted Alphabetically BEL Bell BS Backspace CR Carriage Return DEL Delete ESC ( a Select International Character Set ESC 1 Set Horizontal Tab Stop ESC 2 Clear All Horizontal Tab Stops ESC 3 Set Vertical Tab Stop ESC 4 Clear All Vertical Tab Stops ESC D Line Feed ESC E New Line ESC ESC[...]

  • Page 105

    DEC LA120 Emulation Page 5-21 FF Form Feed HT Horizontal Tab HTS Set Horizontal Tab Stop IND Line Feed LF Line Feed NEL New Line NUL Null VT Vertical Tab VTS Set Vertical Tab Stop[...]

  • Page 106

    [...]

  • Page 107

    Page 6-1 SIMPLE TTY EMULATION Introduction This section describes the control codes and escape sequences comprising simple TTY emulation. This emulation may be selected by specifying "Mode: TTY" in the "Setup: INTERFACE" menu, or via software with the ESC ESC 6 sequence. While this emulation is selected, control codes and escape[...]

  • Page 108

    Simple TTY Emulation Page 6-2 Control Codes and Escape Sequences Grouped by Function Communications End of Text ETX If "ETX/ACK: On" is specified in the "Setup: INTERFACE" menu, then receipt of an ETX causes the printer to transmit an ACK to the host computer. Since the ETX may be a legal value within an escape sequence, it is t[...]

  • Page 109

    Simple TTY Emulation Page 6-3 Vertical Position Line Feed LF Causes the current line to be printed, and then advances the paper one line at the current line spacing. If "Auto CR: On" is selected in the "Setup: INTERFACE" menu, a carriage return will also be performed. Control code: LF Hexadecimal: 0A Form Length and Form Feed Fo[...]

  • Page 110

    Simple TTY Emulation Page 6-4 Horizontal Tabs Default horizontal tab stops are set at every eighth column, i.e. column 8, 16, 24, 32, 40, etc. (The first column is column zero.) The default tab stops are associated with columns, not absolute physical positions. Changing character spacing will change the physical position of the default tab stops. H[...]

  • Page 111

    Simple TTY Emulation Page 6-5 Emulations Select Software Interface n ESC ESC n Selects the software interface n according to the table below. n Software Interface 0 Test (reserved for factory use) 1 ANSI X3.64 Emulation 2 Epson FX Emulation 3 Bar Code Mode (optional) 4 IBM Proprinter Emulation 5 DEC LA120 Emulation 6 TTY Emulation 7 Printek Emulati[...]

  • Page 112

    Simple TTY Emulation Page 6-6 Control Codes and Escape Sequences Sorted Alphabetically BEL Bell BS Backspace CR Carriage Return ESC ESC n Select Software Interface n ETX End of Text FF Form Feed HT Horizontal Tab LF Line Feed VT Vertical Tab[...]

  • Page 113

    Page 7-1 PRINTEK EMULATION Introduction This section describes the control codes and escape sequences comprising Printek emulation. This emulation may be selected by specifying "Mode: Printek" in the "Setup: INTERFACE" menu, or via software with the ESC ESC 7 sequence. While this emulation is selected, control codes and escape s[...]

  • Page 114

    Printek Emulation Page 7-2 a documented control code or escape sequence, refer to the hex representation in the provided example. This should clarify any ambiguity. The examples may also be helpful when analyzing a hex dump (see chapter 8) printed by the printer. Column and line numbers begin at zero, not at one. Keep this in mind when setting tabs[...]

  • Page 115

    Printek Emulation Page 7-3 Control Codes and Escape Sequences Grouped by Function Communications End of Text ETX If "ETX/ACK: On" is specified in the "Setup: INTERFACE" menu, then receipt of an ETX causes the printer to transmit an ACK to the host computer. Since the ETX may be a legal value within an escape sequence, it is the [...]

  • Page 116

    Printek Emulation Page 7-4 Character Size Set Character Spacing ESC SP n Sets character spacing in decipoints ( n /720 of an inch). Overrides the "CPI:" value in the "Setup: FORM" menu. Supported values are shown in the following table. n Character Size 72 10 cpi 60 12 cpi 54 13.3 cpi 48 15 cpi 43 16.74 cpi 42 17.14 cpi 36 20 cp[...]

  • Page 117

    Printek Emulation Page 7-5 the height of all characters. These modes are mutually exclusive, and none of them affect character width. Example: The following escape sequence will select double-high mode. Escape Sequence: ESC S 3 Hexadecimal: 1B 53 03 Character Attributes Emphasized Mode ESC E n Selects emphasized mode for n =1, or cancels for n =0. [...]

  • Page 118

    Printek Emulation Page 7-6 Character Sets Select Font ESC F n Select font n according to the following table. n Font 0 Epson FX Draft 1 Epson FX Letter Quality 2 Proprinter Draft 3 Proprinter Letter Quality 10 EBCDIC Draft (optional) 11 EBCDIC Letter Quality (optional) 12 OCR-A Optical Quality (optional) 13 OCR-B Optical Quality (optional) 32 Epson[...]

  • Page 119

    Printek Emulation Page 7-7 Print Single Character ESC n Prints the character n from the selected font. This sequence may be used to print a character that is normally treated as a control code. Example: The following escape sequence will print a left arrow, if a Proprinter font is selected. This character is normally not printable, since it is tr[...]

  • Page 120

    Printek Emulation Page 7-8 Horizontal Position Carriage Return CR Causes the current line to be printed, and then sets the current print position to the left margin. If "Auto LF: On" is selected in the "Setup: INTERFACE" menu, a line feed will also be performed. Control code: CR Hexadecimal: 0D Backspace BS Causes the current li[...]

  • Page 121

    Printek Emulation Page 7-9 Form Length and Form Feed Form length is the distance from the top of the form to the bottom of the form. A form feed will advance the paper to the top of the next form. Some programs do not send form feeds. Instead, they count line feeds, and send the appropriate number of line feeds to fill out the page. The usual ratio[...]

  • Page 122

    Printek Emulation Page 7-10 Horizontal Tabs Default horizontal tab stops are set at every eighth column, i.e. column 8, 16, 24, 32, 40, etc. The default tab stops are associated with columns, not absolute physical positions. Changing character spacing will change the physical position of the default tab stops. User defined horizontal tab stops are [...]

  • Page 123

    Printek Emulation Page 7-11 Vertical Tabs Vertical tab stops are associated with absolute physical positions, not with lines. The tab stops are set relative to the current line spacing, but subsequent changes in line spacing will not affect the physical position of the tab stops. Vertical Tab VT Causes the current line to be printed, and then advan[...]

  • Page 124

    Printek Emulation Page 7-12 Horizontal and Vertical Tabs Reset Horizontal and Vertical Tab Stops ESC R Clears all currently set horizontal tab stops, and restores the default horizontal tab stops. Default horizontal tab stops are set at every eighth column, i.e. column 8, 16, 24, 32, 40, etc. Clears all currently set vertical tab stops. Escape Sequ[...]

  • Page 125

    Printek Emulation Page 7-13 Vertical Margins Printing is allowed only within the top and bottom margins. Exceeding the bottom margin will set the current line to the top margin of the next form. Set Top and Bottom Margins ESC V n1 n2 Sets the top margin to line n1 and the bottom margin to line n2 at the current line spacing. 0 ≥ n1 ≥ 255, 0 ≥[...]

  • Page 126

    Printek Emulation Page 7-14 Graphics Graphics mode gives the user complete control over every dot position on the paper. Graphics may be printed with various horizontal densities from 60 to 240 dpi, and a vertical density of 72 dpi. Each byte of graphics data represents a vertical column of eight dots, with the MSB (most significant bit) correspond[...]

  • Page 127

    Printek Emulation Page 7-15 m DPI Graphics ESC * m n1 n2 data Selects eight wire graphics of density m as listed in the following table for n2 + ( n1 x 256) columns of data. m Density _ 6 240 dpi 7 240 dpi high speed 8 180 dpi 9 180 dpi high speed 10 144 dpi 11 144 dpi high speed 12 120 dpi 13 120 dpi high speed 14 102.86 dpi 15 102.86 dpi high spe[...]

  • Page 128

    Printek Emulation Page 7-16 m DPI Graphics ESC # m n1 n2 data Selects eight wire graphics of density m as listed in the following table for n2 + ( n1 x 256) columns of data. m Density 90 90 dpi 100 100 dpi 135 135 dpi 150 150 dpi NOTE: Horizontal movement of the FormsPro 4000 print head is measured in intervals of 1/720 of an inch. The supported gr[...]

  • Page 129

    Printek Emulation Page 7-17 Printer Controls Bell BEL Causes the printer's bell to sound. Control code: BEL Hexadecimal: 07 Unidirectional Mode ESC U n Selects unidirectional mode for n =1, or bidirectional mode for n =0. Printing is normally bidirectional. Unidirectional printing provides more accurate positioning, but causes lower throughput[...]

  • Page 130

    Printek Emulation Page 7-18 AutoCut ESC B n Selects Auto Cut On for n =1, or Auto Cut Off for n =0 for the currently selected form if the optional Printek FormsCutter is installed. When Auto Cut is turned on, the FormsCutter will automatically cut off each form as it is ejected from the printer. Example: The following escape sequence will select Au[...]

  • Page 131

    Printek Emulation Page 7-19 Forms and Tractors The FormsPro 4503 contains three sets of paper tractors (front, center, and rear). It is possible, via software, to change to a different set of tractors and continue printing. You may change to a different set of tractors by selecting a different form. The "Path:" value in the "Setup: F[...]

  • Page 132

    Printek Emulation Page 7-20 Emulations Select Software Interface n ESC ESC n Selects the software interface n according to the table below. n Software Interface 0 Test (reserved for factory use) 1 ANSI X3.64 Emulation 2 Epson FX Emulation 3 Bar Code Mode (optional) 4 IBM Proprinter Emulation 5 DEC LA120 Emulation 6 TTY Emulation 7 Printek Emulation[...]

  • Page 133

    Printek Emulation Page 7-21 Control Codes and Escape Sequences Sorted Alphabetically BEL Bell BS Backspace CR Carriage Return DC3 Deselect Printer ESC # m n1 n2 data m DPI Graphics ESC * m n1 n2 data m DPI Graphics ESC @ Reset ESC A n Automatic Modes ESC D n Double-Strike Mode ESC E n Emphasized Mode ESC ESC n Select Software Interface n ESC F n Se[...]

  • Page 134

    [...]

  • Page 135

    Page 8-1 HEX DUMP MODE Hex dump mode provides a way to print, in a readable form, all the data received by the printer. This tool is useful to programmers for diagnosing problems with control codes and escape sequences sent to the printer. Hex dump mode may also be used to detect what commands are being sent by a particular software application to [...]

  • Page 136

    [...]

  • Page 137

    Page A-1 OPTIONAL COAXIAL/TWINAXIAL INTERFACE Introduction This appendix describes the automatic port switching between the coaxial/twinaxial port and the parallel port available as a part of this interface (this interface replaces the printer's standard parallel interface). This appendix also describes how to send control codes and escape seq[...]

  • Page 138

    Optional Coaxial/Twinaxial Interface Page A-2 Command Interpreter A user friendly command interpreter has been built into the coaxial/twinaxial interface. This feature allows you to send any hexadecimal character or string of characters to the printer through the coaxial/twinaxial port. The logical not character ( __ ) used below may be shown as th[...]

  • Page 139

    Optional Coaxial/Twinaxial Interface Page A-3 To assist in verifying that the proper EBCDIC characters are being sent to the coaxial/twinaxial port from the host, refer to the interface diagnostics section in the coaxial/twinaxial appendix in the Operator's Manual for information on how to use the Code Dump mode of the interface. To verify tha[...]

  • Page 140

    [...]

  • Page 141

    Page B-1 PRINTING BASIC BAR CODES Introduction This section describes the control codes and escape sequences comprising bar code emulation. This emulation may be selected by specifying "Mode: Bar Codes" in the "Setup: INTERFACE" menu, or via software with the ESC ESC 3 sequence. While this emulation is selected, control codes an[...]

  • Page 142

    Printing Bar Codes Page B-2 The Printek FormsPro 4000 series printers internally support the following types of basic bar codes: Code 39 1:1:2:2 Ratio Code 39 1:1:3:3 Ratio Code 39 1:2:4:5 Ratio Code 39 1:1:2.5:2.5 Ratio (LOGMAR Standard Density) Code 39 1.5:1.5:3.5:3.5 Ratio (LOGMAR Medium Density) Code 39 2:2:4.5:4.5 Ratio (LOGMAR Low Density) 2-[...]

  • Page 143

    Printing Bar Codes Page B-3 These bar codes can be automatically printed with the use of a few simple bar code sequences. The height of the bar codes is easily varied. Additionally, the dimensions of the bars and spaces may be varied to produce bar codes of different widths and ratios. Horizontal and vertical positioning sequences allow precise pla[...]

  • Page 144

    Printing Bar Codes Page B-4 Bar Code Sequences To print bar codes, the following sequences are used in bar code mode: BAR CODE SEQUENCE FUNCTION BEL Sound the Bell. ESC ESC n Change Emulation Mode ETX ETX/ACK Software Handshake. FF Form Feed. LF Fractional Line Feed (to next line boundary) ^BNxccc...c^G Horizontal Bar Code. ^BN9xddddccc...c^G Varia[...]

  • Page 145

    Printing Bar Codes Page B-5 Entering/Exiting Bar Code Mode Bar code mode is entered by sending the escape sequence: ESC ESC ETX (27 27 03 decimal, 1B 1B 03 hex). Bar code mode is used only to process the bar code sequences described in this document. While in bar code mode, other printable text, text mode escape sequences and control characters, gr[...]

  • Page 146

    Printing Bar Codes Page B-6 Bar Code Definition The sequence used to define a horizontal bar code is ^BNxccc...c^G ^B Two Character Sequence Identifier for Horizontal Bar Code Definition. N Reserved Parameter. x Bar Code Type. “a” = Code 39 1:1:2:2 Ratio “b” = Code 39 1:1:3:3 Ratio “c” = Code 39 1:2:4:5 Ratio “d” = Code 39 LOGMAR St[...]

  • Page 147

    Printing Bar Codes Page B-7 Variable Width Bar Code Definition The sequence used to define a variable width, horizontal bar code is ^BN9xddddccc...c^G ^B Two Character Sequence Identifier for Horizontal Bar Code Definition. N Reserved Parameter. 9 Flags Variable Width. x Bar Code Type. “a” = Code 39 1:1:2:2 Ratio “b”= Code 39 1:1:3:3 Ratio [...]

  • Page 148

    Printing Bar Codes Page B-8 The following sequence will print the same bar code, except the bar code will be four times as wide. ^BN9a448812345^G^- Example: Note that when choosing the bar code type off which the variable width bar code will be based, ratio is irrelevant. If a 2-of-5 bar code with ratio 3:3:9:9 (not supported directly) is desired, [...]

  • Page 149

    Printing Bar Codes Page B-9 Bar Code Height The sequence used to specify bar code height is ^Htt ^H Two Character Sequence Identifier for Bar Code Height. tt Height, in Tenth Inches. Range is 01 to 99 (0.1 to 9.9 inches). If this sequence is not used, default bar code height is 0.3 inches. All bar codes printed together horizontally across the page[...]

  • Page 150

    Printing Bar Codes Page B-10 Relative Vertical Tab The sequence used to skip vertical space is ^Jttd ^J Two Character Sequence Identifier for Relative Vertical Tab. ttd Vertical Distance, in Tenth Inches plus Dots. Range of tt is 00 to 99 (0.0 to 9.9 inches). Range of d is 0 to F (0 to 15 dots). The distance specified is relative to the current ver[...]

  • Page 151

    Printing Bar Codes Page B-11 Bar Code Pass Terminator The sequence used to terminate a bar code pass is ^- . A bar code pass may contain vertical tabs (should precede all bar code definitions), height specification, bar code definitions, horizontal tabs, etc. Until the bar code pass terminator is received, no bar codes will be printed. When the pas[...]

  • Page 152

    Printing Bar Codes Page B-12 Mixing Bar Codes and Text By combining the capabilities of text mode and bar code mode, it is possible to print text above, below, and along side bar codes. Example: To print a human-readable interpretation beneath a bar code. The characters “0123456789” are encoded in the following Code 39 standard density LOGMAR b[...]

  • Page 153

    Printing Bar Codes Page B-13 Description of Supported Bar Code Types Code 39 The Code 39 character set contains 43 characters: 0-9, A-Z, -, ., $, /, +, %, and space. A maximum bar code density of approximately 5.5 characters per inch (using type “a”) may be obtained. The printer automatically inserts a narrow space between all valid data charac[...]

  • Page 154

    Printing Bar Codes Page B-14 The two types of interleaved 2-of-5 are not compatible and bar code readers designed to read one type will probably not read the other.[...]

  • Page 155

    Page C-1 ASCII CHARACTER TABLES ASCII Control Code Definitions The following table is provided as a reference to the control character descriptions as provided by the ASCII definition. Not all of these definitions are supported by the FormsPro 4000 and some are emulation dependent. For more information consult the appropriate chapter for the emulat[...]

  • Page 156

    ASCII Character Tables Page C-2 Epson FX Fast Draft Epson FX Draft Epson FX Letter Quality[...]

  • Page 157

    ASCII Character Tables Page C-3 PC Fast Draft PC Draft PC Letter Quality[...]

  • Page 158

    ASCII Character Tables Page C-4 EBCDIC Fast Draft EBCDIC Draft EBCDIC Letter Quality[...]

  • Page 159

    ASCII Character Tables Page C-5 Latin 2 (Slavic) Fast Draft Latin 2 (Slavic) Draft Latin 2 (Slavic) Letter Quality[...]

  • Page 160

    ASCII Character Tables Page C-6 OCR A Font OCR B Font[...]

  • Page 161

    ASCII Character Tables Decimal to Octal to Hexadecimal Conversion Table Dec Oct Hex Char 0 000 00 NUL 1 001 01 SOH 2 002 02 STX 3 003 03 ETX 4 004 04 EOT 5 005 05 ENQ 6 006 06 ACK 7 007 07 BEL 8 010 08 BS 9 011 09 HT 10 012 0A LF 11 013 0B VT 12 014 0C FF 13 015 0D CR 14 016 0E SO 15 017 0F SI 16 020 10 DLE 17 021 11 XON 18 022 12 DC2 19 023 13 XOF[...]

  • Page 162

    [...]

  • Page 163

    Page D-1 PRINTER RESET CONDITIONS The following list describes what conditions are assumed whenever the printer is powered on, the SETUP mode is exited, or a reset escape sequence is received when the printer is operating in an emulation mode which supports such a sequence. This list includes all variables which may be modified by the user for all [...]

  • Page 164

    Printer Reset Conditions Page D-2 underline off[...]

  • Page 165

    Glossary 1 GLOSSARY ANSI American National Standards Institute. ASCII American Standard Code for Information Interchange. baud rate The rate at which characters are transmitted over a serial interface. This is usually the same as bits per second. binary Base two numbering system. Digits are represented by the characters 0 and 1. bit A single binary[...]

  • Page 166

    Glossary Glossary 2 font A group of characters of a given shape or style. hexadecimal Base sixteen numbering system. Digits are represented by the characters 0 through 9 and a through f. interface The connection between the printer and the host computer. LCD Liquid crystal display. LED Light emitting diode. line pitch The vertical spacing of charac[...]

  • Page 167

    Glossary Glossary 3[...]