FormsPro 4000se Series FormsMaster 8000se Series PrintMaster 850 Series Programmer’s Manual ©Printek, Inc.
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, Code V is a trademark of QMS, Inc., QMS is a registered trademark of QMS, Inc.Printek is a registered trademark of Printek, Inc. Specifications subject to change without notice.
TABLE OF CONTENTS INTRODUCTION How to Use This Manual Printer Model Descriptions and Key Features Selecting Emulations Changing Forms/Tractor Paths ANSI X3.
Form Length and Form Feed Horizontal Tabs Vertical Tabs Horizontal and Vertical Tabs Horizontal Margins Vertical Margins Graphics Printer Controls Emulations Control Codes and Escape Sequences Sorted Alphabetically DEC LA120/210 EMULATION Introduction Control Codes and Escape Sequences Grouped by Function Communications Character Size Character Attributes Character Sets Line Pitch Horizontal Position Vertical Position Horizontal and Vertical Position Form Length and Form Feed Horizontal Tabs Vertical Tabs
Horizontal Margins Vertical Margins Graphics Printer Controls Forms and Tractors Emulations Control Codes and Escape Sequences Sorted Alphabetically GENICOM 3840 AND 3410 ANSI EMULATION Introduction Control Codes and Escape Sequences Grouped by Function Communications Character Size Character Set Horizintal Position Vertical Position Horiztonal Tab Vertical Tab Forms Setup Graphics Printer Control Paper Shear ANSI Bar Codes Barcode Options Paper Path Emulations Control Codes and Escape Sequences Sorted Al
INTRODUCTION This manual describes the software interfaces supported by the FormsPro 4000se, FormsMaster 8000se and PrintMaster 850 series printers. 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, loading paper, replacing ribbons, etc.
Introduction Printer Model Descriptions and Key Features The Printek FormsPro 4000se, FormsMaster 8000se and PrintMaster 850 series printers are high speed, heavy duty serial dot matrix printers designed especially for printing upon hard to print forms. Such forms are often not printed adequately by other printers. The printer is also designed to be factory floor rugged while still quiet enough for the office.
Introduction Changing Forms/Tractor Paths As mentioned above, Printek FormsPro 4000se, FormsMaster 8000se and PrintMaster 850 series printers have ten complete sets of forms parameters. These different parameters, or forms, may be selected either from the front panel or with escape sequences. In the FormsPro 4503se and FormsMaster 8003se series printers, selecting a different form may also select a different tractor path.
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 setting “Emulation” to “ANSI X3.64” in the appropriate interface setup menu, or via software with the ESC ESC 1 sequence. While this emulation is selected, control codes and escape sequences from other emulations are not available. Control codes and escape sequences are used to control printer operation.
ANSI X3.64 Emulation This should clarify any ambiguity. The examples may also be helpful when analyzing a hex dump (see Hex Dump chapter) printed by the printer. Some escape sequences refer to the active column or active line. The active column is the column where the next character will be printed. Printing a character or a space will increment the active column. The active line is the line where the next character will be printed. A line feed will increment the active line.
ANSI X3.64 Emulation Control Codes and Escape Sequences Grouped by Function Communications End of Text ETX If “ETX/ACK” is set to “On” in the serial interface setup 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 user's responsibility to ensure that an ETX used for data handshake is not sent within an escape sequence.
ANSI X3.64 Emulation 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 below. Other values for n2 will be ignored. To change only the horizontal or only the vertical spacing, omit the other value from the sequence or set it to zero.
ANSI X3.64 Emulation Character Attributes Select Graphic Rendition ESC [ n m Selects the graphic rendition n from the following table. n 0 1 3 4 Rendition Normal Emphasized Italic Underline For italic mode to work correctly, an Epson FX font must be selected (check the “Font” value in the forms setup menu). The other available fonts do not include italic characters. Example: The following escape sequence will select emphasized mode.
ANSI X3.64 Emulation Absolute Horizontal Tab ESC [ n ` Sets the current print position to column n. The actual position will depend on the current character spacing. If n is less than the left margin, the active column will be set to the left margin. If n is greater than the right margin, then a line feed will be performed and the active column will be set to the left margin. Example: The following escape sequence will set the active column to column 65.
ANSI X3.64 Emulation Partial Line Down (or) PLD ESC K Performs a half line feed. Causes the current line to be printed, and then advances the paper one half line at the current line spacing. If “Auto CR” is set to “On” in the interface setup menu, a carriage return will also be performed. Control code: Hexadecimal: PLD 8B Escape Sequence: Hexadecimal: ESC 1B K 4B Partial Line Up (or) PLU ESC L Performs a reverse half line feed.
ANSI X3.64 Emulation Horizontal and Vertical Position New Line (or) NEL 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: Hexadecimal: NEL 85 Escape Sequence: Hexadecimal: ESC 1B E 45 Form Length and Form Feed Form length is the distance from the top of the form to the bottom of the form.
ANSI X3.64 Emulation 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 stops should first be cleared. Horizontal Tab HT Advances to the next horizontal tab stop.
ANSI X3.64 Emulation Escape Sequence: Hexadecimal: ESC 1B [ 5B 3 33 g 67 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 a line feed is done instead.
ANSI X3.
ANSI X3.64 Emulation Printer Controls Bell BEL Causes the printer's bell to sound. Control code: Hexadecimal: BEL 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) that it receives. Overrides the “Auto CR” value in the interface setup menu.
ANSI X3.64 Emulation Emulations Select Software Interface n ESC ESC n Selects the software interface n according to the table below. n 0 1 2 3 4 5 6 7 ; < = ? @ Software Interface Test (reserved for factory use) ANSI X3.
ANSI X3.
ANSI X3.
ANSI X3.64 Emulation EPSON FX EMULATION Introduction This section describes the control codes and escape sequences comprising Epson FX emulation. This emulation may be selected by setting “Emulation” to “Epson” in the interface setup menu, or via software with the ESC ESC 2 sequence. While this emulation is selected, control codes and escape sequences from other emulations are not available. Control codes and escape sequences are used to control printer operation.
ANSI X3.64 Emulation 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: Hexadecimal: CAN 18 Delete Character DEL Deletes the last printable character from the current line. Does not affect any control codes or escape sequences.
ANSI X3.64 Emulation 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 setting “Data Bits” to “7” in the interface setup menu. Escape Sequence: Hexadecimal: ESC 1B = 3D Set MSB to 1 ESC > Sets the MSB (most significant bit) of all following data to one.
ANSI X3.64 Emulation Via software escape sequences, you can select any character pitch supported by the emulation you are using. All will print as expected, unless you select 10 cpi -- because 10 cpi really selects the default character pitch from setup. If you really want 10 cpi, then you must set “Characters/Inch” to “10” in the forms menu. Likewise, if you want to use the default pitch from setup, you must not override it.
ANSI X3.64 Emulation Cancel Condensed Mode DC2 Cancels condensed mode set by SI or ESC SI. Control code: Hexadecimal: DC2 12 Select double-wide mode (one line) (or) SO ESC SO Selects double-wide mode for one line. Double-wide mode doubles the width of all characters, but does not affect character height. This mode is cancelled by a carriage return or DC4.
ANSI X3.64 Emulation Select Subscript or Superscript Mode ESC S n Selects subscript mode for n=1, or superscript mode for n=0. This will print characters about half the normal height, in the bottom or top half of the normal character cell. Example: The following escape sequence will select superscript mode. Escape Sequence: Hexadecimal: ESC 1B S 53 Cancel Subscript and Superscript Mode 0 30 ESC T Cancels subscript and superscript mode.
ANSI X3.64 Emulation Escape Sequence: Hexadecimal: ESC 1B H 48 Underline Mode ESC - n Selects underline mode for n=1, or cancels for n=0. This mode provides continuous underlining for all characters, including spaces. Example: The following escape sequence will turn underlining on. Escape Sequence: Hexadecimal: ESC 1B 2D Select Italic Mode 1 31 ESC 4 Selects italic mode.
ANSI X3.64 Emulation Master Print Mode Select ESC ! n Selects any valid combination of modes from the following table. The value of n is determined by adding together the values of the desired modes from the table. n 0 1 4 8 16 32 64 128 Attribute 10 cpi 12 cpi Condensed Emphasized Double-Strike Double-Wide Italic Underline Example: The following escape sequence will select 12 cpi condensed, resulting in 20 cpi character spacing.
ANSI X3.64 Emulation Select Font ESC k n Select font n according to the following table.
ANSI X3.64 Emulation 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 “Language” value in the forms menu. Character Set United States of America France Germany United Kingdom Denmark Sweden Italy Spain Japan n 0 1 2 3 4 5 6 7 8 The actual character substitutions are shown in the “International Character Mapping” table below. For this to work correctly, an Epson FX font must be selected (see ESC k).
ANSI X3.64 Emulation 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 “Characters” value in the interface setup menu. Escape Sequence: Hexadecimal: ESC 1B 6 36 Disable Printing of High Symbols ESC 7 Disables printing of character values 128 through 159 decimal. These characters will be treated as control codes.
ANSI X3.64 Emulation Escape Sequence: Hexadecimal: ESC 1B 2 32 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 “Lines/Inch” value in the forms menu. NOTE: The actual resolution of the printer's paper stepper motor is 1/288 of an inch. When spacing is specified in 1/216 of an inch, the printer will actually move paper to the nearest 1/288 of an inch. Example: The following escape sequence will set line spacing to one half inch.
ANSI X3.64 Emulation Backspace BS Causes the current line to be printed, and then moves the current print position one space to the left. The actual distance moved depends on the current character spacing. Backspacing can be done up to, but not beyond, the left margin. Control code: Hexadecimal: BS 08 Vertical Position Line Feed LF Causes the current line to be printed, and then advances the paper one line at the current line spacing.
ANSI X3.64 Emulation on any printer without requiring the correct form length to be set. However, the correct form length should always be set with the control panel setup. Even if the program does not use form feeds, the printer will automatically scroll a completed form up to the tear bar to be torn off. This automatic scroll is based upon form length. The easiest way to set form length is via the “Form Length” value in the forms menu, so it will be correctly set for everyone using the form.
ANSI X3.64 Emulation 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 associated with absolute physical positions, not with columns.
ANSI X3.64 Emulation Set Horizontal Tab Stops ESC D n1 n2 ... nx NUL Clears all currently set horizontal tab stops, and sets new tab stops at column n1, n2, n3, etc. 1≥n≥255. The tab stops must be presented in ascending order. The NUL character, or any tab stop value less than the preceding one, terminates the sequence.
ANSI X3.64 Emulation 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 spacing is changed after setting the left margin, the position of the left margin will not change. The left margin is inclusive.
ANSI X3.64 Emulation 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 setting the skip distance, the skip distance will not be changed. The skip distance is split between the top and bottom margins, so the perforation will be centered in the resulting white space. The specified skip distance must be less than the form length, or the command will be ignored.
ANSI X3.64 Emulation that is eight dots high, and n1 + (n2 x 256) dots long. Be sure to provide the amount of graphics data that you specify, because the printer will not leave graphics mode until it has accepted the specified number of data bytes. If “Data Bits” is set to “7” in the interface setup menu, beware of potential problems in graphics mode. Since the MSB (most significant bit) will always be turned off, it will not be possible to fire the top wire of the print head.
ANSI X3.64 Emulation Example: The following escape sequence will print six bytes of graphics data at 240 dpi. The resulting figure will resemble a backslash character, “\”. Escape Sequence: Hexadecimal: ESC 1B Z 5A 6 06 0 00 128 80 64 40 32 20 m DPI Graphics 16 10 8 08 4 04 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.
ANSI X3.64 Emulation Example: The following escape sequence will force unidirectional printing. Escape Sequence: Hexadecimal: ESC 1B U 55 1 31 Reset ESC @ Deletes all data on the current line and initializes the printer to the default settings for the current form. Restores the default horizontal tab stops. Default tab stops are set at every eighth column, i.e. column 8, 16, 24, 32, 40, etc. Resets top of form to the current position, so it is wise to be at top of form before performing this reset.
ANSI X3.64 Emulation Example: The following escape sequence will load form 2. Escape Sequence: Hexadecimal: ESC 1B EM 19 2 32 Emulations Select Software Interface n ESC ESC n Selects the software interface n according to the table below. n 0 1 2 3 4 5 6 7 ; < = ? @ Software Interface Test (reserved for factory use) ANSI X3.
ANSI X3.64 Emulation Sorted Alphabetically BEL BS CAN CR DC2 DC3 DC4 DEL ESC ! n ESC # ESC $ n1 n2 ESC * m n1 n2 data ESC - n ESC 0 ESC 1 ESC 2 ESC 3 n ESC 4 ESC 5 ESC 6 ESC 7 ESC < ESC = ESC > ESC @ ESC A n ESC B n1 n2 ... nx NUL ESC C NUL n ESC C n ESC D n1 n2 ...
ANSI X3.
IBM PROPRINTER EMULATION Introduction This section describes the control codes and escape sequences comprising IBM Proprinter emulation. This emulation may be selected by setting “Emulation” to “Proprinter” in the interface setup menu, or via software with the ESC ESC 4 sequence. While this emulation is selected, control codes and escape sequences from other emulations are not available. Control codes and escape sequences are used to control printer operation.
IBM Proprinter Emulation 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: Hexadecimal: CAN 18 End of Text ETX If “ETX/ACK” is set to “On” in the interface setup menu, then receipt of an ETX causes the printer to transmit an ACK to the host computer.
IBM Proprinter Emulation Character Size The FormsPro, FormsMaster and PrintMaster series printers are 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 consider this to be the default character pitch.
IBM Proprinter Emulation Select Double-Wide Mode (one line) (or) SO ESC SO Selects double-wide mode for one line. Double-wide mode doubles the width of all characters, but does not affect character height. This mode is cancelled by a carriage return or DC4. Control code: Hexadecimal: SO 0E Escape Sequence: Hexadecimal: ESC 1B SO 0E 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 !.
IBM Proprinter Emulation m3 0 1 2 16 17 18 32 33 34 hex 00 01 02 10 11 12 20 21 22 character height and line spacing no change line feeds unchanged, single-high characters line feeds unchanged, double-high characters single line feeds, character height unchanged single line feeds, single-high characters single line feeds, double-high characters double line feeds, character height unchanged double line feeds, single-high characters double line feeds, double-high characters m4 1 2 hex 01 02 character wi
IBM Proprinter Emulation Cancel Emphasized Mode ESC F Cancels emphasized mode. Overrides the “Impact Force” value in the forms menu. Escape Sequence: Hexadecimal: ESC 1B F 46 Select Double-Strike Mode ESC G Selects double-strike mode. This makes text bolder by printing it twice. This will cut the print speed in half, because an additional pass of the print head will be required. Escape Sequence: Hexadecimal: ESC 1B G 47 Cancel Double-Strike Mode ESC H Cancels double-strike mode.
IBM Proprinter Emulation Escape Sequence: Hexadecimal: ESC 1B 6 36 Print Single Character ESC ^ n Prints the character n from the all characters chart. 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. This character is normally not printable, since it is treated as the ESC control code.
IBM Proprinter Emulation Set Line Spacing to 7/72” ESC 1 Sets the line spacing to 7/72 of an inch per line. Since the distance between print head wires is 1/72 of an inch, this is equivalent to setting seven wire spacing. This is not particularly useful for text, but may be useful for graphics if 7-bit graphics data is being sent. Overrides the “Lines/Inch” value in the forms menu.
IBM Proprinter Emulation Control code: Hexadecimal: CR 0D Backspace BS Causes the current line to be printed, and then moves the current print position one space to the left. The actual distance moved depends on the current character spacing. Backspacing can be done up to, but not beyond, the left margin. Control code: Hexadecimal: BS 08 Vertical Position Line Feed LF Causes the current line to be printed, and then advances the paper one line at the current line spacing.
IBM Proprinter Emulation Set Form Length in Lines ESC C n Sets the form length to n lines at the current line spacing. 1≥n≥255. Maximum form length is 37.9 inches. Invalid form lengths will be ignored. Overrides the “Form Length” value in the forms menu. For example, an 11 inch form contains 66 lines at 6 LPI, but 88 lines at 8 LPI. If line spacing is changed after setting the form length, the physical form length (in inches) will not be changed.
IBM Proprinter Emulation 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 stops are associated with absolute physical positions, not with columns.
IBM Proprinter Emulation 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 a line feed is done instead. If “Auto CR” is set to “On” in the interface setup menu, a carriage return will also be performed. Control code: Hexadecimal: VT 0B Set Vertical Tab Stops ESC B n1 n2 ... nx NUL Clears all currently set vertical tab stops, and sets new tab stops at line n1, n2, n3, etc. 1≥n≥255.
IBM Proprinter Emulation The left margin is inclusive, but the right margin is exclusive. For example, a left margin at column 11 still allows a character to be printed in column 11. A right margin at column 76 allows a character to be printed in column 75, but not in column 76. The leftmost column is column one. If n1 or n2 is zero, the corresponding margin is not changed. The left margin must be left of the right margin and ≥13.4 inches. The right margin must be right of the left margin and ≥13.6 inches.
IBM Proprinter Emulation 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) corresponding to the top wire of the print head. Turning a bit on causes a dot to be printed.
IBM Proprinter Emulation 120 DPI Graphics ESC L n1 n2 data Selects eight wire double density (120 dpi) graphics for n1 + (n2 x 256) columns data. Example: The following escape sequence will print six bytes of graphics data at 120 dpi. The resulting figure will resemble a backslash character, “\”.
IBM Proprinter Emulation Escape Sequence: Hexadecimal: ESC 1B U 55 1 31 Automatic Line Feed ESC 5 n Selects automatic line feed mode for n=1, or cancels for n=0. Automatic line feed mode causes the printer to automatically perform a line feed (LF) for each carriage return (CR) it receives. Overrides the “Auto LF” value in the interface setup menu. Example: The following escape sequence will select automatic line feed mode.
IBM Proprinter Emulation This chapter describes IBM Proprinter emulation. If a different interface is selected, the control codes and escape sequences described in this chapter will no longer be applicable. Example: The following escape sequences will select Printek emulation, load form one, and then return to the previous emulation.
IBM Proprinter Emulation Control Codes and Escape Sequences Sorted Alphabetically BEL BS CAN CR DC2 DC4 ESC - n ESC 0 ESC 1 ESC 2 ESC 3 n ESC 4 ESC 5 n ESC 6 ESC 7 ESC : ESC A n ESC B n1 n2 ... nx NUL ESC C NUL n ESC C n ESC D n1 n2 ...
IBM Proprinter Emulation FF HT LF SI SO VT Form Feed Horizontal Tab Line Feed Select Condensed Mode Select Double-Wide Mode (one line) Vertical Tab 63
DEC LA120/210 EMULAT ION Introduction This section describes the control codes and escape sequences comprising DEC LA120/210 emulation. This emulation may be selected by setting “Emulation” to “LA120/210” in the interface setup menu, or via software with the ESC ESC 5 sequence. While this emulation is selected, control codes and escape sequences from other emulations are not available. Control codes and escape sequences are used to control printer operation.
DEC LA120/210 Emulation Some escape sequences refer to the active column or active line. The active column is the column where the next character will be printed. Printing a character or a space will increment the active column. The active line is the line where the next character will be printed. A line feed will increment the active line. Column and line numbers begin at one, not at zero. Keep this in mind when setting tabs, margins, etc.
DEC LA120/210 Emulation Control Codes and Escape Sequences Grouped by Function Communications Null NUL This control code is ignored by the printer. Control code: Hexadecimal: NUL 00 Delete DEL This control code is ignored by the printer. Control code: Hexadecimal: DEL 7F End of Text ETX If “ETX/ACK” is set to “On” in the interface setup menu, then receipt of an ETX causes the printer to transmit an ACK to the host computer.
DEC LA120/210 Emulation Character Size The FormsPro, FormsMaster and PrintMaster series printers are 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/210 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 the default character pitch.
DEC LA120/210 Emulation Character Attributes Select Graphic Rendition ESC [ n m Selects the graphic rendition n from the following table. n 0 1 3 4 Rendition Normal Emphasized Italic Underline For italic mode to work correctly, an Epson FX font must be selected (check the “Font” value in the forms menu). The other available fonts do not include italic characters. Example: The following escape sequence will select emphasized mode.
DEC LA120/210 Emulation USA France Germany England Denmark Sweden Italy Spain Japan 35 36 64 91 92 93 94 96 123 124 125 126 # # # £ # # # PTS # $ $ $ $ $ ¤ $ $ $ @ à § @ @ É @ @ @ [ ° Ä [ Æ Ä ° ¡ [ \ ç Ö \ Ø Ö \ Ñ ¥ ] § Ü ] Å Å é ¿ ] ^ ^ ^ ^ ^ Ü ^ ^ ^ ` ` ` ` ` é ù ` ` { é ä { æ ä à ¨ { ¦ ù ö ¦ ø ö ò ñ ¦ } è ü } å å è } } ˜ ¨ ß ˜ ˜ ü ì ˜ ˜ Example: The following escape sequence will select the German character set.
DEC LA120/210 Emulation 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” is set to “On” in the interface setup menu, a line feed will also be performed. Control code: Hexadecimal: CR 0D Backspace BS Causes the current line to be printed, and then moves the current print position one space to the left. The actual distance moved depends on the current character spacing.
DEC LA120/210 Emulation Control code: Hexadecimal: LF 0A Control code: Hexadecimal: IND 84 Escape Sequence: Hexadecimal: ESC 1B D 44 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: Hexadecimal: ESC 1B [ 5B 1 31 2 32 d 64 Relative Vertical Tab ESC [ n e Advances the active line by n lines.
DEC LA120/210 Emulation Horizontal and Vertical Position New Line (or) NEL 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: Hexadecimal: NEL 85 Escape Sequence: Hexadecimal: ESC 1B E 45 Form Length and Form Feed Form length is the distance from the top of the form to the bottom of the form.
DEC LA120/210 Emulation 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 continue at the top margin. Setting “Host FF at TOF” to “No” in the interface setup menu allows a form feed to be ignored if the paper is already at top of form. If “Auto CR” is set to “On” in the interface setup menu, a carriage return will also be performed.
DEC LA120/210 Emulation 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 old tab stops should first be cleared. Example: The following escape sequence will set horizontal tab stops at five column intervals.
DEC LA120/210 Emulation 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 a line feed is done instead. If “Auto CR” is set to “On” in the interface setup menu, a carriage return will also be performed.
DEC LA120/210 Emulation Example: The following escape sequence will set a vertical tab stop at line seven. Escape Sequence: Hexadecimal: ESC 1B [ 5B 7 37 v 76 Clear Vertical Tab Stop ESC [ 1 g Clears the vertical tab stop at the current line. The tab stop to be cleared is associated with the active line (based upon the current line spacing), not an absolute physical position.
DEC LA120/210 Emulation 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 column n2 at the current character spacing. 0≥n1≥255, 0≥n2≥255. If character spacing is changed after setting the margins, the position of the margins will not change.
DEC LA120/210 Emulation 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, 0≥n2≥255. If line spacing is changed after setting the margins, the position of the margins will not change. Vertical margins are cleared by ESC [ n t.
DEC LA120/210 Emulation Printer Controls Bell BEL Causes the printer's bell to sound. Control code: Hexadecimal: BEL 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) that it receives. Overrides the “Auto CR” value in the interface setup menu.
DEC LA120/210 Emulation Graphics Graphics mode gives the user complete control over every dot position on the paper. Graphics may be printed with 132 dpi horizontal density and 72 dpi vertical density. Each byte of graphics data represents a vertical column of six dots, with the LSB (least significant bit) corresponding to the top wire of the print head. Turning a bit on causes a dot to be printed. Graphics bytes are encoded in the characters '?' (hexidecimal 3F) through 'DEL' (hexidecimal 7F).
DEC LA120/210 Emulation Emulations Select Software Interface n ESC ESC n Selects the software interface n according to the table below. n 0 1 2 3 4 5 6 7 ; < = ? @ Software Interface Test (reserved for factory use) ANSI X3.
DEC LA120/210 Emulation Control Codes and Escape Sequences Sorted Alphabetically BEL BS CR CSI DEL ESC ( a ESC 1 ESC 2 ESC 3 ESC 4 ESC D ESC E ESC ESC n ESC H ESC J ESC [ ESC [ n ` ESC [ n a ESC [ c ESC [ 0 c ESC [ n d ESC [ n e ESC [ g ESC [ 0 g ESC [ 1 g ESC [ 2 g ESC [ 3 g ESC [ 4 g ESC [ 20 h ESC [ 20 l ESC [ n m ESC [ n1 ; n2 r ESC [ n1 ; n2 s ESC [ n t ESC [ n1 ; n2 ; ... nx u ESC [ n1 ; n2 ; ...
SIMPLE TTY EMULATION Introduction This section describes the control codes and escape sequences comprising simple TTY emulation. This emulation may be selected by setting “Emulation” to “TTY” in the interface setup menu, or via software with the ESC ESC 6 sequence. While this emulation is selected, control codes and escape sequences from other emulations are not available. Control codes and escape sequences are used to control printer operation.
Simple TTY Emulation Control Codes and Escape Sequences Grouped by Function Communications End of Text ETX If “ETX/ACK” is set to “On” in the interface setup 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 user's responsibility to ensure that an ETX used for data handshake is not sent within an escape sequence.
Simple TTY Emulation 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” is set to “On” in the interface setup menu, a carriage return will also be performed. Control code: Hexadecimal: LF 0A 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.
Simple TTY Emulation 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. Horizontal Tab HT Advances to the next horizontal tab stop. If no tab stop exists between the active column and the right margin, the HT will be ignored.
Simple TTY Emulation Emulations Select Software Interface n ESC ESC n Selects the software interface n according to the table below. n 0 1 2 3 4 5 6 7 ; < = ? @ Software Interface Test (reserved for factory use) ANSI X3.64 Emulation Epson FX Emulation Bar Code Mode (optional) IBM Proprinter Emulation DEC LA120 Emulation TTY Emulation Printek Emulation Remote Setup Mode Genicom 3840 Genicom 3410 Previously Selected Emulation Default Emulation Overrides the “Emulation” value in the interface setup menu.
Simple TTY Emulation Control Codes and Escape Sequences Sorted Alphabetically BEL BS CR ESC ESC n ETX FF HT LF VT 90 Bell Backspace Carriage Return Select Software Interface n End of Text Form Feed Horizontal Tab Line Feed Vertical Tab
PRINTEK EMULATION Introduction This section describes the control codes and escape sequences comprising Printek emulation. This emulation may be selected by setting “Emulation” to “Printek” in the interface setup menu, or via software with the ESC ESC 7 sequence. While this emulation is selected, control codes and escape sequences from other emulations are not available. Control codes and escape sequences are used to control printer operation.
Printek Emulation in the printer. We encourage you to take full advantage of all the unique features available in Printek emulation. After all, these features are the reason you purchased your Printek printer. The most common reason for using Printek emulation is to select a different form setup (and thus change tractors).
Printek Emulation Control Codes and Escape Sequences Grouped by Function Communications End of Text ETX If “ETX/ACK” is set to “On” in the interface setup 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 user's responsibility to ensure that an ETX used for data handshake is not sent within an escape sequence.
Printek Emulation Character Size Set Character Spacing ESC SP n Sets character spacing in decipoints (n/720 of an inch). Overrides the”Characters/Inch” value in the forms menu. Supported values are shown in the following table. n 72 60 54 48 43 42 36 Character Size 10 cpi 12 cpi 13.3 cpi 15 cpi 16.74 cpi 17.14 cpi 20 cpi Example: The following escape sequence will select 10 cpi character spacing.
Printek Emulation Example: The following escape sequence will select double-high mode. Escape Sequence: Hexadecimal: ESC 1B S 53 3 03 Character Attributes Emphasized Mode ESC E n Selects emphasized mode for n=1, or cancels for n=0. Emphasized mode 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.
Printek Emulation Character Sets Select Font ESC F n Select font n according to the following table.
Printek Emulation Escape Sequence: Hexadecimal: ESC 1B \ 5C ESC 1B Line Pitch Set Line Spacing to n/288” ESC LF n Sets the line spacing to n/288 of an inch per line. 0≥n≥255. Overrides the “Lines/Inch” value in the forms menu. Example: The following escape sequence will set line spacing to 1/6 of an inch per line (6 lpi).
Printek Emulation Reverse Line Feed ESC ^ Causes the current line to be printed, and then retracts the paper one line at the current line spacing. If “Auto CR” is set to “On” in the interface setup menu, a carriage return will also be performed. Escape Sequence: Hexadecimal: ESC 1B ^ 5E 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.
Printek Emulation 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 associated with absolute physical positions, not with columns.
Printek Emulation 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 advances the paper to the next vertical tab stop. If no vertical tab stops are set, then a line feed is done instead.
Printek Emulation 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 H n1 n2 Sets the left margin to column n1 and the right margin to column n2 at the current character spacing. 0≥n1≥255, 0≥n2≥255. If character spacing is changed after setting the margins, the position of the margins will not change.
Printek Emulation 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≥n2≥255. If line spacing is changed after setting the margins, the position of the margins will not change. Vertical margins are cleared by ESC FF n.
Printek Emulation Each graphics sequence contains two bytes (n1 and n2) that specify how many bytes of graphics data follow. N2 can specify values up to 255. If that is sufficient, then n1 is just set to zero. For values greater than 255, n1 comes into play. The n1 byte specifies multiples of 256. For example, to specify 520 bytes of graphics data, use n2 = 8 and n1 = 2. The bytes of graphics data are strung together to create a graphics line that is eight dots high, and (n1 x 256) + n2 dots long.
Printek Emulation Example: The following escape sequence will print four bytes of graphics data at 72 x 72 dpi. The resulting figure will resemble a square, since the horizontal and vertical density are the same. If some other density is chosen, the figure will resemble a rectangle.
Printek Emulation Automatic Modes ESC A n Selects automatic modes according to the following table. n 0 1 2 3 Mode Automatic modes off Automatic carriage return Automatic line feed Both (1 and 2) Automatic carriage return mode causes the printer to automatically perform a carriage return (CR) for each line feed (LF), vertical tab (VT), or form feed (FF) that it receives. Overrides the “Auto CR” value in the interface setup menu.
Printek Emulation Escape Sequence: Hexadecimal: ESC 1B @ 40 Forms and Tractors The FormsPro 4503se and FormsMaster 8003se contains three sets of paper tractors (front, center, and rear). It is possible, via software, to change to a different form that is set up to use any set of tractors. With the FormsMaster 8003se printer it is even possible to use some combinations of tractor paths for longer print jobs.
Printek Emulation Emulations Select Software Interface n ESC ESC n Selects the software interface n according to the table below. n 0 1 2 3 4 5 6 7 ; < = ? ? @ Software Interface Test (reserved for factory use) ANSI X3.
Printek Emulation Control Codes and Escape Sequences Sorted Alphabetically BEL BS CR DC3 ESC # m n1 n2 data ESC % ESC * m n1 n2 data ESC @ ESC A n ESC B n ESC C ESC D n ESC E n ESC ESC n ESC F n ESC FF n ESC G n ESC H n1 n2 ESC HT n1 n2 ... nx NUL ESC I n ESC L n ESC LF n ESC R ESC S n ESC SP n ESC U n ESC V n1 n2 ESC VT n1 n2 ...
GENICOM 3840 AND 3410 ANSI EMULATION Introduction This section describes the control codes and escape sequences comprising Genicom 3840 and 3410 ANSI emulation. This emulation may be selected by setting “Emulation” to “Genicom 3840 or 3410 ANSI” in the appropriate interface setup menu, or via software with the ESC ESC < (3840) or ESC ESC = (3410) sequence. While this emulation is selected, control codes and escape sequences from other emulations are not available.
Genicom 3840 and 3410 ANSI Emulation This should clarify any ambiguity. The examples may also be helpful when analyzing a hex dump (see Hex Dump chapter) printed by the printer. Some escape sequences refer to the active column or active line. The active column is the column where the next character will be printed. Printing a character or a space will increment the active column. The active line is the line where the next character will be printed. A line feed will increment the active line.
Genicom 3840 and 3410 ANSI Emulation Control Codes and Escape Sequences Grouped by Function Communications End of Text EXT If “ETX/ACK” is set to “On” in the serial interface setup 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 user's responsibility to ensure that an ETX used for data handshake is not sent within an escape sequence.
Genicom 3840 and 3410 ANSI Emulation Sets the vertical and horizontal pitch in decipoints. Parameter (p1) is the spacing between lines and (p2) is the spacing between characters. Unspecified parameters remain at their current values. This command does not affect oversized printing selected by ESC [1t.
Genicom 3840 and 3410 ANSI Emulation Escape Sequence: Hexadecimal: ESC 1B K 4B Superscript Printing PLU Moves paper ½ line above the current line for superscript printing. If 8-bit control code processing is enabled then. Control Code: Hexadecimal: PLU 8C Superscript Printing ESC L Moves paper ½ line above the current line for superscript printing. ESC L is also used to return to the original line following ESC K (subrscript). If 8-bit control code processing is enabled then.
Genicom 3840 and 3410 ANSI Emulation Control Code: Hexadecimal: ESC 1B [ 5B 2 32 0 30 h 68 Reset Auto CR ON LF ESC [(p)l Resets mode set by ESC [20h. Example: reset auto CR on LF Control Code: Hexadecimal: ESC 1B [ 5B 2 32 0 30 l 6C Horizontal Position Backwards ESC [(p)j Moves the horizontal position (p) decipoints left of the current position. Actual distance between symbols separated by this command is the argument (p) minus the current horizontal pitch (text of graphics).
Genicom 3840 and 3410 ANSI Emulation Vertical Position Line Feed ESC D Causes the current line to be printed and then advances the paper one line at the current line spacing. If “Auto CR” is set to “On” in the interface setup menu, a carriage return will also be performed. Control Code: Hexadecimal LF 0A Escape Sequence: Hexadecimal: ESC 1B D 44 Index IND Advances the paper to the next line. The current column is not changed, regardless of the status of auto CR on LF.
Genicom 3840 and 3410 ANSI Emulation Vertical And Horiztonal Position Absolute ESC [(p1);(p2)f Moves the print position to any coordinate on the page. Coordinates are measured in decipoints. Parameter p1 is the vertical coordinate, which is measured from the top print reference. Parameter p2 is the horizontal coordinate, which is measured from the left print reference. The computation of absolute positions is not influenced by margin settings.
Genicom 3840 and 3410 ANSI Emulation Escape Sequence: Hexadecimal: ESC 1B H 48 Set Horiztonal Tab Stop HTS If 8-bit control code processing is enabled then.
Genicom 3840 and 3410 ANSI Emulation Set Vetical Tab Stop VTS If 8-bit control code processing is enabled then Control Code: Hexadecimal: VTS 8A Set Vetical Tabs At Specified Positions ESC [(p1);(p2)..(p12)v Sets vertical tabs at positions p1, p2, p3, etc. Up to 12 stops can be set at one time. Tab stops are measured in decipoints from the top print reference. Example: Set tab stops at 4 and 7 inches.
Genicom 3840 and 3410 ANSI Emulation Hexidemical: 1B 5B 32 38 38 3B 34 39 36 38 73 Form Feed FF Advances the paper to the top margin on the next form. Control Code: FF Hexidemical 0C Graphics Graphics Mode ESC P(graphics) ESC \ Graphics mode gives the user complete control over every dot position on the paper. Graphics may be printed with 72 dpi horizontal density and 72 dpi vertical density only in this emulation.
Genicom 3840 and 3410 ANSI Emulation Graphics Density ESC [(p1)q Sets the graphics density. The printer powers up with a graphics density of 72 x 72 dpi; changes are not stored in NVRAM. p1 0 1 horizontal density 72 dpi 144 dpi Escape Sequence: Hexadecimal: ESC 1B vertical density 72 dpi 72 dpi [ 5B 1 31 0 30 q 70 Printer Control Bell BEL Causes the printer’s bell to sound.
Genicom 3840 and 3410 ANSI Emulation Paper Shear Paper Shear ESC [(p1);(p2);{ Parameter p1 = 1 selects the paper shear. Parameter p2 = 1 executes a cutting sequence: If the vertical position is not at top-of-form, then a form feed is executed. Paper is advanced to the shear position and cut. The shear position should be set from the control panel so that paper is cut precisely at the perforation.
Genicom 3840 and 3410 ANSI Emulation Software Options That Affect Barcodes Software Options are selected under the FM8000se's front panel Setup feature. These settings are nonvolatile. One of these options affects barcodes: OPTIONS MENU Item Description Top of Barcode On / Off When enabled, the vertical position on exiting bar code mode places the text baseline for subsequent printing so the top of the next character printed will align with the top of the barcode.
Genicom 3840 and 3410 ANSI Emulation Paper Path Paper Path p1 10 12 14 ESC [(p1)p selects unload current path and load rear path unload current path and load front path unload current path and load middle path If you send a command to change paper paths and the target path is the current path, then the printer executes a form feed.
Genicom 3840 and 3410 ANSI Emulation Emulations Select Software Interface n ESC ESC n Selects the software interface n according to the table below. n 0 1 2 3 4 5 6 7 ; < = ? @ Software Interface Test (reserved for factory use) ANSI X3.
Genicom 3840 and 3410 ANSI Emulation Control Codes and Escape Sequences Sorted Alphabetically BEL BS CR CSI ESC D ESC E ESC ESC n ESC H ESC J ESC K ESC L ESC P ESC \ ESC [(p1);(p2)B ESC [(p1);(p2)G ESC [(p)` ESC [(p)a ESC [(p)d ESC [(p)e ESC [(p1);(p2)f ESC [(Ps)g ESC [(p)h ESC [(p)j ESC [(p)k ESC [(p)l ESC [(p1);...(pn)m ESC [(p1)p ESC [(p1)q ESC [(p1);(p2);(p3)r ESC [(p1);(p2)s ESC [(p1)t ESC [(p1);(p2);...(p22)u ESC [(p1);(p2);...(p12)v ESC [(p1);(p2){ ESC [(p1);(p2);...
Genicom 3840 and 3410 ANSI Emulation 126
CONFIGURATION DOWNLOAD The FormsPro 4000se, FormsMaster 8000se and PM850 Series printers may be completely configured for operation by using the front panel buttons to access the printer setup menus. In addition, many of the items that can be configured via the front panel setup menus can also be configured remotely as described in this chapter. Remote setup commands are placed in a remote setup file on a host computer. This file may then be sent to the printer.
Configuration Download Remote Setup Line Definitions [BeginPrintekSetup] AlignPrint=FactoryDefaults Forms=FactoryDefaults Interfaces=FactoryDefaults Options=FactoryDefaults Security=FactoryDefaults [Form0] ... [Form9] MovePrintLeft=0.00 ... 9.99 MovePrintRight=0.00 ... 9.99 MovePrintUp=0.00 ... 9.99 MovePrintDown=0.00 ... 9.99 FormName="UPTO16CHARACTERS" TractorPath=Front,Center,Rear,Center+Rear,Front+Center+Rear AutomaticCut=No,Yes LinesPerInch=6,8 FormLength=1 ... 227 TopMargin=0 ... 226 BottomMargin=0 .
Configuration Download [ParallelInterface] Emulation=ANSI_X3.64,Epson,IBM_Proprinter,DEC_LA120,TTY,Printek AutoCR=Off,On AutoLF=Off,On HostFFatTOF=No,Yes Characters=Control,Printable MinimumBuffer=No,Yes [Options] MaxFormAllowed=0 ... 9 AutoScroll=Off,1 ... 15 PaperOutFault=BreakPage,ReprintPage,FinishPage PageSize=0K ... 28K RibbonCheck=Off,On RibbonLife=5 ... 30 TopOfBarcode+Off, On TopOfOversized=Off, On CharToIgnore=0 . . .
Configuration Download Remote Setup Example File The following example will set up three forms. Before the forms are set up, “AlignPrint” and all “Forms” will be reset to their factory default values so that only “non-default” values have to be set. The first form will begin printing one line from the top-of-form, be named “CHECKS”, have a form length of 42 lines (7 inches at 6 LPI), and use the Epson FX Draft font.
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 help determine which emulation mode is needed for that application. To select Hex Dump mode, enter SETUP and use the MENU button to select the “TEST MENU”.
PRINTING BASIC BAR CODES Introduction This section describes the control codes and escape sequences comprising bar code emulation. This emulation may be selected via software with the ESC ESC 3 sequence. While this emulation is selected, control codes and escape sequences from other emulations are not available. Control codes and escape sequences are used to control printer operation. An ASCII control code is a single character in the range 00 hex through 1F hex, and 7F hex.
Printing Basic Bar Codes 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 placement of a bar code on a label, or placement of multiple bar codes across and down the page.
Printing Basic Bar Codes Bar Code Sequences To print bar codes, the following sequences are used in bar code mode: BAR CODE SEQUENCE FUNCTION BEL ESC ESC n ETX FF LF ^BNxccc...c^G ^BN9xddddccc...c^G ^Htt ^Jttd ^Ttttd ^- Sound the Bell. Change Emulation Mode ETX/ACK Software Handshake. Form Feed. Fractional Line Feed (to next line boundary) Horizontal Bar Code. Variable Width Horizontal Bar Code. Bar Code Height. Relative Vertical Tab. Absolute Horizontal Tab. Bar Code Pass Terminator.
Printing Basic Bar Codes The Bar Code Control Character Except for a few ASCII control characters supported by bar code mode, all bar code sequences are introduced by the “bar code control character”. The “bar code control character” is the printable ASCII caret character “^” (94 decimal, 5E hex). Note in particular that the ESC control code (27 decimal, 1B hex) is not used in bar code mode.
Printing Basic Bar Codes 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.
Printing Basic Bar Codes ^BNf12345^G^- 138
Printing Basic Bar Codes 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.
Printing Basic Bar Codes ^BNa12345^G^- 140
Printing Basic Bar Codes 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, it may be derived from bar code types “g” and “h”. The following variable width bar code definitions all produce exactly the same result.
Printing Basic Bar Codes Example: To print a bar code that is only 0.1 inch high. ^H01^BNe12345^G^It would generally not be desireable to print a bar code with such a short height, because scanning of the bar code would be difficult. In most cases, the wider the bar code, the higher the bar code for ease of scanning Example: To print a bar code that is 1.0 inch high. ^H10^BNe12345^G^- Example: Note that increasing the height of a bar code has no effect on the width of the bar code.
Printing Basic Bar Codes 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 vertical position. Example: To print multiple bar codes down the page. Each bar code is 0.2 inches high, and is separated from other bar codes by 0.
Printing Basic Bar Codes ^H02^BNd01^G^T0200^BNd02^G^T0400^BNd03^G^- 144
Printing Basic Bar Codes 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 pass terminator is received, all bar codes defined for the pass will be printed. The following examples will help clarify use of the pass terminator.
Printing Basic Bar Codes 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 bar code. This bar code and interpretation was printed by first entering bar code mode and printing the bar code.
Printing Basic Bar Codes 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 characters. Invalid data characters will cause blank space to be inserted in the bar code. A common character (*) is used for both start and stop delimiters.
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 4000se, FormsMaster 8000se or the PrintMaster 850 series printers and some are emulation dependent. For more information consult the appropriate chapter for the emulation being used and/or the chapter on Input/Output Control Codes.
ASCII Character Tables Epson FX Fast Draft Epson FX Draft Epson FX Letter Quality 150
ASCII Character Tables PC Fast Draft PC Draft PC Letter Quality 151
ASCII Character Tables EBCDIC Fast Draft EBCDIC Draft EBCDIC Letter Quality 152
ASCII Character Tables Latin 2 (Slavic) Fast Draft Latin 2 (Slavic) Draft Latin 2 (Slavic) Letter Quality 153
ASCII Character Tables OCR A OCR B ML Euro (858) 154
ASCII Character Tables ML Euro (850) 155
ASCII Character Tables Decimal to Octal to Hexadecimal Conversion Table Dec 0 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 Dec 156 Oct 000 001 002 003 004 005 006 007 010 011 012 013 014 015 016 017 020 021 022 023 024 025 026 027 030 031 032 033 034 035 036 037 040 041 042 043 044 045 046 047 050 051 052 053 054 055 056 057 060 061 062 063 064 065 066 067 070 071 072 073
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 emulations even though some emulations cannot modify all the variables shown. Refer to the appropriate chapter for the emulation being used.
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 digit. control code A single, non-printing character which is used to control the configuration or operation of the printer.
Glossary LQ Letter Quality. MSB Most significant bit. In a character, this refers to bit seven (of 0 to 7). octal Base eight numbering system. Digits are represented by the characters 0 through 7. off-line Refers to the state of the printer when the ”ONLINE” indicator is any color other than solid green and the printer does not respond to the host computer.