Printek FormsMaster 8000 Programmer's Manual

Formsmaster 8000 series
Hide thumbs Also See for FormsMaster 8000:
Table of Contents

Advertisement

Quick Links

FormsMaster 8000 Series
Programmer's Manual
Copyright
1997
by
Printek, Inc.
1517 Townline Road
Benton Harbor, MI 49022
616-925-3200
Printek Part Number 4509

Advertisement

Table of Contents
loading

Summary of Contents for Printek FormsMaster 8000

  • Page 1 FormsMaster 8000 Series Programmer’s Manual Copyright 1997 Printek, Inc. 1517 Townline Road Benton Harbor, MI 49022 616-925-3200 Printek Part Number 4509...
  • 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.
  • Page 3: Table Of Contents

    TABLE OF CONTENTS Acknowledgments 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 Communications Character Size and Line Spacing Character Attributes Horizontal Position...
  • Page 4 SIMPLE TTY EMULATION Introduction Control Codes and Escape Sequences Communications Horizontal Position Vertical Position Form Length and Form Feed Horizontal Tabs Vertical Tabs Printer Controls Emulations Control Codes and Escape Sequences (Alphabetical) PRINTEK EMULATION Introduction Control Codes and Escape Sequences...
  • Page 5 ASCII Control Code Definitions Epson FX Font Samples PC Font Samples EBCDIC Font Samples PC Latin 2 (Slavic) Font Samples OCR A Font Sample OCR B Font Sample Decimal to Octal to Hexadecimal Conversion Table PRINTER RESET CONDITIONS GLOSSARY Table of Contents...
  • Page 7: Introduction

    INTRODUCTION This manual describes the software interfaces supported by the FormsMaster 8000 series printer. It is written for a programmer who will be developing software for the printer, and contains information not normally needed by a printer operator/user. Basic information on printer operation (setting the printer up, loading paper, replacing ribbons, etc.) can be found in the FormsMaster 8000 Series Operator's Manual that accompanied your printer.
  • Page 8: Printer Model Descriptions And Key Features

    The FormsMaster 8003 is also able to use the same form or paper in multiple paths and automatically continue printing from a different path after one or two paths are out of paper. For more information, refer to the FormsMaster 8000 Series Operator’s Manual.
  • Page 9: Changing Forms/Tractor Paths

    Setup as described in the FormsMaster 8000 Series Operator's Manual. Escape sequences for loading forms are only available in the Epson and Printek emulations. In either chapter refer to the “Load Form” escape sequence in the “Forms and Tractors” section.
  • Page 11: Ansi X3.64 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 12 ANSI X3.64 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.
  • Page 13: Control Codes And Escape Sequences

    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.
  • Page 14: Character Size And Line Spacing

    ANSI X3.64 Emulation 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.
  • Page 15: Horizontal Position

    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. Escape Sequence: Hexadecimal: Horizontal Position...
  • Page 16: Vertical Position

    ANSI X3.64 Emulation 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.
  • Page 18: Horizontal And Vertical Position

    The usual rational is that the program is then in complete control of form length, and will work 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.
  • Page 19: Horizontal Tabs

    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.
  • Page 20: Vertical Tabs

    (based upon the current line spacing), not an absolute physical position. Escape Sequence: Hexadecimal: Clear All Vertical Tab Stops Clears all currently set vertical tab stops. Escape Sequence: Hexadecimal: Printer Controls Bell Causes the printer's bell to sound. ESC J ESC [ 1 g ESC [ 4 g...
  • Page 21 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.
  • Page 22: Emulations

    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.
  • Page 23: Control Codes And Escape Sequences (Alphabetical)

    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...
  • Page 25: Epson Fx Emulation

    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.
  • Page 26: Control Codes And Escape Sequences

    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.
  • Page 27: Character Size

    Hexadecimal: Character Size The FormsMaster 8000 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. Epson emulation supports 10, 12, 15, 17.14, and 20 cpi via software, but does not support 13.3 or 16.7 cpi. Every emulation supports 10 cpi, and we consider this to be the default character pitch.
  • Page 28 Epson FX Emulation 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. Select 10 CPI Selects 10 cpi by cancelling 12 cpi and 15 cpi. Condensed mode is unaffected. The resulting character spacing will be 10 cpi, or if condensed mode is also selected, 17.14 cpi.
  • Page 29 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:...
  • Page 30: Character Attributes

    Epson FX Emulation 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 31 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.
  • Page 32: Character Sets

    Epson FX Emulation 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...
  • Page 33 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 34 Epson FX Emulation 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...
  • Page 35: Line Pitch

    Escape Sequence: Hexadecimal: Disable Printing of High Symbols Disables printing of character values 128 through 159 decimal. These characters will be treated as control codes. Overrides the “Characters” value in the interface setup menu. Escape Sequence: Hexadecimal: Printing of Low Symbols Enables printing of character values 0 through 31 decimal if they are not used as control codes for n=1, or disables printing for n=0.
  • Page 36: Horizontal Position

    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.
  • Page 37: Vertical Position

    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 38 Epson FX Emulation control of form length, and will work 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.
  • Page 39: Horizontal Tabs

    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 40: Vertical Tabs

    Epson FX Emulation Relative Horizontal Tab Move the carriage position to the left or right of the current carriage position. The displacement is specified in 120ths of an inch, and calculated as to the current carriage position, and must fall within the left and right margins or it will be ignored. A negative displacement (2’s complement) causes a move to the left.
  • Page 41: Horizontal Margins

    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.
  • Page 42: Vertical Margins

    Epson FX Emulation The right margin is exclusive. For example, a right margin at column 75 allows a character to be printed in column 74, but not in column 75. The leftmost column is column zero. The right margin must be right of the left margin and 13.6 inches.
  • Page 43: Graphics

    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.
  • Page 44 Epson FX Emulation Example: The following escape sequence will print six bytes of graphics data at 60 dpi. The resulting figure will resemble a backslash character, “\”. Escape Sequence: Hexadecimal: 120 DPI Graphics 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.
  • Page 45: Printer Controls

    Unidirectional printing provides more accurate positioning, but causes lower throughput. Example: The following escape sequence will force unidirectional printing. Escape Sequence: Hexadecimal: Reset Deletes all data on the current line and initializes the printer to the default settings for the current form. _______ < < Epson FX Emulation ESC * m n1 n2 data <...
  • Page 46: Forms And Tractors

    If the selected form had not been previously loaded in that path (see the FormsMaster 8000 Series Operator’s Manual), then the printer will go offline until an operator has loaded the form.
  • Page 47: Emulations

    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.
  • Page 48: Control Codes And Escape Sequences (Alphabetical)

    ESC Q n ESC R n ESC S n Bell 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...
  • Page 51: Ibm Proprinter Emulation

    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.
  • Page 52: Control Codes And Escape Sequences

    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.
  • Page 53: Character Size

    Character Size The FormsMaster 8000 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.
  • Page 54 IBM Proprinter Emulation 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:...
  • Page 55: Character Attributes

    Escape Sequence: Hexadecimal: 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 56: Character Sets

    IBM Proprinter Emulation 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: Character Sets Select Character Set 1 Selects character set 1.
  • Page 57: Line Pitch

    Escape Sequence: Hexadecimal: Select Print Mode Selects print mode n according to the following chart. Overrides the “Font” value in the forms menu. Print Mode Draft Fast Draft 12 cpi Letter Quality Letter Quality Example: The following escape sequence will select the IBM Proprinter letter quality font. Escape Sequence: Hexadecimal: Line Pitch...
  • Page 58: Horizontal Position

    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.
  • Page 59: Vertical Position

    The usual rational is that the program is then in complete control of form length, and will work 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.
  • Page 60: Horizontal Tabs

    IBM Proprinter Emulation 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. Resets top of form to the current position, so it is wise to be at top of form before setting form length.
  • Page 61 Horizontal Tab 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. Default tab stops are set at every eighth column, i.e. column 9, 17, 25, 33, 41, etc.
  • Page 62: Vertical Tabs

    IBM Proprinter 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 Causes the current line to be printed, and then advances the paper to the next vertical tab stop.
  • Page 63: Vertical Margins

    Set Left and Right Margin 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.
  • Page 64: Graphics

    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.
  • Page 65 Escape Sequence: Hexadecimal: High Speed 120 DPI Graphics Selects eight wire high speed double density (120 dpi) graphics for n1 + (n2 x 256) columns of data. Horizontally adjacent dots may not be printed. Example: The following escape sequence will print six bytes of graphics data at 120 dpi. The resulting figure will resemble a backslash character, “\”.
  • Page 66: Printer Controls

    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.
  • Page 67: Emulations

    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.
  • Page 68: Control Codes And Escape Sequences (Alphabetical)

    Variable Distance Line Feed 60 DPI Graphics 120 DPI Graphics Set Perforation Skip Cancel Perforation Skip Deselect Printer Reset Horizontal and Vertical Tab Stops Select Subscript or Superscript Mode Select Condensed Mode Select Double-Wide Mode (one line) Cancel Subscript and Superscript Mode...
  • Page 69 IBM Proprinter Emulation ESC ^ n Print Single Character End of Text Form Feed Horizontal Tab Line Feed Select Condensed Mode Select Double-Wide Mode (one line) Vertical Tab...
  • Page 71: Dec La120 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 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.
  • Page 73: Control Codes And Escape Sequences

    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.
  • Page 74: Character Size

    DEC LA120 Emulation Character Size The FormsMaster 8000 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 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.
  • Page 75: Character Attributes

    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.
  • Page 76: Line Pitch

    DEC LA120 Emulation 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...
  • Page 77: Horizontal Position

    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: Vertical Position

    DEC LA120 Emulation Vertical Position Line Feed (or) (or) 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: Control code:...
  • Page 79: Horizontal And Vertical Position

    The usual rational is that the program is then in complete control of form length, and will work 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.
  • Page 80: Horizontal Tabs

    DEC LA120 Emulation 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.
  • Page 82: Vertical Tabs

    DEC LA120 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 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.
  • Page 84: Horizontal Margins

    DEC LA120 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 Sets the left margin to column n1 and the right margin to column n2 at the current character spacing.
  • Page 85: Vertical Margins

    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.
  • Page 86: Printer Controls

    Escape Sequence: 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.) Emulations Select Software Interface n Selects the software interface n according to the table below.
  • Page 87 This chapter describes DEC LA120 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.
  • Page 88: Control Codes And Escape Sequences (Alphabetical)

    Select Software Interface n Set Horizontal Tab Stop Set Vertical Tab Stop Control Sequence Introducer Absolute Horizontal Tab Relative Horizontal Tab Printer Identification Printer Identification Absolute Vertical Tab Relative Vertical Tab Clear Horizontal Tab Stop Clear Horizontal Tab Stop Clear Vertical Tab Stop...
  • Page 89 DEC LA120 Emulation Vertical Tab Set Vertical Tab Stop...
  • Page 91: Simple Tty 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.
  • Page 92: Control Codes And Escape Sequences

    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.
  • Page 93: Vertical Position

    The usual rational is that the program is then in complete control of form length, and will work 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.
  • Page 94: Horizontal Tabs

    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:...
  • Page 95: Emulations

    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.
  • Page 96: Control Codes And Escape Sequences (Alphabetical)

    Simple TTY 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...
  • Page 97: Printek Emulation

    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.
  • Page 98 (using the ESC L n sequence), and then return to their standard emulation (using the ESC ESC n sequence). If you normally use Epson emulation, please note that the Epson sequence ESC EM n allows Form 0, 1, or 2 to be selected without switching to Printek emulation.
  • Page 99: Control Codes And Escape Sequences

    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.
  • Page 100: Character Size

    Printek Emulation 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...
  • Page 101: Character Attributes

    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: Printek Emulation ESC E n ESC D n ESC _ n...
  • Page 102: Character Sets

    Printek Emulation 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...
  • Page 103: Line Pitch

    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. Printek Emulation ESC LF n...
  • Page 104: Form Length And Form Feed

    The usual rational is that the program is then in complete control of form length, and will work 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.
  • Page 105 The default tab stops are restored by ESC R. Example: The following escape sequence will set horizontal tab stops at half inch intervals, if character spacing is currently 10 cpi. Escape Sequence: Hexadecimal: ESC HT n1 n2 ... nx NUL Printek Emulation...
  • Page 106: Vertical Tabs

    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.
  • Page 107: Horizontal Margins

    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.
  • Page 108: Vertical Margins

    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 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.
  • 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.
  • Page 110: Printer Controls

    The supported graphics densities above may not be an integral multiple of this resolution. 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 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.
  • Page 112: Forms And Tractors

    If the selected form had not been previously loaded in that path (see the FormsMaster 8000 Series Operator’s Manual), then the printer will go offline until an operator has loaded the form.
  • Page 113: Emulations

    ESC ESC @ will return to the default emulation, as specified by the “Emulation” value in the interface setup menu. 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.
  • Page 114: Control Codes And Escape Sequences (Alphabetical)

    Printek Emulation Control Codes and Escape Sequences Sorted Alphabetically 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...
  • Page 115: Port Switching Programming Considerations

    Note that since any one of these ports can become active at any time, items which pertain to each port need to be set up as described in the FormsMaster 8000 Series Operator’s Manual. Ports that will not be used (not installed or not connected to a computer) do not need to be set up. Optional interfaces that are not installed are not displayed in the Setup menus.
  • Page 116 The best programming practice is for the programs at each host to leave the printer in a “clean” state. This means that all programmers on all the hosts should probably agree on some known state that they can all expect to find the printer in, and be expected to leave the printer in when their program is finished.
  • Page 117: Configuration Download

    CONFIGURATION DOWNLOAD The FormsMaster 8000 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.
  • Page 118: Remote Setup Line Definitions

    TopMargin=0 ... 226 BottomMargin=0 ... 226 CharactersPerInch=10,12,13.3,15,16.74,17.14,20 LeftMargin=0 ... 268 RightMargin=4 ... 272 Font=Epson_FX_FD,Epson_FX_DF,Epson_FX_LQ, PC_English_FD,PC_English_DF,PC_English_LQ, PC_Latin2_FD,PC_Latin2_DF,PC_Latin2_LQ, DEC_LA120_FD,DEC_LA120_DF,DEC_LA120_LQ, EBCDIC_FD,EBCDIC_DF,EBCDIC_LQ, OCR_A_FD,OCR_B_FD DraftSpeed=Normal,Fast ImpactForce=Normal,High Language=USA,France,Germany,England,Denmark, Sweden,Italy,Spain,Japan,Finland Zero=Normal,Slashed Unidirectional=No,Yes [SerialInterface] 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 BaudRate=110,150,300,600,1200,2400,4800,9600,19200 DataBits=8,7 StopBits=1,2 Parity=None,Even,Odd BusyPolarity=Low,High DTR=Power,Online,Busy XON/XOFF=Off,On ETX/ACK=Off,On...
  • Page 119 [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 [LanInterface] 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 [CoaxInterface] PrinterEmulation=3287,3262 MaxPrintPosition=132,None MaxPrintLine=66,None FFonLocalCopy=Enable,Disable FFValid=Anywhere,Column1orMPP+1 FFatEOM=Disable,Enable PaperErrorReport=Disable,Enable CharacterSet=Multinational,USA,Austria/Germany,Belgium,Brazil, CanadianFrench,Denmark/Norway,Finland/Sweden,France,Italy, Japan(English),Japan(Katakana),Portuguese,Spain,SpanishSpeaking, UnitedKingdom LogicalNotCharacter=5Eh,E1h NULSuppression=Disable,Enable HostCPIControl=Enable,Disable HostLPIControl=Enable,Disable HostFormLength=Enable,Disable BufferSize=4K,2K DisplaySize=1920,2560,3440,3564,920 [TwinaxInterface] PrinterEmulation=4214,5225,5256,4234 CharacterSet=Multinational,USA,Austria/Germany,Belgium,Brazil, CanadianFrench,Denmark/Norway,Finland/Sweden,France,Italy, Japan(English),Japan(Katakana),Portuguese,Spain,SpanishSpeaking, UnitedKingdom LogicalNotCharacter=5Eh,E1h...
  • Page 120 Configuration Download [IPDS-CoaxInterface] MaxPrintPosition=132,None CRatMPP+1=CR,NL NLatMPP+1=NL,2xNL MaxPrintLine=66,None FFonLocalCopy=Enable,Disable FFValid=Anywhere,Column1orMPP+1 FFatEOM=Disable,Enable FFOperation=FF,FF+Space PaperErrorReport=Disable,Enable CharacterSet=Multinational,USA,Austria/Germany,Belgium,Brazil, CanadianFrench,Denmark/Norway,Finland/Sweden,France,Italy, Japan(English),Japan(Katakana),Portuguese,Spain,SpanishSpeaking, UnitedKingdom LogicalNotCharacter=5Eh,E1h NULSuppression=Disable,Enable HostImpactControl=Enable,Disable HostBinSelect=Enable,Disable BufferSize=4K,2K DisplaySize=1920,2560,3440,3564,920 [IPDS-TwinaxInterface] CharacterSet=Multinational,USA,Austria/Germany,Belgium,Brazil, CanadianFrench,Denmark/Norway,Finland/Sweden,France,Italy, Japan(English),Japan(Katakana),Portuguese,Spain,SpanishSpeaking, UnitedKingdom HostImpactControl=Enable,Disable HostBinSelect=Enable,Disable [Imager/ImagerPlusInterface] Emulation=QMSCodeVVersion2,PrintronixCodeVVersion2,PrintronixIGP ControlCharacter=01h ... 09h,0Eh ... FFh LineTerminator=LF,CR BarCodeDensity=LowRes,MediumRes,HighRes,GraphicsMediumRes QMSCharacterSet=USA,UnitedKingdom,Sweden/Finland,Norway/Denmark, Japan,Germany,France,Italy,Spain,PCSubset,CodeVVersion1 Translation=NotActive,Active FreeFormat=NotActive,Active IgnoreData=NotActive,Active...
  • Page 121 Configuration Download [Options] MaxFormAllowed=0 ... 9 AutoScroll=Off,1 ... 15 PaperOutFault=BreakPage,ReprintPage,FinishPage PageSize=0K ... 28K RibbonCheck=Off,On RibbonLife=5 ... 30 [Security] AlignPrint=ViewOnly,EditAllowed FormsMenu=ViewOnly,EditAllowed InterfaceMenu=ViewOnly,EditAllowed OptionsMenu=ViewOnly,EditAllowed [EndPrintekSetup] R e mo te Se tup Exa mp le F ile The following example will set up three forms. Before the forms are set up, “AlignPrint” and all “Forms”...
  • Page 123: Hex Dump Mode

    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.
  • Page 125: Coax/Twinax Command Interpreter

    Example: The following string will cause the interface command interpreter to send the ESC L n sequence (see the “Forms and Tractors” section in the Printek emulation chapter) to the printer to load form number two. Turn the command interpreter on by sending ¬ONN...
  • Page 126 To assist in verifying that the proper EBCDIC characters are being sent to the coax/twinax port from the host, the printer may be set to an EBCDIC Code Dump mode which will print the EBCDIC character value of the characters received. To turn on this test mode, refer to the Printer Configuration chapter in the FormsMaster 8000 Series Operator's Manual.
  • Page 127: Printing Basic Bar Codes

    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 128 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.
  • Page 129: Bar Code Sequences

    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.
  • Page 130: The Bar Code Control Character

    “^” 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.
  • Page 131: Bar Code Definition

    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 132: Variable Width Bar Code Definition

    Printing Basic Bar Codes 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 133: Bar Code Height

    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 134 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.
  • Page 135: Relative Vertical Tab

    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 136: Bar Code Pass Terminator

    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.
  • Page 137: Mixing Bar Codes And Text

    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.
  • Page 138: Supported Bar Code Types

    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.
  • Page 139: Ascii Character Tables

    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 FormsMaster 8000 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.
  • Page 140: Epson Fx Font Samples

    ASCII Character Tables Epson FX Fast Draft Epson FX Draft Epson FX Letter Quality...
  • Page 141: Pc Font Samples

    ASCII Character Tables PC Fast Draft PC Draft PC Letter Quality...
  • Page 142: Ebcdic Font Samples

    ASCII Character Tables EBCDIC Fast Draft EBCDIC Draft EBCDIC Letter Quality...
  • Page 143: Pc Latin 2 (Slavic) Font Samples

    ASCII Character Tables Latin 2 (Slavic) Fast Draft Latin 2 (Slavic) Draft Latin 2 (Slavic) Letter Quality...
  • Page 144: Ocr A Font Sample

    ASCII Character Tables OCR A OCR B...
  • Page 145: Decimal To Octal To Hexadecimal Conversion Table

    Decimal to Octal to Hexadecimal Conversion Table Oct Hex ASCII 13 XOFF “ & < > Oct Hex ASCII Oct Hex ASCII Character Tables Oct Hex...
  • Page 147: 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.
  • Page 149: Glossary

    The column on the current line where the next character will be printed. default Value or configuration assumed when the printer is powered on or reset. Dots per inch. Generally used to refer to graphics density or resolution. draft Refers to the draft (high speed) font.
  • Page 150 The vertical position where the first line is printed on the paper. Also the position the paper is advanced to when a form feed (FF) character is received from the host or the Form Feed button is pressed on the printer's control panel. tractors...

This manual is also suitable for:

8003

Table of Contents