® Programmer’s Reference Manual ANSI® Printers
ANSI® Printers Programmer’s Reference Manual ® 164305-001D
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 material or for any damages, whether direct, indirect, incidental or consequential, in connection with the furnishing, distribution, performance or use of this material.
Table of Contents 1 Introduction........................................................... 9 About This Manual................................................................................. 9 Audience ......................................................................................... 9 Warnings and Special Information .................................................. 9 Related Product Information .................................................................. 9 Software Features ..............
Table of Contents Vertical Position Absolute ............................................................. 42 Vertical Position Relative .............................................................. 42 Graphics .............................................................................................. 43 Dot Patterns And Densities ........................................................... 43 Horizontal Format..........................................................................
Table of Contents B Conversion Tables ............................................. 77 C Glossary.............................................................
Table of Contents
1 Introduction About This Manual This manual lists the ANSI® commands and explains how to configure the printer when this emulation is loaded in your printer. Audience This book assumes you are an experienced programmer and are familiar with the ANSI emulation. Warnings and Special Information Read and comply with all information highlighted under special headings: WARNING CAUTION IMPORTANT Conditions that could harm you as well as damage the equipment.
Chapter 1 Installing Printer Emulations • Font Typefaces. Also referred to as print modes. The five typefaces include Near Letter Quality (NLQ), Data Processing (DP), High Speed (HS), OCR A, and OCR B. • Character Sets. Fifty-one character sets are available. You can print the character sets in the different print modes. • Bar codes. Several bar codes are available: Code 3 of 9, Industrial 2 of 5, Interleaved 2 of 5, UPC A, EAN 8, EAN 13, UCC 128, and Codabar. • • Expanded/Oversize print modes.
Downloading Software Through the Serial or Parallel Port Downloading Software Through the Serial or Parallel Port 1. Make a printout of all saved configurations. (Installing new software erases all saved configurations. You will use the printouts to restore the printer configurations.) 2. Set the printer power switch to O (Off). 3. If the printer is already connected to the serial or parallel port of an IBM-compatible computer running the PC-DOS™ or MS-DOS operating system, go to step 9.
Chapter 1 Installing Printer Emulations 15. Using Windows Explorer, create a directory named download at the root level of your C: hard drive. 16. Insert the printer emulation software CD into your computer. Figure 1. Navigating to the Appropriate Emulation File on the CD 17. Using Windows Explorer, navigate to the appropriate file on the CD based on the printer model number and desired emulation, e.g., T50004IGP. (See Figure 1.) 18. Make note of the file name, which is a six digit number plus .exe e.g.
Downloading Software Through the Serial or Parallel Port Figure 2. Copying the Emulation File to the Download Directory 19. Copy the file to the download directory. NOTE: You may need to hold Ctrl to make sure a + appears to the right of the pointer. (See Figure 2.) 20. Start a command prompt session. (The Start Menu icon is usually labeled MS-DOS Prompt or Command Prompt.) 21. At the command prompt type: C: cd \download 22. At the command prompt on the computer type: filename.
Chapter 1 CAUTION Installing Printer Emulations Do not interrupt the downloading process once it has started. Interrupting a download will damage the flash memory on the controller board and NIC. While the file is copied into memory, the printer LCD informs you of the load process and status. 23. When the new program has successfully loaded into memory and the printer has reset itself, set the printer power switch to O (Off). 24. Unplug the AC power cord from the printer. 25.
Downloading Software Through the Network Interface Card (NIC) Figure 3. Navigating to the Appropriate Emulation File on the CD 8. Using Windows Explorer, navigate to the appropriate file on the CD (using the Unzipped directory) based on the printer model number and desired emulation, e.g., Unzipped4T50004IGP. (See Figure 3.) IMPORTANT You must use the Unzipped directory, since this contains the uncompressed files necessary for NIC download. 9.
Chapter 1 Installing Printer Emulations NOTE: The default is no password. If the FTP program requires a password, contact your system administrator. 15. At the password prompt, press . 16. Once logged in, type the following sequence at the command prompt to download the filename.prg file to the printer: cd dest cd d1prn bin put filename.prg (where filename.prg is the file name you noted in step 9.) CAUTION Do not interrupt the downloading process once it has started.
Downloading Optional Font Files to Flash Memory 7. Wait until you see “WAITING FOR PROGRAM DOWNLOAD” on the LCD before proceeding. This can take up to 30 seconds to appear, depending on the emulations and interfaces installed in the printer. NOTE: The printer default port is CENTRONICS; if you want to use this port, continue to step 16. 8. Press the ⇒ (NEXT) key; “SELECT DOWNLOAD PORT = CENTRONICS” appears on the LCD. 9.
Chapter 1 Installing Printer Emulations If you are loading the file using the serial port on the computer, type the following commands: mode COM1:9600,N,8,1,P copy /b filename.dwn COM1 (where filename.dwn is a file you noted in step 15.) The 9600 baud rate is the only selection older versions of MS-DOS can use. The baud rate information entered in the above commands must match the selection you made in step 9.
Flash Memory Message Guide Flash Memory Message Guide Message Explanation Required Action CLEARING PROGRAM FROM FLASH The program successfully loaded into printer RAM and the checksum matched. The old program is now being deleted from flash memory. None DIAGNOSTIC PASSED The printer passed its memory and hardware initialization tests. None ERROR: DC PROGRAM NOT VALID Printer cannot find the data controller program or the validation checksum is corrupt. 1. Download the program again. 2.
Chapter 1 Installing Printer Emulations Message Explanation Required Action ERROR: PROGRAM NEEDS MORE FLASH The printer requires more flash memory in order to run the downloaded program. Add flash memory or use a smaller emulation program. ERROR: PROGRAM NOT COMPATIBLE The printer is not compatible with the downloaded program. Use the correct emulation software option(s) for this model. ERROR: PROGRAM NOT VALID The printer does not see a program in flash memory.
Flash Memory Message Guide Message Explanation Required Action LOADING PROGRAM INTO FLASH The printer has deleted the previous program from flash memory and is loading the new program into flash memory. None PLEASE WAIT...RESET IN PROGRESS The printer finished loading the program into flash memory and is automatically resetting itself. None RESTORING BOOT CODE Normal download initialization message.
Chapter 22 1 Installing Printer Emulations
2 ANSI Emulation Overview This chapter describes the American National Standards Institute (ANSI) host control codes that are supported on your printer. “Emulation” refers to the ability of a printer to execute the commands of a particular printer control language. A printer control language is the coding system used to convey, manipulate, and print data. In this manual, the terms “emulation”, “printer protocol”, and “printer control language” are synonymous.
Chapter 2 Overview Table 1. ANSI Menu Option Factory Settings Characteristic 24 Default Setting CPI 10.0 LPI 6.
ANSI Emulation Default Settings Table 2. LinePrinter+ Menu Option Factory Settings Characteristic Default Setting CPI 10.0 LPI 6.0 Host Command Enable Typeface Data Processing Proportional Spacing Disable Bold Print Disable Italic Print Disable Slashed Zero Disable Text Position Top of Line Left Margin 0 columns Right Margin 0 columns Bottom Margin 0 lines Perforation Skip Disable Form Length 11.0 inches 279.4 millimeters 66 lines Form Width 13.6 inches 345.
Chapter 2 Configuring The ANSI Emulation Configuring The ANSI Emulation Control codes transmit information other than printable characters to the printer. They occupy the first 32 locations on the ASCII code chart (shown in Appendix A) and are represented by two- or three-letter abbreviations. The control code LF (decimal 10, hex 0A), for example, is usually interpreted as a line feed. The response of the printer to other control codes will depend on the emulation.
Control Codes DC3 (Device Control-3 13H) Switches the printer from on-line to local mode. Causes the printer to ignore all data except a DC1. If the serial interface is selected, DC3 acts as a data stream control code. When the buffer is full, the printer will send a DC3 (XOFF) to the host computer, which will stop sending any data to the printer until the printer sends a DC1 (XON) to the host computer.
Chapter 2 Configuring The ANSI Emulation NOTE: Channel 12 is always used with the VT character. See Chapter 3, “Vertical Page Formatting,” for more details. Format For Control Code Descriptions The following information is listed for each control code (where applicable): Name The title or function of the command. ASCII Code The ASCII mnemonic for the command is shown for the printer and the ANSI protocol. Command sequences are in 7-bit (ASCII) form.
Format For Control Code Descriptions Escape Control Codes Overview Printer capability is greatly increased by the use of escape control code sequences. Escape sequences always begin with the ASCII escape sequence introducer, ESC (hex 1B). Many of the ASCII control codes described in this chapter are escape sequences. IMPORTANT An Escape code can occur anywhere in the data stream and is acted upon immediately if it precedes a valid command.
Chapter 2 Configuring The ANSI Emulation Control Codes Index The following index lists the control codes by ASCII sequence, function and page number. Some control code functions can also be selected at the control panel.
Character Sets, International Character Sets, International ASCII Code ESC [p1 x Hex Code 1B 5B p1 78 Dec Code 27 91 p1 120 Expression CHR$(27);“[p1x”; Purpose Selects the international character set specified by p1, which is shown in Table 3. When an international character set is selected, it is printed in whatever font style and enhancement mode may be in effect. The default set is Latin 1 8859-1. Table 3.
Chapter 2 Configuring The ANSI Emulation Table 3.
Expanded Mode Expanded Mode ASCII Code ESC [p1;p2 SP B Hex Code 1B 5B p1 3B p2 20 42 Dec Code 27 91 p1 59 p2 32 66 Expression CHR$(27);“[p1;p2 B”; Purpose Modifies the vertical (p1) and horizontal (p2) character size of all characters following the sequence and stays in effect until changed or canceled. Expansions of X3, X5, X6, and X7 are invalid for p2. Discussion An invalid or zero parameter selects the normal (X1) expansion. If a parameter is missing, the former value is used.
Chapter 2 Configuring The ANSI Emulation Forms Length, Top Margin, Bottom Margin ASCII Code ESC [p1;p2;p3 r Hex Code 1B 5B p1 3B p2 3B p3 72 Dec Code 27 91 p1 59 p2 59 p3 114 Expression CHR$(27); “[p1;p2;p3r”; Purpose Defines the form. p1 = Form length (in decipoints). Maximum allowable length is 22 inches (15,840 decipoints) p2 = Top margin from top of page. Top of page to first print line. p3 = Bottom margin from end of page. The last print line to bottom of page.
Graphic Rendition Graphic Rendition ASCII Code ESC [p1;p2...;pn m Hex Code 1B 5B p1 3B p2 ... 3B pn 6D Dec Code 27 91 p1 59 p2 ... 59 pn 109 Expression CHR$(27);“[p1;p2...;pn m”; Purpose Sets the character type and enhancements, such as boldface, underscore, expanded, or proportional. One font designator plus any number of enhancements can be entered in the escape sequence using the parameter values in Table 4.
Chapter 2 Configuring The ANSI Emulation For Gothic NLQ font underlined: ESC [4;13m To cancel underlining and retain Gothic NLQ send one of the following: ESC [;13m ESC [0m ESC [0;13m ESC [;m Line Spacing ASCII Code ESC [p1;p2 SP G Hex Code 1B 5B p1 3B p2 20 47 Dec Code 27 91 p1 59 p2 32 71 Expression CHR$(27);“[p1;p2 G”; Purpose Sets line spacing (p1) and character spacing or pitch (p2) in decipoints. Discussion Horizontal spacing (p2) is dependent on the font selected.
Margins, Left and Right Margins, Left and Right ASCII Code ESC [p1;p2 s Hex Code 1B 5B p1 3B p2 73 Dec Code 27 91 p1 59 p2 115 Expression CHR$(27);“[p1;p2s”; Purpose The p parameters are distances from the left edge of the printable area of the paper in decipoints. They are internally converted to column positions based on the current CPI setting. The first print area will be one column to the right of the left margin.
Chapter 2 Configuring The ANSI Emulation Private Mode, Disable ASCII Code ESC [>5l (lowercase “L”) Hex Code 1B 5B 3E 35 6C Dec Code 27 91 62 53 108 Expression CHR$(27); “[>5l”; Purpose Disables private mode. Discussion Selects character set 1 of the selected 8 bit international character set. With non-ISO character sets, hex codes 20-7F and A0-FF are printable. Hex codes 80-9F are duplicates of 001F. For ISO character sets hex codes 80-9F are treated as Nulls.
Resetting Resetting ASCII Code Hex Code Dec Code Expression Purpose ESC c 1B 63 27 99 CHR$(27);“c”; Resets the printer’s configuration parameters. Depending on which option was selected in the “Reset Cmd CFG Ld” menu, the parameters are set to the factory default configuration, power-up configuration, or the current configuration. If “Reset Cmd CFG Ld” is disabled in the menu, the hardcoded parameters shown in Table 7 are set.
Chapter 2 Configuring The ANSI Emulation Subscript ASCII Code ESC K Hex Code 1B 4B Dec Code 27 75 Expression CHR$(27);“K”; Purpose Moves the print line down 3/72 inch for subscript printing. Also used to return to original print line if the Superscript printing command was sent. Superscript ASCII Code ESC L Hex Code 1B 4C Dec Code 72 76 Expression CHR$(27);“L”; Purpose Moves the print line up 3/72 inch for superscript printing.
Tab Set, Multiple Horizontal Tab Set, Multiple Horizontal ASCII Code ESC [p1;p2...;pn u Hex Code 1B 5B p1 3B p2 ... 3B pn 75 Dec Code 27 91 p1 59 p2 ... 59 pn 117 Expression CHR$(27);“[p1;p2...;pn u” Purpose Sets up to 22 horizontal tabs. The p parameters are set in decipoints and are normally converted internally to the nearest equivalent column position based on the current CPI setting. The absolute decipoint value is used when the printer is printing proportional characters. Table 8.
Chapter 2 Configuring The ANSI Emulation Terminate Loading of Data ASCII Code ESC \ Hex Code 1B 5C Dec Code 27 92 Expression CHR$(27);“\”; Purpose Terminates the loading of EVFU tables (described in Chapter 3) and the downloading of dot graphics strings. Vertical Position Absolute ASCII Code ESC [p1 d Hex Code 1B 5B p1 64 Dec Code 27 91 p1 100 Expression CHR$(27);“[p1d”; Purpose Line terminator.
Dot Patterns And Densities Graphics The ANSI emulation graphics mode provides both horizontal and vertical dot placement plotting methods. These methods enable the printing of ASCII characters in their binary code form. Since each character has a unique pattern of 1’s and 0’s (dots and voids) that make up its binary code, the correct placement of these binary forms enables you to form larger images.
Chapter 2 Graphics NOTE: In Table 10, x=dot and o=no dot. Table 10. ASCII Character Dot Patterns 44 Char Hex Value Dots 654321 Char Hex Value Dots 654321 @ 40 oooooo .
Horizontal Format Table 10. ASCII Character Dot Patterns (continued) Char Hex Value Dots 654321 Char Hex Value Dots 654321 - 5F oxxxxx ? 3F xxxxxx Horizontal Format Graphics data printed in horizontal format comprise a stream of bytes from left to right across each dot row. Table 11 shows that byte 1 (or character 1) in row 1 will print its six bits from left to right in a single dot row. The next byte (byte 2) prints its six bits, representing a character, in the same dot row across the page.
Chapter 2 Graphics Other Graphics Considerations • In horizontal format, an LF causes the paper to advance one or two dot rows based on the vertical dot density. • In vertical format, the paper is advanced as the six dot rows are printed. Spacing is essentially 12 LPI for low density and 24 LPI for high density graphics.
Select Graphics Mode Select Graphics Mode ASCII Code ESC [p1;p2;p3 q Hex Code 1B 5B p1 3B p2 3B p3 71 Dec Code 27 91 p1 59 p2 59 p3 113 Expression CHR$(27);“[p1;p2;p3q”; Purpose Selects the graphics mode format and horizontal/vertical density for dot graphics. This sequence must be sent before entering the graphics mode with ESC P. Discussion The first parameter selects the graphics mode (Table 13).
Chapter 2 Bar Codes Bar Codes You can generate 17 different styles of bar codes and do the following: • • • • all except POSTNET can be rotated 90, 180, or 270 degrees print with or without a human readable line (HRL) adjust the symbol size adjust the density The following examples show the correct control code syntax and the code written in the BASIC program language.
Setting Bar Code Parameters NOTE: If no values are set for parameters p2-p10, the default values will be used. If you have sent a value from the host, this value is active until you replace it or the printer is reset. In this example the following parameters are changed on Line 10: p1 = style (Code 128) p2 = height (3/12 inch) p9 = human readable font (use special font) The semicolons are “place holders” for the parameters not being changed. A list of the 10 parameters and their values follows.
Chapter 2 Bar Codes Table 17. p1 Values (continued) If p1 = Style 15 Code 93 16 Code 128 17 Reserved 18 Reserved 50 POSTNET NOTE: Parameters p2 through p10 are invalid for POSTNET. Do not change the default values; otherwise, they will be retained in memory and will affect the other bar code styles. NOTE: The dimensions that follow apply to bar codes that are printed at 0 and 180 degrees rotation.
Setting Bar Code Parameters p6 Narrow space width (number times 1/120 inch). Range:2 - 126 Default:2 (2/120 inch, or approximately .017 inch) p7 Wide space width (number times 1/120 inch). Range:2 - 254 Default:6 (6/120 inch, or approximately .050 inch) p8 Intercharacter space width (number times 1/120 inch). Range:2 - 126 Default:2 (2/120 inch, or approximately .017 inch) p9 Rotation and human readable line font. Table 18. p9 Values If p9 = Rotation/Font 0 Default. No rotation.
Chapter 2 Bar Codes Human Readable Line (HRL) The human readable line, which is .10 inch below the bar code, will print in any of the available fonts as long as the bar code is not rotated. (Rotated bar codes use a special font.) To enable bold, underlining or expanded print on the human readable line, you must first print the bar code without the line. Exit the bar code mode. Then, print the line in normal text mode with the specified enhancements.
Bar Code Readers To space bar codes across a page, insert horizontal tabs. Line 10 sets horizontal tabs at 1440 and 2880 decipoints (2 and 4 inches). The Horizontal Tab codes in lines 40 and 60 cause a jump to the next tab. If horizontal tabs have not been set, a Horizontal Tab code is considered a space, adding .1 inch between the bar codes. Total separation is .6 inchwhen the Horizontal Tab is added to the quiet zones. Line 10 clears all previously set horizontal tabs for this example.
Chapter 2 Bar Codes Test Program Run this test to check the printer’s ability to print bar codes when more complicated programs are not producing results. Line 10 turns on the bar code mode Line 20 contains the bar code data Line 30 exits the bar code mode Vertical Bar Codes You can rotate bar codes. The following examples show various ways of creating bar codes and adjusting spacing.
Vertical Bar Codes Commas and spaces function as they do for horizontal bar codes. A comma does not add any space, and a space adds .1” between the bar codes. The quiet zones rotate with the symbol leaving almost no horizontal separation between bar codes on the same line. Line 10 either enables or disables printing of the human readable line.
Chapter 2 Oversize Character Font Option Oversize Character Font Option The optional oversize font is composed with scalable characters that can be expanded 156 times the size of standard fonts. This will accommodate letters up to 15.25 inches (388mm) high by 13 inches (330mm) wide. The minimum character size (default setting) is two times the size of standard characters. Oversize characters can also be rotated 90, 180, or 270 degrees. Do not mistake oversize characters with expanded characters.
Selecting Size Selecting Size ESC [p1;p2 B is the sequence used to set the vertical (p1) and horizontal (p2) size of the oversize characters. A p1 value of 300 would increase the vertical size of the character 300% or 3 times. ESC[p1;p2 B CHR$(27);“[300;300 B; The last two digits of each parameter are necessary to comply with the ANSI standard, but are ignored by the printer. Using the above example for p1, any three digit number starting with 3 (300-399) will be interpreted as 3 times normal size.
Chapter 58 2 Oversize Character Font Option
3 Vertical Page Formatting Overview Rapid vertical paper movement is called slewing. A vertical format unit (VFU) is a program you load into the printer that enables it to slew paper to preset locations on a page. On your printer, LF commands and other commands that produce blank lines are accumulated and moved in one efficient paper motion. The VFUs are maintained for compatibility with earlier applications.
Chapter 3 Proprinter And Epson Vertical Tab Table VFU Characteristics Keep in mind the following information when programming and using a VFU: Elongated Characters. You can use elongated (double high) characters in VFU programs. The VFU automatically counts one line of elongated characters as two character lines. VFU Not Loaded. If the VFU is not loaded, the printer performs a single line feed in response to VFU commands. Paper Runaway Protection.
Vertical Tab Positions (currently at the top-of-form position) to advance to the first tab position for PART NUMBER data. Sending another VT moves the paper to the second tab position for PART NAME, followed by a third VT to access the third tab position for QUANTITY data. Form Data Form Line Number PART NUMBER PART NAME QUANTITY 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Vertical Tabs Top of Form Tab 1 Tab 2 Tab 3 20 Figure 4.
Chapter 3 P-Series EVFU P-Series EVFU The EVFU may be selected in P-Series protocol. The EVFU provides 14 or 16 channels to identify up to 192 lines depending on the paper instruction. The programming sequence is 1) start load code; 2) line identification code; and 3) end load code. Start Load Code - 1E or 6E Hex The start load code clears and initializes the EVFU memory for the memory load program.
Using The EVFU Channel codes in excess of 192 channels received prior to the end load code are discarded. Using The EVFU Once the EVFU program has been enabled and loaded, sending the appropriate channel code to the printer will cause any data in the buffer to print and will position the paper to the next line on the form having the specified channel number assigned in EVFU memory. For a data byte to be recognized as an EVFU instruction, the following criteria must be met: 1.
Chapter 3 P-Series EVFU Table 19. P-Series EVFU Codes - PI Line Enabled ASCII Data Bits Channel Hex Dec. Code PI 8 7 6 5 4 3 2 1 0C 12 FF 1 X X X 0 1 1 0 0 13 0D 13 CR 1 X X X 0 1 1 0 1 14 0E 14 SO 1 X 0 0 0 1 1 1 0 15 0F 15 SI 1 X 0 0 0 1 1 1 1 16 6E 110 n 1 X 1 1 0 1 1 1 0 Start Load 6F 111 o 1 X 1 1 0 1 1 1 1 End Load (X = Undefined, 0, or 1) (1 = High) (0 = Low) Table 20.
Clearing The EVFU Memory Table 20. P-Series EVFU Codes - PI Line Disabled or Not Used ASCII Data Bits Channel Hex Dec. Code 8 7 6 5 4 3 2 1 1F 31 US 0 0 0 1 1 1 1 1 End Load (X = Undefined, 0, or 1) (1 = High) (0 = Low) NOTE: The ESC code cannot be used simultaneously as the EVFU VT code and the Special Function Control Code (SFCC). If ESC is used as the SFCC, the EVFU must be used with the PI line enabled and set high.
Chapter 3 ANSI EVFU Table 21. P-Series EVFU Line Slewing ASCII Data Bits Lines Slewed Hex Dec.
Loading the Table The EVFU allows loading a table with a minimum form length of .33 inches (240 decipoints) and a maximum length of 22 inches (15,840 decipoints). Since the maximum length is 22 inches, the number of lines is dependent on the LPI setting. 3 LPI - 66 lines, 4 LPI - 88 lines, 6 LPI - 132 lines, and 8 LPI 176 lines. Exceeding the maximum causes a fault. The EVFU can be loaded using ANSI ESC sequences, or by using the paper instruction (PI) line.
Chapter 3 ANSI EVFU Each “channel control code” pair of bytes has the capability to indicate multiple channels since each channel indication has a unique bit position which is either ON - 1 or OFF - 0. Table 23.
The Default Table 24. Sample EVFU Loading Program Program Instruction Remarks 1560 LPRINT CHR$(72);CHR$(64); Selects Channel 4. See Table 23. 1570 FOR I=1 TO 31 1571 LPRINT CHR$(64);CHR$(64); 1572 NEXT I 31 filler lines 1580 LPRINT CHR$(80);CHR$(64); Selects Channel 5. See Table 23. 1590 FOR I=1 TO 8 1591 LPRINT CHR$(64);CHR$(64); 1592 NEXT I 8 filler lines 1600 LPRINT CHR$(64);CHR$(66); Selects Channel 8. See Table 23.
Chapter 3 ANSI EVFU Table 25. Default EVFU Table Channel Description 7 Quarter Form 8 Tenth Line 9 Bottom of Form (bottom margin) 10 Bottom of Form minus 1 line 11 Top of Form minus 1 line (last line this form) 12 Top of Form The Skip to Channel Command ESC [p1;p2 ! p Commands vertical paper movement to the channel specified by the number formed by p1 and p2. Valid channel numbers are in the range 1-12.
Downloading The EVFU (Using The PI Line) The following example illustrates the skip to channel command. Table 26.
Chapter 3 ANSI EVFU Table 27. Two Byte Channel Control Code Format Bit Number 8 7 6 5 4 3 2 1 Channel Number x x 12 11 10 9 8 7 second byte x x y y y y y y y: 0 - no stop in channel, 1 - stop in channel x: bit has no meaning NOTE: Each “channel control code” pair of bytes has the capability to indicate multiple channels since each channel indication has a unique bit position which is either ON =1 or OFF = 0. Table 28.
Downloading The EVFU (Using The PI Line) The Skip to Channel Command The skip to channel command has the following format: Bit NumberFunction PI76543210 1XXX0CCCCSkip to channel CCCC (X bits not used) CCCC:0000 = Channel 10110 = Channel 7 0001 = Channel 20111 = Channel 8 0010 = Channel 31000 = Channel 9 0011 = Channel 41001 = Channel 10 0100 = Channel 51010 = Channel 11 0101 = Channel 61011 = Channel 12 Slew “N” Lines Bit NumberFunction PI76543210 1XEE1NNNNAdvance paper the number of lines specified by NN
Chapter 74 3 ANSI EVFU
A Standard ASCII Character Set B7 B6 BITS KEY 0 B5 0 1 B4 B3 B2 B1 1 0 1 ESC 1 OCTAL DECIMAL HEX 33 27 1B ASCII CHARACTER B7 B6 0 B5 BITS 0 0 0 0 0 1 1 0 1 0 1 0 1 1 0 0 1 1 1 1 1 0 1 COLUMN 0 B4 B3 B2 B1 ROW 1 0 0 0 0 0 NUL 0 0 0 0 0 0 1 1 SOH 1 1 1 0 0 1 0 2 STX 2 2 2 0 0 1 1 3 ETX 3 3 3 0 1 0 0 4 EOT 0 1 0 1 5 0 1 1 0 DLE DC1 (XON) 2 20 16 10 21 17 11 SP ! 3 40 32 20 41 33 21 4 0 60 48 30 1 61 49 31 5 6 @ 100 64 40 P 120 80 50
Appendix A 76
B Conversion Tables Table 29. Equivalent Columns Conversion Table CPI Inches 1/16 1/8 3/16 1/4 5/16 3/8 7/16 1/2 9/16 5/8 11/16 3/4 13/16 7/8 15/16 0.0625 0.1250 0.1875 0.2500 0.3125 0.3750 0.4375 0.5000 0.5625 0.6250 0.6875 0.7500 0.8125 0.8750 0.9375 1 2 3 4 5 6 7 8 9 10 10 12 13.3 15 16.
Appendix B Refer to Table 30 and find line 60 and read across to the 13.3 CPI column. The decipoint value is 3240 for the left margin. The first print column is the one following the left margin or column 61. The decipoint values in Table 30 represent the beginning of the range of each column value. For example, the range of the decipoint value for margin column 2 at 13.3 CPI is 108 - 161. Any number within this range will achieve the same results. Table 30. Decipoints for Column vs.
Table 30. Decipoints for Column vs. CPI Values (continued) CPI MARGIN COLUMN* 10 12 13.3 15 16.
Appendix B Table 30. Decipoints for Column vs. CPI Values (continued) 80 CPI MARGIN COLUMN* 10 12 13.3 15 16.
Table 30. Decipoints for Column vs. CPI Values (continued) MARGIN COLUMN* 119 120 116 117 118 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 CPI 10 12 13.3 15 16.
Appendix B Table 30. Decipoints for Column vs. CPI Values (continued) MARGIN COLUMN* 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 82 CPI 10 12 13.3 15 16.
Table 30. Decipoints for Column vs. CPI Values (continued) MARGIN COLUMN* CPI 10 12 13.3 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 15 16.
Appendix B 84
C Glossary A A to D Analog to Digital ACIA Asynchronous Communication Interface Adapter ACK Acknowledge character. A transmission control character transmitted by the printer as an affirmative response to an inquiry from the host. active column The horizontal location on the paper where the next character will print. active line The vertical location on the paper where the next character will print. active position The position on the paper where the next character will print.
Appendix C communicate properly, a printer must be configured to operate at the same baud rate as its host computer. bit Contraction of binary digit. A bit is 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. Groups of bits form other units of storage called nibbles, bytes, and words. bold A print attribute specifying text of a heavy line thickness. See also character weight.
and a braided shield. Used to connect computers to input or output devices. Code V™ An optional QMS® emulation that allows you to create and store forms: generate logos, bar codes, and expanded characters; create other graphics, and merge graphics with alphanumeric data as a document is printed. command 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.
Appendix C CTS Clear To Send. Status signal to the printer indicating the host is ready to receive data/status signals from the printer. CVFU Centronics® direct access Vertical Format Unit. D 88 data bits Binary information sent to the printer; a character set grouping containing letters, digits, and punctuation marks to be printed, or control codes to move paper, format text and graphics, and position the text and graphics on the page. DAVFU Direct Access Vertical Format Unit. Also known as NVFU.
DSR Data Set Ready. Status signal to the printer indicating the host is in a ready condition. DTR Data Terminal Ready. Control signal from the printer indicating it is in a ready condition. DVFU Dataproducts direct access Vertical Format Unit. E EBCDIC Extended Binary Coded Data for Information Communication. EC Engine Controller ECMA European Computer Manufacturers Association. EEPROM Electrically Erasable Programmable Read Only Memory.
Appendix C 90 family (or type) A set of all variations and sizes of a type style. FF Form Feed. FIFO First In, First Out. fixed-pitch fonts See font, monospaced. flash memory A rugged, high-density non-volatile memory used to store programs, instructions, and routines in PSA® printers. Compare NVRAM. FM Header Format Header. Command strings used to switch between SCS and IPDS.
G GL Characters Graphic left: Graphic left characters map half of the character set table. The GL characters reside at 0 127 hex and comprise the ASCII portion of the table. GR Characters Graphic right: Graphic right characters map half of the character set table. The GR characters reside at 128 - 255 hex and comprise the graphics portion of the table. H hammer An assembly consisting of a hammer spring and a hammer tip.
Appendix C bar codes, and many alphanumeric text-generation capabilities. initialization A series of processes and self-tests to set power-up default conditions and parameters. interface The hardware components used to link two devices by common physical interconnection, signal, and functional characteristics. invoke To put into effect or operation. ipm inches per minute. A measurement of the speed of a printer printing in graphics print mode (plotting speed). italic A slanted type style.
N N/A Not available or not applicable. NACK Negative-Acknowledge reply. A reply from the printer to the host indicating that an exception has occurred. Contrast with acknowledge character. NAK Negative-Acknowledge character. A transmission control character transmitted by the printer as a negative response to an enquiry from the host. NL New Line (3287 only). nibble A unit of storage containing half of a byte, usually four bits. NLQ Near Letter Quality. Not Ready mode Offline.
Appendix C P 94 PA Program Attention. Used in applications programs. PAL Programmable Array Logic parity (check) Parity checking is the addition of non-data bits to data, resulting in the number of 1 bits being either always even or always odd. Parity is used to detect transmission errors. Parity represents the value in the check digit of the received or transmitted data.
point A unit of length in printing and typography, used to specify type sizes, heights of font characters, etc. There are 72 points in a vertical inch; thus, one point equals 1/72 inch, or approximately 0.0138 inch. Some examples of point sizes are: This is 8 point type. This manual is printed in 10 point type. This is 14 point type. POR Power On Reset. port A channel used for receiving data from or transmitting data to one or more external devices.
Appendix C reset To turn off, deactivate, disable, or return to a previously determined state. resolution A measure expressing the number of units in a given range used to create an image. In printing, this is expressed as the number of dots per inch (dpi) horizontally and vertically. ROM 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.
SFCC Special Function Control Character. The first character in a printer command sequence. In Proprinter III XL emulation mode, you can select one of five characters as the SFCC. In Epson emulation mode, the SFCC must always be the ASCII escape character (ESC). See also command sequence and escape sequence. shadow printing A typeface with a heavy line thickness produced by doublestriking. The printer forms a character, then prints it again, but fractionally offset from the first position.
Appendix C TD Transmit Data. Serial data stream from the printer for transmitting status and control information to the host. TOF Top Of Form TTL Transistor-Transistor Logic. true On or 1. “High true” refers to a positive relative voltage representing the ON state; “low true” refers to a zero or negative relative voltage representing the ON state. twinax Twinaxial cable. An electrical signal conductor consisting of two wires surrounded by insulation and a braided shield.
W warm start A reboot or soft reset. The following occurs: 1) data are cleared from all buffers (I/O and internal print buffers); 2) all internal system variables are reset to default values, which is transparent to the user; and 3) the power-up configuration values-except the host I/O selection-are loaded. If the user has not defined power-up configuration values, the printer resets to the factory default configuration values. weight See character weight. word 1.
Appendix C 100
Index A Configuring, 26 Control code, 30 ANSI functions, 28 control codes, 30 D emulation, 23 Default values, 23 EVFU, 66 Line Printer Plus, 25 resetting, 39 Density, graphics, 47 ANSI emulation configuring via control codes and menus, 23 DIAGNOSTICS PASSED, 19 Dot graphics mode, 46 ASCII Character Set, 75 B Downloading Optional Font Files to Flash Memory, 16 Bar code readers, 53 Downloading software, 14 Bar codes E ANSI Epson parameters, 48 human readable line, 52 vertical tabs, 60 E
DC PROGRAM NOT VALID, 19 EC PROGRAM NOT VALID, 19 DRAM AT ADDRESS XXXXXXXX, 19 EC STOPPED AT STATE XXXX, 19 EC PROGRAM NOT VALID, 19 FLASH NOT DETECTED, 19 EC STOPPED AT STATE XXXX, 19 NO DRAM DETECTED, 19 FLASH NOT DETECTED, 19 NVRAM FAILURE, 19 NO DRAM DETECTED, 19 PROGRAM NEEDS MORE DRAM, 19 NVRAM FAILURE, 19 PROGRAM NEEDS MORE FLASH, 20 PROGRAM NEEDS MORE DRAM, 19 PROGRAM NOT COMPATIBLE, 20 PROGRAM NEEDS MORE FLASH, 20 PROGRAM NOT VALID, 20 PROGRAM NOT COMPATIBLE, 20 SECURITY PAL NOT
S Left margin, 36 Line spacing, 36 Loading data, terminate, 42 SECURITY CODE VIOLATION, 21 LOADING PROGRAM FROM PORT XX%, 20 SENDING PROGRAM TO EC PROCESSOR, 21 M Manuals, related, 9 Skip to Channel Command ANSI Using PI Line, 73 Margins Skip to Channel command, ANSI, 70 bottom, 34 Slewing Paper left, 36 ANSI emulation, 66 right, 36 Epson emulation, 60 top, 34 Proprinter emulation, 60 Messages P-Series emulation, 62 PLEASE WAIT...
Printronix, Inc. 14600 Myford Road P.O. Box 19559 Irvine, CA 92623-9559 Phone: (714) 368-2300 Fax: (714) 368-2600 Customer Solutions Center: (714) 368-2686 Printronix Nederland BV P.O. Box 163, Nieuweweg 283 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) 6542-0220 Visit our Web site at: www.printronix.