Page 2
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.
TABLE OF CONTENTS INTRODUCTION How to Use This Manual Printer Model Descriptions and Key Features Selecting Emulations Changing Forms/Tractor Paths ANSI X3.64 EMULATION Introduction Control Codes and Escape Sequences Grouped by Function Communications Character Size and Line Spacing Character Attributes...
Page 4
Vertical Position Form Length and Form Feed Horizontal Tabs Vertical Tabs Printer Controls Emulations Control Codes and Escape Sequences Sorted Alphabetically PRINTEK EMULATION Introduction Control Codes and Escape Sequences Grouped by Function Communications Character Size Character Attributes Character Sets Line Pitch...
Page 5
Variable Width Bar Code Definition Bar Code Height Relative Vertical Tab Absolute Horizontal Tab Bar Code Pass Terminator Mixing Bar Codes and Text Description of Supported Bar Code Types ASCII CHARACTER TABLES ASCII Control Code Definitions PRINTER RESET CONDITIONS GLOSSARY...
This feature may be used as an alternative to using the printer’s front panel setup and can be useful when configuring multiple printers or when configuring printers at a remote location.
Other options include an external FormsCutter for the FormsPro 4000se Series printer and an internal FormsCutter for the FormsMaster 8000se series printer which can be used to automatically cut off each form or to separate reports. A specially designed print stand which can handle three boxes of paper, and a Setup Module to make set up of multiple printers quick and easy are also available for these models.
“Load Form” escape sequence in the “Forms and Tractors” section. If you are using an emulation other than Epson or Printek, you may temporarily change emulations, load the new form, and then return to the previous emulation. An example of this may be found in the “Emulations”...
Characters that appear in italics (such as “n” and “f” above) are not sent to the printer as is; they are used as a place holder indicating that some value must be supplied.
Page 12
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.
Communications End of Text 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.
Character Size and Line Spacing Set Character and Line Spacing 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.
Character Attributes Select Graphic Rendition Selects the graphic rendition n from the following table. 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.
Absolute Horizontal Tab 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.
Page 17
Partial Line Down (or) 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.
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.
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.
Escape Sequence: Hexadecimal: 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 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.
Hexadecimal: Reset 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 9, 17, 25, 33, 41, etc.
This chapter describes ANSI X3.64 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.
Control Codes and Escape Sequences Sorted Alphabetically ESC D ESC E ESC ESC n ESC H ESC J ESC K ESC L ESC [ n1 ; n2 SP G ESC [ n ` ESC [ n a ESC [ n d ESC [ n e ESC [ g ESC [ 0 g...
Characters that appear in italics (such as “n” and “n1 n2” above) are not sent to the printer as is; they are used as a place holder indicating that some value must be supplied.
Hexadecimal: End of Text 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.
“Characters/Inch” value in the forms menu, you are actually changing the default character pitch. When the printer is turned on (or reset), it will use this character pitch. You can even use a pitch that is not supported by your emulation, such as 13.3 cpi with Epson emulation. You can override this pitch selection via software, by sending an escape sequence.
Page 29
Likewise, if you want to use the default pitch from setup, you must not override it. Either send no character pitch sequences to the printer, or make sure you re-select 10 cpi via software. When you select different forms, the default character pitch from setup is selected along with the form. But you will not see this default pitch if it has already been overridden via software.
Page 30
Cancel Condensed Mode Cancels condensed mode set by SI or ESC SI. Control code: Hexadecimal: Select double-wide mode (one line) (or) 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: Escape Sequence:...
Select Subscript or Superscript Mode 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: Cancel Subscript and Superscript Mode...
Page 32
Escape Sequence: Hexadecimal: Underline Mode 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: Select Italic Mode Selects italic mode. This causes italic characters to be printed by setting the MSB (most significant bit) of all following printable characters to one.
Master Print Mode Select 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. Attribute 10 cpi 12 cpi Condensed Emphasized Double-Strike Double-Wide Italic Underline...
Page 34
Select Font Select font n according to the following table. Font Epson FX Draft Epson FX Letter Quality Proprinter PC Draft Proprinter PC Letter Quality EBCDIC Draft EBCDIC Letter Quality OCR-A Optical Quality OCR-B Optical Quality Epson FX Fast Draft Epson FX Draft Epson FX Letter Quality Proprinter PC Fast Draft...
Page 35
Select International Character Set 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...
Enable Printing of High Symbols 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: Disable Printing of High Symbols Disables printing of character values 128 through 159 decimal.
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.
Backspace 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: Vertical Position...
Page 39
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.
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.
Set Horizontal Tab Stops 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.
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 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.
Set Perforation Skip 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.
Page 44
Worse yet, the value of n1 or n2 may be changed. For example, if n1 specifies 200 bytes of data, and its MSB is turned off, the printer will only expect 72 bytes of data. It will exit graphics mode, and then try to print the remaining 128 bytes of graphics data as normal text characters.
Escape Sequence: Hexadecimal: Printer Controls Bell Causes the printer's bell to sound. Control code: Hexadecimal: Unidirectional Mode (one line) Selects unidirectional mode for the current line (until a carriage return is received). This will force the line to print from left to right.
If not, the current form will be unloaded, the parameters for form n will be selected, and the printer will go offline to wait for the operator to install the new form and place the printer back online.
This chapter describes Epson FX 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.
ESC P ESC Q n ESC R n Backspace Cancel Line Carriage Return Cancel Condensed Mode Deselect Printer Cancel Double-Wide Mode (one line) Delete Character Master Print Mode Select Cancel MSB Control Absolute Horizontal Tab m DPI Graphics Underline Mode Select 8 LPI Set Line Spacing to 7/72”...
Page 49
Variable Distance Reverse Line Feed Select Font Set Left Margin Character Table (Italic vs. Extended) Double-High Mode Select Draft or Letter Quality End of Text Form Feed Horizontal Tab Line Feed Select Condensed Mode Select Double-Wide Mode (one line) Vertical Tab Deselect Printer...
Characters that appear in italics (such as “n” and “n1 n2” above) are not sent to the printer as is; they are used as a place holder indicating that some value must be supplied.
Hexadecimal: End of Text 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.
“Characters/Inch” value in the forms menu, you are actually changing the default character pitch. When the printer is turned on (or reset), it will use this character pitch. You can even use a pitch that is not supported by your emulation, such as 13.3 cpi with IBM Proprinter emulation. You can override this pitch selection via software, by sending an escape sequence.
Page 54
Select Double-Wide Mode (one line) (or) 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: Escape Sequence: Hexadecimal: Cancel Double-Wide Mode (one line) Cancels double-wide mode selected by SO or ESC SO.
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 character width single-wide characters...
Cancel Emphasized Mode Cancels emphasized mode. Overrides the “Impact Force” value in the forms menu. Escape Sequence: Hexadecimal: Select Double-Strike Mode 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: Print Single Character 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.
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.
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.
Page 60
Set Form Length in Lines 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.
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.
Vertical Tab 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.
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.
Worse yet, the value of n1 or n2 may be changed. For example, if n1 specifies 200 bytes of data, and its MSB is turned off, the printer will only expect 72 bytes of data. It will exit graphics mode, and then try to print the remaining 128 bytes of graphics data as normal text characters.
“\”. Escape Sequence: Hexadecimal: Printer Controls Bell Causes the printer's bell to sound. Control code: Hexadecimal: Unidirectional Mode 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.
Hexadecimal: Automatic Line Feed 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”...
Page 67
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.
Characters that appear in italics (such as “n” and “f” above) are not sent to the printer as is; they are used as a place holder indicating that some value must be supplied.
Page 72
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.
Hexadecimal: End of Text 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.
“Characters/Inch” value in the forms menu, you are actually changing the default character pitch. When the printer is turned on (or reset), it will use this character pitch. You can even use a pitch that is not supported by your emulation, such as 15 cpi with LA120/210 emulation. You can override this pitch selection via software, by sending an escape sequence.
Character Attributes Select Graphic Rendition Selects the graphic rendition n from the following table. 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.
France à Germany § England £ Denmark Sweden ¤ É Italy Spain Japan Example: The following escape sequence will select the German character set. Escape Sequence: Hexadecimal: Line Pitch Set Line Spacing Sets the line spacing as specified in the following table. Omitting n is equivalent to specifying zero. line pitch 6 lpi 6 lpi...
Horizontal Position Carriage Return 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: Backspace...
Page 78
Control code: Hexadecimal: Control code: Hexadecimal: Escape Sequence: Hexadecimal: Absolute Vertical Tab 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: Relative Vertical Tab...
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.
Form Feed 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.
Page 81
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.
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 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.
Page 83
Example: The following escape sequence will set a vertical tab stop at line seven. Escape Sequence: Hexadecimal: Clear Vertical Tab Stop 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.
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 Sets the left margin to column n1 and the right margin to column n2 at the current character spacing.
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 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.
Hexadecimal: Printer Identification (or) Causes the printer to respond with ESC [ ? 2 c to identify itself as an LA120-RA printer. (The response can only be sent if serial I/O is selected.) ESC [ 20 h ESC [ 20 l...
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.
This chapter describes DEC LA120/210 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.
Characters that appear in italics (such as “n”) are not sent to the printer as is; they are used as a place holder indicating that some value must be supplied.
Communications End of Text 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.
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.
It is not possible to set vertical tab stops in TTY emulation. If tab stops were previously set in some other emulation, they will be used. Control code: Hexadecimal: Printer Controls Bell Causes the printer's bell to sound. Control code: Hexadecimal:...
This chapter describes TTY 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.
Control Codes and Escape Sequences Sorted Alphabetically ESC ESC n Bell Backspace Carriage Return Select Software Interface n End of Text Form Feed Horizontal Tab Line Feed Vertical Tab...
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.
Page 98
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).
Communications End of Text 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.
Character Size Set Character Spacing 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. 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.
Example: The following escape sequence will select double-high mode. Escape Sequence: Hexadecimal: Character Attributes Emphasized Mode 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.
Character Sets Select Font Select font n according to the following table. Font Epson FX Draft Epson FX Letter Quality Proprinter PC Draft Proprinter PC Letter Quality EBCDIC Draft EBCDIC Letter Quality OCR-A Optical Quality OCR-B Optical Quality Epson FX Fast Draft Epson FX Draft Epson FX Letter Quality Proprinter PC Fast Draft...
Escape Sequence: Hexadecimal: Line Pitch Set Line Spacing to n/288” 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). Escape Sequence: Hexadecimal: Horizontal Position...
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.
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.
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 Causes the current line to be printed, and then advances the paper to the next vertical tab stop.
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.
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 Sets the top margin to line n1 and the bottom m argin to line n2 at the current line spacing. 0 n1 255, 0 n2 255.
Page 109
Worse yet, the value of n1 or n2 may be changed. For example, if n2 specifies 200 bytes of data, and its MSB is turned off, the printer will only expect 72 bytes of data. It will exit graphics mode, and then try to print the remaining 128 bytes of graphics data as normal text characters.
For example, at 150 dpi, dots may be printed every 4.8/720 of an inch. The printer is not really capable of printing dots every 4.8/720 of an inch. It will print the dots as accurately as possible, with some at 4/720 of an inch and some at 5/720 of an inch.
Page 111
Auto Cut 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.
If not, the current form will be unloaded, the parameters for form n will be selected, and the printer will go offline to wait for the operator to install the new form and place the printer back online.
This chapter describes Printek 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.
ESC VT n1 n2 ... nx NUL ESC W n ESC \ n ESC ^ ESC _ n XOFF Backspace Carriage Return Deselect Printer m DPI Graphics Line Feed Boundary m DPI Graphics Automatic Modes Auto Cut Mode Cut Form Double-Strike Mode...
Characters that appear in italics (such as “p” and “f” above) are not sent to the printer as is; they are used as a place holder indicating that some value must be supplied.
Page 116
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.
Communications End of Text 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.
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. Character Set Font And Print Modes Selects print modes and fonts...
Escape Sequence: Hexadecimal: Superscript Printing Moves paper ½ line above the current line for superscript printing. If 8-bit control code processing is enabled then. Control Code: Hexadecimal: Superscript Printing 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).
Page 120
Control Code: Hexadecimal: Reset Auto CR ON LF Resets mode set by ESC [20h. Example: reset auto CR on LF Control Code: Hexadecimal: Horizontal Position Backwards 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).
Vertical Position Line Feed 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 Escape Sequence:...
Note: The printer economizes vertical motion with vertical logic seeking, so this command may cause reverse paper motion in some instances and not in others. Reverse paper motion can cause problems with some forms.
Escape Sequence: Hexadecimal: Set Horiztonal Tab Stop If 8-bit control code processing is enabled then. Control Code: Hexadecimal: Clear Tabs effect clear horizontal tab at current print position clear vertical tab at current position clear all horizontal tabs clear all vertical tabs Example: Clear all horizontal tabs Escape Sequence: Hexadecimal:...
Set Vetical Tab Stop If 8-bit control code processing is enabled then Control Code: Hexadecimal: Set Vetical Tabs At Specified Positions 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.
Hexidemical: Form Feed Advances the paper to the top margin on the next form. Control Code: Hexidemical Graphics Graphics Mode 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. 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.
Graphics Density Sets the graphics density. The printer powers up with a graphics density of 72 x 72 dpi; changes are not stored in NVRAM. horizontal density 72 dpi 144 dpi Escape Sequence: Hexadecimal: Printer Control Bell Causes the printer’s bell to sound.
The following functions in the Printek FP4000se, FM8000se and PM850 series printers Genicom ANSI Emulation have slightly different behavior than the Genicom 3840 or 3410 ANSI mode. In most cases, these differences will not affect the direct drop in replacement by the previously mentioned Printek printers. ANSI Bar Codes...
To use this feature, refer to the printers Operation Manual and go to chapter Printer Configuration. Refer to the OPTIONS MENU and turn “On” the Ignore Character feature.
If you send a command to change paper paths and the target path is the current path, then the printer executes a form feed. Example: Unload the current path and load the rear path:...
This chapter describes ANSI X3.64 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.
Remote setup commands are placed in a remote setup file on a host computer. This file may then be sent to the printer. The remote setup file bust be a text only file with each line terminated by a Line Feed (LF) character.
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.
Characters that appear in italics (such as “n”) are not sent to the printer as is; they are used as a place holder indicating that some value must be supplied.
Page 140
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.
To exit bar code mode, use the sequence ESC ESC ? (27 27 63 decimal, 1B 1B 3F hex) to return to the previously selected emulation mode, or you may use a different ESC ESC n sequence to select a different emulation mode.
“^” is seen in this chapter, it does not mean ESC and it does not mean “control-_” ! Other Control Characters BEL is processed and causes the printer to ring the bell. This is supported so that you may annoy the printer operator without exiting bar code mode.
Bar Code Definition The sequence used to define a horizontal bar code is ^BNxccc...c^G Two Character Sequence Identifier for Horizontal Bar Code Definition. Reserved Parameter. Bar Code Type. “a” “b” “c” “d” “e” “f” “g” “h” “i” “j” “k” “l” “m”...
Page 144
Printing Basic Bar Codes ^BNf12345^G^-...
Variable Width Bar Code Definition The sequence used to define a variable width, horizontal bar code is ^BN9xddddccc...c^G Two Character Sequence Identifier for Horizontal Bar Code Definition. Reserved Parameter. Flags Variable Width. Bar Code Type. “a” = Code 39 1:1:2:2 Ratio “b”...
Page 146
Printing Basic Bar Codes ^BNa12345^G^-...
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.
Page 148
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.
Relative Vertical Tab The sequence used to skip vertical space is ^Jttd Two Character Sequence Identifier for Relative Vertical Tab. 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.
Page 150
Printing Basic Bar Codes ^H02^BNd01^G^T0200^BNd02^G^T0400^BNd03^G^-...
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.
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.
The printer will automatically insert the start/stop delimiter before and after each bar code string. Check digits are not automatically generated by the printer. If a check digit is to be used, it must be included in the bar code data by the programmer.
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.
Page 156
ASCII Character Tables Epson FX Fast Draft Epson FX Draft Epson FX Letter Quality...
Page 157
ASCII Character Tables PC Fast Draft PC Draft PC Letter Quality...
Page 158
ASCII Character Tables EBCDIC Fast Draft EBCDIC Draft EBCDIC Letter Quality...
Page 159
ASCII Character Tables Latin 2 (Slavic) Fast Draft Latin 2 (Slavic) Draft Latin 2 (Slavic) Letter Quality...
Page 160
ASCII Character Tables OCR A OCR B ML Euro (858)
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.
Extended Binary Coded Decimal Interchange Code. escape sequence String of characters beginning with the escape (ESC) character which is used to control the configuration or operation of the printer. The characters which are part of this string are not printed. font A group of characters of a given shape or style.
Page 166
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.
Need help?
Do you have a question about the FormsMaster 8000se Series and is the answer not in the manual?
Questions and answers