Printronix P7000 H-Series Programmer's Reference Manual

Printronix P7000 H-Series Programmer's Reference Manual

Lq-1600k emulation for the p7000 h-series of line matrix printers
Hide thumbs Also See for P7000 H-Series:
Table of Contents

Advertisement

Programmer's Reference Manual
LQ-1600K Emulation For The
P7000 H-Series Of Line Matrix Printers

Advertisement

Table of Contents
loading

Summary of Contents for Printronix P7000 H-Series

  • Page 1 Programmer’s Reference Manual LQ-1600K Emulation For The P7000 H-Series Of Line Matrix Printers...
  • Page 3 Programmer’s Reference Manual LQ-1600K Emulation For The P7000 H-Series Of Line Matrix Printers...
  • Page 4: Trademark Acknowledgements

    Printronix, Inc. makes no representations or warranties of any kind regarding this material, including, but not limited to, implied warranties of merchantability and fitness for a particular purpose. Printronix, Inc. shall not be held responsible for errors contained herein or any omissions from this...
  • Page 5: Table Of Contents

    Table Of Contents 1 Introduction... 11 About This Manual...11 Warnings And Special Information ...11 Software Features ...11 2 Configuring With The Control Panel ... 13 Introduction ...13 Printing The Configuration ...14 The Configuration Menu ...16 Moving Within The Configuration Menu ...17 Saving Your New Configuration ...19 Hanzi GB LP+ Menu ...22 Kanji SJIS LP+ Menu ...24...
  • Page 6 Double Wide Print (One Line) ... 62 Double Wide Print (One Line), Cancel ... 62 Double Wide, Double High (2x2) Print ... 63 Download Chinese Font (For Hanzi Big5 Printer Only)... 63 Emphasized Print (Select)... 63 Emphasized Print (Cancel) ... 64 Enable Printing Of Control Codes ...
  • Page 7 Printer Deselect...85 Printer Select...86 Proportional Spacing, Select/Deselect ...86 Rotate Character 90 Degrees Counter-Clockwise ...86 Select Autowrap Mode (For Hanzi Big5 Printer Only) ...87 Select Bit Image ...87 Select DBCS ASCII Character Type ...88 Select DBCS Character Bitmap ...88 Select DBCS Character Font ...88 Select DBCS Print Quality...89...
  • Page 8 Set Left Margin (For Hanzi Big5 Printer Only)... 103 Set Line Pitch (For Hanzi Big5 Printer Only) ... 103 Set Logical Right Margin (For Hanzi Big5 Printer Only) ... 103 Set Logical Left Margin (For Hanzi Big5 Printer Only) ... 104 Set Margin (Left) ...
  • Page 9 Bit Image Graphics ...119 Designing A Bit Image Pattern ...121 Bit Image Density ...121 Bit Image Programming Format ...122 Bit Image Sample Program ...123 D Contact Information... 125 Printronix Customer Support Center...125 Printronix Supplies Department ...125 Corporate Offices...126 E Glossary ... 127...
  • Page 10 Table Of Contents...
  • Page 11: Introduction

    About This Manual This manual is designed so you can quickly find the information you need to use the LQ-1600K emulation. This book does not explain how to operate the printer. For printer operation, see the User’s Manual. Warnings And Special Information...
  • Page 12 Chapter Software Features...
  • Page 13: Configuring With The Control Panel

    In order to print data, the printer must respond correctly to signals and commands received from the host computer. Configuration is the process of matching the printer's operating characteristics to those of the host computer and to specific tasks, such as printing labels or printing on different sizes of paper.
  • Page 14: Printing The Configuration

    Chapter Printing The Configuration Printing The Configuration CONFIG. CONTROL Load Config. Save Config. Print Config. Current Short* Current Full Factory Power-Up You should print a configuration to determine what is already stored and what needs to be modified. You can print any or all of the configurations shown above. Configurations 1-8 are the customized configurations.
  • Page 15 Table 1. Printing Configurations Step Make sure the printer is on. Raise the printer cover. ON LINE/CLEAR UNTIL ENTER Carefully tear off the configuration printout. Result OFFLINE QUICK SETUP Allows you to make configuration ENTER SWITCH changes. UNLOCKED OFFLINE QUICK SETUP OFFLINE CONFIG.
  • Page 16: The Configuration Menu

    Table 1. Printing Configurations (continued) Step ON LINE/CLEAR Store the printout in a safe place. The printer is ready for operation. NOTE: Another way to print the current configuration is to go OFFLINE, press the PRT CONFIG key, and then press ENTER.
  • Page 17: Moving Within The Configuration Menu

    Moving Within The Configuration Menu The example in Table 2 explains how to change the LPI value. Table 2. Changing Configurations Step Make sure the printer is on. Raise the printer cover. ON LINE/CLEAR UNTIL Result OFFLINE QUICK SETUP Allows you to make configuration ENTER SWITCH changes.
  • Page 18 Go to Table 3, step 4. To USE CURRENT CONFIGURATION WITHOUT SAVING: ON LINE/CLEAR The printer is ready for operation. All parameters are effective as long as the printer is on. When you turn off the printer, the parameters will be erased from memory. Result...
  • Page 19: Saving Your New Configuration

    Once you have saved a configuration using this option, it will not be lost if you power off the printer. You can load a configuration for a specific print job and also modify and resave it. You may want to print your configurations and store them in a safe place, such as inside the printer cabinet.
  • Page 20 Table 3. Saving Configurations Step If you are already in the Configuration Menu, go to step 5. ON LINE/CLEAR UNTIL UNTIL NOTE: Do not turn off the printer while Save is in progress, because you might lose your configuration. ENTER UNTIL Result OFFLINE...
  • Page 21 NOTE: It is recommended you print the configuration. Go to page 15, step 5. If you decide not to print the configuration, then continue with the following steps. ON LINE/CLEAR The printer is ready for operation. Result Locks the ENTER key.
  • Page 22: Hanzi Gb Lp+ Menu

    Chapter The Configuration Menu Hanzi GB LP+ Menu OFFLINE EMULATION LinePrinter+ Printer CPI/LPI Select Host Protocol Command LQ-1600K Select CPI Enable (see page 30) 10.0* CPI Ignore All 12.0 CPI Ignore CPI 13.3 CPI Ignore LPI 15.0 CPI Ignore Unidir* 17.1 CPI...
  • Page 23 Page Format (from previous page) Margins Perforation Skip Left Margin Disable* 0* columns 1/2 inch (0-369) 2/3 inch Right Margin 5/6 inch 0* columns 1 inch (0-369) Bottom Margin 0* lines (0-451) Figure 3. Hanzi GP LP+ Menu (Continued) Form Length Form Width Abs.
  • Page 24: Kanji Sjis Lp+ Menu

    Chapter The Configuration Menu Kanji SJIS LP+ Menu OFFLINE EMULATION LinePrinter+ Printer CPI/LPI Select Protocol Command LQ-1600K Select CPI Enable (see page 30) 10.0 CPI Ignore All 12.0 CPI Ignore CPI 13.3 CPI Ignore LPI 15.0 CPI* Ignore Unidir* 17.1 CPI 20.0 CPI...
  • Page 25 Page Format (from previous page) Margins Perforation Skip Left Margin Disable* 0* columns 1/2 inch (0-369) 2/3 inch Right Margin 5/6 inch 0* columns 1 inch (0-369) Bottom Margin 0* lines (0-451) Figure 5Figure 4. Kanji SJIS LP+ Menu Form Length Form Width Abs.
  • Page 26: Hanzi Big5 Lp+ Menu

    Chapter The Configuration Menu Hanzi Big5 LP+ Menu OFFLINE EMULATION LinePrinter+ Printer CPI/LPI Select Host Protocol Command LQ-1600K Select CPI Enable (see page 30) 10.0* CPI Ignore All 12.0 CPI Ignore CPI 13.3 CPI Ignore LPI 15.0 CPI Ignore Unidir* 17.1 CPI...
  • Page 27: Font Attributes

    The option “DBCS / ASCII mode” specifies the operating mode of the Hanzi printer. If it is set to DBCS mode, it can print double-byte characters as well as a limited number of single-byte characters. Otherwise, it can only print single- byte characters.
  • Page 28: Page Format

    This menu is used to increase (speed up) graphic printing speed by turning on the Enhanced/Turbo mode. • Normal. The default. The printer prints at the given input graphics resolution. • Enhanced. The printer provides first-level speed up, which means the speed is faster than Normal mode.
  • Page 29 Reset Cmd CFG Ld When the printer receives a host data stream reset command (ESC @ or ESC[K) in addition to resetting printer variables, the power-up configuration will be loaded.
  • Page 30: Lq-1600K

    = For Hanzi GB and Kanji SJIS only. Alt Set 80-9F Currency Sign Printable* RMB Select* Control Code $ Select Figure 7. LQ 1600K Emulation Menu Printer Select Character Set Code Disable* Standard Sets* Enable Epson Set* ASCII (USA)* French...
  • Page 31: Character Set

    Disable. Discards any data past the forms width. Define LF Code The Define LF Code option controls the action of the printer when it receives a Line Feed code (hex 0A) from the host computer. If this feature is enabled, each time the printer receives a Line Feed, it inserts an additional Carriage Return code (hex 0D) into the data stream.
  • Page 32 Chapter The Configuration Menu Alt. Set 80-9F • Control Code. Interprets data in the range of hex 80 through hex 9F as a control code. • Printable. Prints data in the range of hex 80 through hex 9F. Currency Sign (for GB and Kanji) •...
  • Page 33: Lineprinter Plus Lq-1600K Emulation

    LinePrinter Plus LQ-1600K Emulation LQ-1600K Emulation “Emulation” refers to the ability of a printer to execute the commands of other printer control languages. In LQ-1600K emulation mode, your printer prints files coded for Epson LQ series printers, particularly the LQ-1600K.
  • Page 34: Default Values And States

    Chapter LQ-1600K Emulation Default Values And States Your printer stores a set of typical operating states and conditions in the flash memory. The first time you power up the printer, the factory settings in Table 4 are automatically invoked. Characteristic...
  • Page 35 Table 4. Factory Settings (continued) for Hanzi GB Characteristic Auto LF Define LF Code Printer Select Character Set 20 CPI Condensed Alt Set 80-9F Currency Sign AR3240 Compat. Table 5. Factory Settings for Kanji SJIS Characteristic Select CPI Select LPI...
  • Page 36 Perforation Skip Form Length Form Width Reset Cmd CFG Ld Illegal Code Pt. Define CR Code Auto LF Define LF Code Printer Select Character Set 20 CPI Condensed Alt Set 80-9F Currency Sign AR3240 Compat. Characteristic Select CPI Select LPI...
  • Page 37 Bottom Margin Perforation Skip Form Length Form Width Reset Cmd CFG Ld Illegal Code Pt. Define CR Code Auto LF Define LF Code Printer Select Character Set 20 CPI Condensed Alt Set 80-9F Default Setting Disable Disable Address Table Disable...
  • Page 38: Epson Character Sets

    LQ-1600K Emulation Epson Character Sets The LQ-1600K printer uses two character sets: the IBM PC set and the Epson set. The Epson set is the ASCII character set with the upper, non-ASCII set defined as italics and the usually unprintable codes designed as international characters.
  • Page 39: Escape Sequences

    Another type of control code which consists of more than one character is called an “FS sequence,” because the first character is the ASCII FS character. This control code is used when the printer is printing Double Byte Character Set (DBCS) characters. The FS alerts the printer that a special function command (not printable characters) follows.
  • Page 40: Dbcs Mode

    ASCII characters. If a form hex 0x20 through hex 0x7F is sent to the printer, it will be printed as a standard ASCII character. If a character is larger that 0x7F, it will be combined with the next character to produce one DBCS character.
  • Page 41: Control Code Index

    Control Code Index The following index lists the control codes by function, ASCII mnemonic, and page number. Some control code functions can also be selected at the control panel. FUNCTION Vertical Motion and Print Execution Carriage Return Form Feed Line Feed Line Feed n /180 Inch Line Spacing 1/6 Inch (6 lpi) Line Spacing 1/8 Inch (8 lpi)
  • Page 42 Superscript and Subscript Printing, Cancel Underline Print Quality Control Master Print Select Select Print Quality Select Typeface (TW printer only) Character Set Manipulation Enable Printing of Control Codes Make Hex 80-9F Printable Make Hex 80-9F Control Codes Set International Character Set...
  • Page 43 Set Logical Right Margin Set Line Pitch Set Logical Left Margin Set Paper Length Turn On/Off OCRB Printing AR3240 Commands (for GB and Kanji printer only) Set 0-dot Intercharacter Spacing of DBCS Characters Set 3-dot Intercharacter Spacing of DBCS Characters...
  • Page 44 Chapter Configuring The LQ-1600K Emulation With Control Codes FUNCTION Double Wide, Double High (2x2) Print Half-Width Print Half-Width Print Cancel Master Print Select in DBCS Mode Rotate Character 90 degrees Counter-Clockwise Select DBCS Print Quality Set Intercharacter Spacing (one-byte) in DBCS Mode Set Intercharacter Spacing (two-byte) in DBCS Mode ASCII CODE...
  • Page 45: Adjust Half-Width Characters To Fit Into Dbcs Character Spacing

    Adjust Half-Width Characters To Fit Into DBCS Character Spacing ASCII Code FS U Hex Code 1C 55 Dec Code 28 85 Purpose Aligns two half-width characters to fit the space normally occupied by a single full-width DBCS character. Comment This control code does not function while in non-DBCS mode. Adjust Table Characters ASCII Code FS v n Hex Code...
  • Page 46: Align Two Half-Width Rotated Characters In Dbcs Mode

    Chapter Configuring The LQ-1600K Emulation With Control Codes Align Two Half-Width Rotated Characters In DBCS Mode ASCII Code FS D Hex Code 1C 44 Dec Code 28 68 Purpose Aligns two half-width rotated characters to fit the space occupied by a normal size rotated character. Comment Right after the control code sequence, two characters are paired.
  • Page 47: Backspace

    Backspace ASCII Code BS Hex Code Dec Code Purpose Moves the simulated print head to the left, one-byte space toward the first character column. In DBCS mode, the movement is two one-byte spaces. Comment Moves the character position indicator one-byte space (two one-byte spaces in DBCS mode) to the left at the current character pitch setting.
  • Page 48: Barcode Printing

    Chapter Configuring The LQ-1600K Emulation With Control Codes Barcode Printing ASCII Code SSCC c t; d data d [; N n ; xxxx ; yyyy ] [; X mmmm ] [; P p ] [; C ] [; H hh ] [; D ] [; F q data q ] Hex Code SSCC 63 t;...
  • Page 49 Where: d = barcode delimiter, which can be any character not used in the barcode data field. data = variable length printable data field (PDF); character set is Alphanumeric The following parameters are optional: where: N = activates the offset n = the x and y coordinate unit system n (ASCII) Use current cpi and lpi values...
  • Page 50 Chapter Configuring The LQ-1600K Emulation With Control Codes Where: xxxx = 4-digit upper left corner x (horizontal axis) yyyy = 4-digit upper left corner y (vertical axis) X = activates magnification mmmm = bar code magnification The possible magnification is as follows: Barcode Type Code 39 Interleaved 2/5...
  • Page 51: Bell

    Bell ASCII Code BEL Hex Code Dec Code Purpose Sounds the printer's buzzer/beeper. Comment The BEL function will sound the buzzer/beeper for 0.2 seconds upon receipt of this command Cancel Character Rotation ASCII Code FS K Hex Code...
  • Page 52: Cancel Line

    Chapter Configuring The LQ-1600K Emulation With Control Codes Cancel Line ASCII Code CAN Hex Code Dec Code Purpose Clears all data not yet printed from a line, but does not affect control codes. Comment You can use this control code to delete a line, but do so with caution to avoid possible misprinting.
  • Page 53: Cc Dos Control Code

    CC DOS Control Code ASCII Code ESC I n Hex Code 1B 49 n 27 73 n Dec Code Table 8. CC DOS Control Code Parameters Value of n Characters print normal size. Characters print double width, in both ASCII and Hanzi mode.
  • Page 54: Character Pitch 15 Cpi

    Control code SI affects all subsequent characters. After receiving code SI, all characters are printed condensed until the printer is reset by ESC M, ESC P, DC2, a printer reset, or a new print mode control code. SI code (hex 0F) is equivalent to the ESC SI code.
  • Page 55: Dbcs Mode (Select)

    Places the printer in DBCS mode. Comment All data received by the printer with the MSB set will be paired with the next character which may or may not be a DBCS character. If the pair constitutes a 2-byte code which falls within the defined DBCS character set range, a DBCS character will be printed.
  • Page 56: Dbcs Superscript/Subscript Print (Set/Cancel)

    The character can then be printed by sending a1 a2 to the printer. The character can print in all the DBCS typefaces. It will be available until the printer power is recycled.
  • Page 57: Define Pattern For Special Printing Effect

    UTF8 E000~F8FF Multiple characters from these ranges can be defined as long as the printer does not run out of memory. Define Pattern For Special Printing Effect ASCII Code ESC ( X n1 n2 a1 a2 a3 1B 28 58 n1 n2 a1 a2 a3...
  • Page 58: Define User-Defined Character

    Dec Code Purpose Sets the ASCII format data for a user-defined character. The user-defined characters can be printed by sending a1 a2 to the printer. Where: a1 = high byte code point a2 = low byte code point d1...d144 = 144 bytes ASCII format data Comment This command takes effect only in DBCS mode.
  • Page 59: Delete Character

    Delete Character ASCII Code DEL Hex Code Dec Code Purpose Deletes the previous character on a line. Comment This command is ignored if it occurs immediately after a CR or a paper motion command. Characters truncated due to line length restrictions are not affected by this code. Double High Print, Set/Reset ASCII Code ESC w n Hex Code...
  • Page 60: Double Strike (Cancel)

    Chapter Configuring The LQ-1600K Emulation With Control Codes Double Strike (Cancel) ASCII Code ESC H Hex Code 1B 48 Dec Code 27 72 Purpose Turns off the double strike printing set by ESC G or ESC !. Comment This control code resets only the double strike print attribute. Other print attributes, such as double wide printing, are not affected.
  • Page 61: Double Wide Print (One Line)

    Example The following program illustrates double wide character printing. Double Wide Print (One Line) ASCII Code SO Hex Code Dec Code Purpose Selects double wide print for one line only. Comment This control code is a line-by-line print attribute. When SO or ESC SO is received, the characters on the current line print twice as wide and then reset automatically.
  • Page 62: Double Wide Print (One Line), Cancel

    Chapter Configuring The LQ-1600K Emulation With Control Codes Double Wide Print (One Line), Cancel ASCII Code DC4 Hex Code Dec Code Purpose Cancels the double wide print for one line only selected by SO, ESC SO, or FS SO. Comment This command cancels the double wide print selected by SO, ESC SO, or FS SO, but does not cancel double wide printing selected by ESC W or ESC !.
  • Page 63: Double Wide, Double High (2X2) Print

    Turns on double wide, double high (2x2) printing in DBCS mode. Comment In a non-DBCS mode, this command will function like ESC W. Download Chinese Font (For Hanzi Big5 Printer Only) ASCII Code ASSC 0 Hex Code ASSC 30 54 32...
  • Page 64: Emphasized Print (Cancel)

    Chapter Configuring The LQ-1600K Emulation With Control Codes Example The following program illustrates emphasized character printing. Emphasized Print (Cancel) ASCII Code ESC F Hex Code 1B 46 Dec Code 27 70 Purpose Cancels emphasized character printing selected by ESC E or ESC !.
  • Page 65: Enable Printing Of Control Codes

    1B 49 n 27 73 n Dec Code Purpose Tells the printer to treat codes 0x00 through 0x1F and 0x80 through 0x9F as either printable characters or control codes. Where: n = 1, codes 0x00 through 0x1F and 0x80 through 0x9F are...
  • Page 66: Form Feed

    Chapter Configuring The LQ-1600K Emulation With Control Codes Form Feed ASCII Code FF Hex Code Dec Code Purpose Prints the data in the buffer, if any, then moves the paper to the top of the next form. Comment The simulated print head moves to the left margin. This code cancels all single line print attributes.
  • Page 67: Graphics, Double Density

    Graphics, Double Density ASCII Code ESC L n1 n2 d1 d2...dk Hex Code 1B 4C n1 n2 d1 d2...dk 27 76 n1 n2 d1 d2...dk Dec Code Purpose Selects double density bit image graphics of 120 dpi horizontally and 72 dpi vertically. Expression CHR$(27);“L”;CHR$( n1 );CHR$( n2 );“...
  • Page 68: Graphics, Double Density, Double Speed

    Chapter Configuring The LQ-1600K Emulation With Control Codes Graphics, Double Density, Double Speed ASCII Code ESC Y n1 n2 d1 d2...dk Hex Code 1B 59 n1 n2 d1 d2...dk Dec Code 27 89 n1 n2 d1 d2...dk Purpose Selects double density, double speed bit-image graphics of 120 dpi horizontally and 72 dpi vertically.
  • Page 69: Graphics, Quadruple Density

    Graphics, Quadruple Density ASCII Code ESC Z n1 n2 d1 d2...dk Hex Code 1B 5A n1 n2 d1 d2...dk 27 90 n1 n2 d1 d2...dk Dec Code Purpose Selects Quadruple Density Bit Image graphics of 240 dpi horizontally and 72 dpi vertically. Expression CHR$(27);“Z”;CHR$( n1 );CHR$( n2 );“...
  • Page 70: Graphics, Standard Density

    Chapter Configuring The LQ-1600K Emulation With Control Codes Graphics, Standard Density ASCII Code ESC K n1 n2 d1 d2...dk Hex Code 1B 4B n1 n2 d1 d2...dk Dec Code 27 75 n1 n2 d1 d2...dk Purpose Selects normal density bit image graphics of 60 dpi horizontally and 72 dpi vertically.
  • Page 71: Half-Width Print

    Half-Width Print ASCII Code FS SI Hex Code 1C 0F Dec Code 28 15 Purpose Sets the printing of DBCS characters as half-width. SBCS characters maintain at their normal width. Comment This command takes effect only for DBCS characters and is canceled by FS DC2.
  • Page 72: Horizontal Tab Set/Release

    After tabs are set, HT moves the simulated print head to the next tab stop. Sending ESC @ initializes the printer and resets the tabs to every eighth character column (which is the default). In proportional mode, the size of 10 CPI characters determines...
  • Page 73 Horizontal Tab Set/Release Example The following example illustrates how to set horizontal tabs.
  • Page 74: Initialize Printer

    All channels of the vertical format unit are cleared. This command resets the horizontal tabs to every eighth character column. Interface parameters and printer protocol selection are not affected. Italic Printing (Select) ASCII Code ESC 4...
  • Page 75: Line Feed

    Line Feed ASCII Code LF Hex Code Dec Code Purpose Prints the data in the buffer (if any) and advances the vertical character position a distance of one line at the current line spacing. Comment If configured for LF equals newline (LF=CR+LF), the simulated print head is moved to the left margin, otherwise it is not moved from its current position.
  • Page 76: Line Spacing 1/6 Inch (6 Lpi)

    The 2 is ASCII character 2, not hex 2. When ESC 2 is received, all lines are printed at 6 lpi until a new line spacing is selected or the printer is reset. This control code overrides line spacing set at the control panel.
  • Page 77: Line Spacing 1/8 Inch (8 Lpi)

    The 0 is ASCII character 0, not hex 0. When ESC 0 is received, all lines are printed at 8 lpi until a new line spacing is selected or the printer is reset. This control code overrides line spacing set at the control panel.
  • Page 78: Line Spacing N/60 Inch

    When this control sequence is received, all subsequent line feeds are n /60-inch until a new line spacing is selected or the printer is reset. This setting overrides line spacing set at the control panel. When n = 0, the current line spacing is printed.
  • Page 79: Line Spacing N/180 Inch

    The 3 is an ASCII character 3, not hex 3. All line feeds following receipt of this code are at n /180-inch line spacing until a new line spacing is selected or the printer is reset. Line spacing set by this control code overrides the line spacing setting set at the control panel.
  • Page 80: Line Spacing N/360 Inch

    Comment All line feeds following receipt of this code are at n /360-inch line spacing until a new line spacing is selected or the printer is reset. Line spacing set by this control code overrides line spacing set at the control panel. When n = 0, the current line spacing is printed.
  • Page 81: Make Hex 80-9F Control Codes

    Make Hex 80-9F Control Codes ASCII Code ESC 7 Hex Code 1B 37 Dec Code 27 55 Purpose Makes codes hex 80-9F control codes. Comment This is the default when the Epson italic character set is selected as the default set at the control panel. Make Hex 80-9F Printable ASCII Code ESC 6 Hex Code...
  • Page 82 Chapter Configuring The LQ-1600K Emulation With Control Codes BITS 0 0 1 0 0 0 1 1 0 1 0 0 0 1 0 1 0 1 1 0 0 1 1 1 1 0 0 1 1 0 1 0 1 0 1 1 1 1 0 0 1 1 0 1...
  • Page 83: Master Print Select

    Master Print Select ASCII Code ESC ! n Hex Code 1B 21 n 27 33 n Dec Code Purpose Selects or changes print attributes in a single command. Where: n = an 8-bit number with the bits set to specify print attributes, as shown in Table 9.
  • Page 84: Master Print Select In Dbcs Mode

    Chapter Configuring The LQ-1600K Emulation With Control Codes Master Print Select In DBCS Mode ASCII Code FS ! n Hex Code 1C 21 n Dec Code 28 33 n Purpose Selects or changes DBCS print attributes in a single command. Where: n = an 8-bit number with the bits set to specify print attributes, as shown below.
  • Page 85: Master Select One-Line Attribute In Dbcs Mode

    Places printer in the deselected state. Comment The configuration parameter Printer Select must be set to Enable. When the printer receives this command, it ignores data until a DC1 (Printer Select) command is received. Table 11 Function Cancel double width...
  • Page 86: Printer Select

    The configuration parameter Printer Select must be set to Enable. This control code allows the printer to receive and print data from the host if it was deselected by DC3. If the printer was not deselected by DC3, this code is ignored. Proportional Spacing, Select/Deselect...
  • Page 87: Select Autowrap Mode (For Hanzi Big5 Printer Only)

    Select Autowrap Mode (For Hanzi Big5 Printer Only) ASCII Code ASSC 0 Hex Code ASSC 30 54 6D Dec Code ASSC 48 84 109 n Purpose To set Auto Line Feed Where n = 0x30: reset auto LF (default) n = 0x31: set auto LF Comment This control code does not function while in non-DBCS mode.
  • Page 88: Select Dbcs Ascii Character Type

    Chapter Configuring The LQ-1600K Emulation With Control Codes Select DBCS ASCII Character Type ASCII Code FS Hex Code Dec Code Purpose This selects a DBCS ASCII character: n = 0 or 40 Selects normal DBCS ASCII characters n = 1 or 49 Selects oversized DBCS ASCII characters. Where n = 0, 1, 48, 49 The default is n = 0, normal DBCS ASCII character.
  • Page 89: Select Dbcs Print Quality

    Select DBCS Print Quality ASCII Code FS x n Hex Code 1C 78 n 28 120 n Dec Code Purpose Selects the typeface for printing in DBCS mode. Where: n = NUL (hex 00) or 0 (hex 30) selects LQ print quality n = SOH (hex 01) or 1 (hex 31) selects Hi-Speed print quality n = STX (hex 02) or 2 (hex 32) selects Near LQ print quality n = ETX (hex 03) or 3 (hex 33) selects Super Hi-Speed print...
  • Page 90: Select Graphics Mode

    Chapter Configuring The LQ-1600K Emulation With Control Codes Select Graphics Mode ASCII Code ESC * m n1 n2 Hex Code 1B 2A m n1 n2 Dec Code 27 42 m n1 n2 Turns on 8-pin/24-pin bit image graphics mode m. Table 12 Purpose charts the graphics modes available.
  • Page 91: Select Italic Character Set

    Select Italic Character Set ASCII Code ESC t n Hex Code 1B 74 n 27 116 n Dec Code Purpose Selects the italics character set from hex 80 through hex FF. Where: n = SOH (hex 01) or 1 (hex 31) selects the graphics character n = NUL (hex 00) or 0 (hex 30) selects the italics character set Comment The graphics character set is assumed to be the IBM Graphics...
  • Page 92: Select Special Printing Effect

    Chapter Configuring The LQ-1600K Emulation With Control Codes Select Special Printing Effect ASCII Code ESC q n Hex Code 1B 71 n Dec Code 27 113 n Purpose Select the desired effect for printing. Where: n =0 (normal) n =1 (outline) n =2 (shadow) n =3 (outline and shadow) Comment...
  • Page 93: Select Super/Subscript Printing (For Hanzi Big5 Printer Only)

    = 5 OCRB Where: n = 0, 5 Comment This command only takes effect in DCBS mode. Select Underline Printing (For Hanzi Big5 Printer Only) ASCII Code ASSC 0 Hex Code ASSC 30 54 2D Dec Code ASSC 48 84 45 Purpose To set underline printing.
  • Page 94: Select Vertical Printing (For Hanzi Big5 Printer Only)

    = 0, 1, 2, 3, 4, 48, 49, 50, 51, 52 Comment The default value is n = 4, normal character. NOTE: This command is only supported in the Hanzi TW printer. Select Vertical Tab Channel ASCII Code ESC / c...
  • Page 95: Set 3-Dot Intercharacter Spacing Of Dbcs Characters

    Set 3-dot Intercharacter Spacing of DBCS Characters ASCII Code SUB Hex Code Dec Code Purpose Sets 3-dot intercharacter spacing of DBCS characters. The left intercharacter space is 0 dots; the right intercharacter space is 3 dots. The dot size is 1/180 inch. Comment This command also affects an SBCS character if the character is aligned with a DBCS character by an FS U command.
  • Page 96: Set Absolute Horizontal Print Position In 1/60 Inch

    ( n1 + ( n2 x 256)) / 60 = the unsigned distance in inches from the left margin. Comment If the distance goes beyond the right margin, the sequence is ignored. Set Chinese Font Rotate (For Hanzi Big5 Printer Only) ASCII Code ASSC 0 Hex Code ASSC 30 54 2B Decimal...
  • Page 97: Set Chinese Inner Code (For Hanzi Big5 Printer Only)

    Set Chinese Inner Code (For Hanzi Big5 Printer Only) ASCII Code ASSC 0 Hex Code ASSC 30 54 41 Dec Code ASSC 48 84 65 Purpose Select code page as: n = 0x30: Big5 (default) n = 0x31: NS n = 0x32: DCI...
  • Page 98: Set Form Length By Lines

    Chapter Configuring The LQ-1600K Emulation With Control Codes Set Form Length By Lines ASCII Code ESC C n Hex Code 1B 43 n Dec Code 27 67 n Purpose Sets the form length by lines. Where: n = 1 through 127 to specify the number of lines per form at the current line spacing.
  • Page 99: Set Form Length In Inches

    When forms length is set by an ESC C sequence, the skip-over perforation set by ESC N is cancelled. This control code overrides forms length set at the control panel. Set Font Pitch (For Hanzi Big5 Printer Only) ASCII Code ASSC 0 Hex Code ASSC 30 54 50...
  • Page 100: Set Intercharacter Spacing

    Chapter Configuring The LQ-1600K Emulation With Control Codes Set Intercharacter Spacing ASCII Code ESC SP n Hex Code 1B 20 n Dec Code 27 32 n Defines n dots for intercharacter spacing. Purpose The valid values of n = 0 through 127. This control code defines Comment the space to the right of the printed character in dot positions.
  • Page 101: Set Intercharacter (Two-Byte) Spacing In Dbcs Mode

    Set Intercharacter (Two-Byte) Spacing In DBCS Mode ASCII Code FS S n1 n2 Hex Code 1C 53 n1 n2 28 83 n1 n2 Dec Code Purpose Defines preceding/succeeding dots for intercharacter spacing. Comment This control code defines the space to the left/right of the printed character in dot positions.
  • Page 102 Chapter Configuring The LQ-1600K Emulation With Control Codes Table 13. Epson International Character Sets (Hex) International Character Set Is: French German English (UK) Danish I Swedish Italian Spanish I Japanese Norwegian Danish II Spanish II Latin American I French Canadian Latin American II Comment This control code setting overrides a character set selection...
  • Page 103: Set Left Margin (For Hanzi Big5 Printer Only)

    Where: n1, n2, n3, n4 = 0x30 ~ 0x39 Comment This control code does not function while in non-DBCS mode. Set Logical Right Margin (For Hanzi Big5 Printer Only) ASCII Code ASSC 0 Hex Code ASSC 30 54 79 Dec Code...
  • Page 104: Set Logical Left Margin (For Hanzi Big5 Printer Only)

    Chapter Configuring The LQ-1600K Emulation With Control Codes Set Logical Left Margin (For Hanzi Big5 Printer Only) ASCII Code ASSC 0 Hex Code ASSC 30 54 24 Dec Code ASSC 48 84 36 Purpose To set left margin by current left margin +n1n2n3n4. n1n2n3n4 is dot by 300 dpi, and will be converted in dot by 180 dpi.
  • Page 105: Set Margin (Right)

    In DBCS mode, the right margin will be set according to the width of DBCS characters. This command affects the front panel setting of “Right Margin.” Set Paper Length (For Hanzi Big5 Printer Only) ASCII Code ASSC 0 Hex Code...
  • Page 106: Set Relative Horizontal Print Position In 1/120 Inches

    The command is ignored if it would move the simulated print head beyond the page margins. Set Right Margin (For Hanzi Big5 Printer Only) ASCII Code ASSC 0 Hex Code ASSC 30 54 51...
  • Page 107: Set Vertical Tabs In Channels

    Set Vertical Tabs In Channels ASCII Code ESC b c n1 n2 n3...n16 NUL Hex Code 1B 62 c n1 n2 n3...n16 00 27 98 c n1 n2 n3...n16 0 Dec Code Purpose Assigns vertical tabs to channels selected by ESC /. Where: c = 0 through 7 n = 1 through 255...
  • Page 108: Skip Over Perforation Cancel

    Cancels the skip over perforation set by ESC N and resets the bottom margin to zero. Comment O is ASCII uppercase o, not zero (0). Static Barcode Function (For Hanzi Big5 Printer Only) ASCII Code ASSC 0 Hex Code ASSC 30 54 63...
  • Page 109: Superscript And Subscript Printing

    When the control code is received, all characters are superscript or subscript until reset by ESC T or printer reset. You can print both superscript and subscript characters in the same character column by using the Backspace (BS) control code, but these characters will not print when double high printing is in effect.
  • Page 110: Superscript And Subscript Printing (Cancel)

    Chapter Configuring The LQ-1600K Emulation With Control Codes Superscript And Subscript Printing (Cancel) ASCII Code ESC T Hex Code 1B 54 Dec Code 27 84 Purpose Cancels superscript and/or subscript printing as set by ESC S Turn On/Off Compress Mode ASCII Code ASSC 0 Hex Code ASSC 30 78 n...
  • Page 111: Turn On/Off Ocrb Printing

    Turn On/Off OCRB Printing ASCII Code ASSC 0 Hex Code ASSC 30 7A n ASSC 48 122 n Dec Code Where: n = 0, 1, 48, 49 The default is n = 0. Purpose Turn on/off OCRB mode as follows: n = 0 or 48 - turns off OCRB mode n = 1 or 49 - turns on OCRB mode NOTE: When OCRB is turned on, the OCRB character can be printed out.
  • Page 112: Unidirectional Printing For One Line

    = SOH (hex 01) or 1 (hex 31) turns unidirectional mode on Comment Printing normally occurs in both directions of shuttle movement. Unidirectional printing slows the printer down approximately 50%, but it is sometimes used when very accurate dot placement is desired in graphics.
  • Page 113: Vertical Tab, Execute

    Vertical Tab, Execute ASCII Code VT Hex Code Dec Code Purpose Advances the simulated print head to the next vertical tab position selected by ESC /. Comment If no vertical channel was selected, channel 0 is used. If no vertical tabs were set, the paper advances one line. The simulated print head moves to the left margin.
  • Page 114 Chapter Configuring The LQ-1600K Emulation With Control Codes...
  • Page 115: A Standard Ascii Character Set

    Standard ASCII Character BITS COLUMN (XON) 0 0 1 0 0 0 1 1 (XOFF) 0 1 0 0 0 1 0 1 0 1 1 0 0 1 1 1 1 0 0 1 1 0 1 0 1 0 1 1 1 1 0 0 1 1 0 1 1 1 1 0...
  • Page 116 Appendix A Standard ASCII Character Set...
  • Page 117: B Vertical

    Vertical Page Formatting Overview Rapid vertical paper movement is called “slewing.” You can enable the printer to slew paper to preset locations on a page by loading the vertical tab table. The vertical tab table is a set of programmed vertical tabs. Various lines of the form are assigned vertical tabs, which are then accessed by control codes for rapid paper advancement to the tab position.
  • Page 118: Vertical Tab Positions

    Appendix B Vertical Page Formatting Vertical Tab Positions Vertical tab positions are set by line number. A maximum of 16 vertical tab positions can be set on the form. A sample format is shown in Figure 9. The first vertical tab is set at line 6 for part number data, a second tab is set at line 8 for part name data, and a third tab is set at line 14 for quantity data.
  • Page 119: C Graphics

    Graphics Bit Image Graphics Bit image graphics are created by vertically printing the bit pattern of a series of data bytes. For example, the bit pattern of the ASCII character A (hex 41, decimal 65) is shown in Figure 10. If this data byte is rotated 90 degrees clockwise, the result is a vertical data byte with the most significant bit (MSB) at the top.
  • Page 120 Appendix C Graphics The relationship between the ASCII character, its decimal value and its bit image plot is shown in Figure 11. All 8 bits of the data byte are used in all fonts, but some fonts have taller and shorter characters. (You may have to adjust the line spacing in order to print without horizontal gaps.) Data bytes are identified by their binary, octal, hexadecimal, or decimal equivalents.
  • Page 121: Designing A Bit Image Pattern

    NOTE: Every line of graphics data must include the necessary bit image command so the printer can perform the chosen graphics functions. Single Density Mode: ESC K Single density bit image graphics in a Data Processing (DP) print quality are printed at 60 dots per inch (dpi) horizontally and 72 dpi vertically.
  • Page 122: Bit Image Programming Format

    This mode is often used to position a simulated print head precisely by sending blank dot columns. Quadruple Density Mode: ESC Z When printing quadruple density graphics, the printer combines adjacent quadruple density bit image bytes. The compounded data is then printed in double density mode.
  • Page 123: Bit Image Sample Program

    Bit Image Graphics Data that goes past the right margin is discarded if automatic line feed is disabled. If automatic line feed is enabled, data that goes past the right margin triggers an automatic line feed (LF) and is printed on the next line. Bit Image Sample Program The program below, written in BASIC, produces the single density bit image pattern shown in Figure 13.
  • Page 124 Appendix C Graphics...
  • Page 125: D Contact Information

    Americas Europe, Middle East, and Africa Asia Pacific http://www.printronix.com/support.aspx Printronix Supplies Department Contact the Printronix Supplies Department for genuine Printronix supplies. Americas Europe, Middle East, and Africa Asia Pacific http://www.printronix.com/supplies-parts.aspx (714) 368-2686 (31) 24 6489 311...
  • Page 126: Corporate Offices

    NL-6600 Ad Wijchen The Netherlands Phone: (31) 24 6489489 Fax: (31) 24 6489499 Printronix Schweiz GmbH 42 Changi South Street 1 Changi South Industrial Estate Singapore 486763 Phone: (65) 6542 0110 Fax: (65) 6546 1588 Visit the Printronix web site at www.printronix.com...
  • Page 127: E Glossary

    Analog to Digital. Acknowledge character. A transmission control character transmitted by the printer as an affirmative response to an inquiry from the host. The horizontal location on the paper where the next character will print. The vertical location on the paper where the next character will print.
  • Page 128 Appendix E Glossary bold Boot-up buffer byte character cell character proportion character set character weight checksum to operate at the same baud rate as its host computer. Contraction of binary digit. A digit in the binary number system, represented by a 0 or a 1. A bit is the smallest unit of storage in a digital computer, where 0 and 1 are represented by different voltages.
  • Page 129 An operating instruction (e.g., form feed or FF) sent from a computer to the printer. Also called a control code or non-printable character. Commands are opposed to data, which is printed. command delimiter An ASCII character used to begin a command string.
  • Page 130 ECMA EIA/TIA Elite Abbrev. for Data Carrier Detect. Status signal to the printer. The ON condition is required for the printer to receive data. One tenth of a point. A unit of length equal to 1/720 inch. See also point.
  • Page 131 (Derived from uppercase M, usually the widest character in a set.) emulation Refers to the ability of a printer to execute the commands of another printer protocol. When used as a proper noun (e.g., Epson LQ-1600K Emulation), it means printer protocol.
  • Page 132 The computer that stores, processes, and sends data to be printed, and which communicates directly with the printer. The term “host” indicates the controlling computer, since modern printers are themselves microprocessor-controlled computer systems.
  • Page 133 To put into effect or operation. Abbrev. for inches per minute. A measurement of the speed of a printer printing in graphics print mode (plotting speed). See also lpm. italic A slanted type style. This is an italic type style.
  • Page 134 Contrast with acknowledge character. Abbrev. for Negative-Acknowledge character. A transmission control character transmitted by the printer as a negative response to an enquiry from the host. A unit of storage containing half of a byte, usually four bits.
  • Page 135 The process of separating a programming statement into basic units that can be translated into machine instructions. A printer can recover from an erroneous code sequence by performing as much of the function as possible or parsing the valid parameter from the invalid.
  • Page 136 Acronym for Read-Only Memory. Programs, instructions, and routines permanently stored in the printer. ROM is not lost when power is turned off and cannot be written to, hence the term “read-only.” ROM-resident fonts are fonts which are permanently stored in a printer and available at any time.
  • Page 137 A type of printing technology used in some impact printers. Data is sent to the printer through either a serial or a parallel interface, but the print head must receive the data serially in order to form each character.
  • Page 138 Abbrev. for Code V Graphics Language. An emulation of the QMS Code V Magnum firmware. The software version of the old hardware based IGP that is used in the Printronix PSA line of printers. It provides the same forms and barcode generation capabilities as the IGP.
  • Page 139 (hard disk, floppy diskette, etc.). X-OFF A character transmitted by the printer announcing that the printer is off-line or the buffer is almost full. X-ON A character transmitted by the printer announcing that the printer is on-line or the buffer is almost...
  • Page 140 Appendix E Glossary...
  • Page 141 Currency Sign, Epson emulation, 32 Customer Support Center, 125 DBCS mode, 40 underline, 55 (cancel), 55 (select), 55 DBCS Superscript/Subscript Print (Set/Cancel), 56 DC1 (Printer Select), 86 DC2 (Condensed Print Reset), 54 DC4 (Cancel Double Wide Print, 1-line), 62 Default values, 34...
  • Page 142 ESC J (Line Feed n/216 Inch), 75 ESC K control code, single density bit image graphics, 121 ESC K (Graphics, Standard Density), 70 ESC k (Select Typeface - for Hanzi BIG5 Printer only), 93 ESC L control code, double density bit image graphics, 122...
  • Page 143 FS 2 (Define a Download Character - DBCS), 56 Glossary, 127 Graphic Printing, 66 Graphics Mode, 8-Pin, 90 Graphics Spd Up, Line Printer Plus menu, 28 Graphics, Proprinter and Epson, 119 Hanzi Big5 LP+ Menu, 26 Hanzi GB LP+ Menu, 22...
  • Page 144 Kanji SJIS LP+ Menu, 24 Line Feed, 75 n/216 Inch (1 line), 75 setting with control panel Epson, 31 Line Printer Plus menu, graphics spd up, 28 Line Spacing n/180 Inch, 79 n/360 Inch, 80 n/72 Inch, 78 1/6 Inch, 76...
  • Page 145 SSCC * (Graphic Printing), 87 SSCC + (Select Vertical Printing - for Hanzi BIG5 Printer only), 94 SSCC ~ (Select Super/Subscript Printing - for Hanzi BIG5 Printer only), 93 Static Barcode Function, 108 SUB E (Set 6-dot Intercharacter Spacing of DBCS Characters), 95...
  • Page 148 *179974-001* 179974-001B...

This manual is also suitable for:

P7000hLq-1600k

Table of Contents