Programmer’s Reference ManualANSI® Printers®
10Chapter 1 Installing Printer Emulations• Font Typefaces. Also referred to as print modes. The five typefaces include Near Letter Quality (NLQ), Dat
100Appendix C
101IndexAANSIcontrol codes, 30emulation, 23EVFU, 66resetting, 39ANSI emulationconfiguring via control codes and menus, 23ASCII Character Set, 75BBar
102DC PROGRAM NOT VALID, 19DRAM AT ADDRESS XXXXXXXX, 19EC PROGRAM NOT VALID, 19EC STOPPED AT STATE XXXX, 19FLASH NOT DETECTED, 19NO DRAM DETECTED, 19
103Left margin, 36Line spacing, 36Loading data, terminate, 42LOADING PROGRAM FROM PORT XX%, 20MManuals, related, 9Marginsbottom, 34left, 36right, 36t
104
164305-001DPrintronix, Inc.14600 Myford RoadP.O. Box 19559Irvine, CA 92623-9559Phone: (714) 368-2300Fax: (714) 368-2600Customer Solutions Center: (714
Downloading Software Through the Serial or Parallel Port 11Downloading Software Through the Serial or Parallel Port1. Make a printout of all saved con
12Chapter 1 Installing Printer Emulations15. Using Windows Explorer, create a directory named download at the root level of your C: hard drive.16. In
Downloading Software Through the Serial or Parallel Port 13Figure 2. Copying the Emulation File to the Download Directory19. Copy the file to the down
14Chapter 1 Installing Printer EmulationsCAUTIONDo not interrupt the downloading process once it has started. Interrupting a download will damage the
Downloading Software Through the Network Interface Card (NIC) 15Figure 3. Navigating to the Appropriate Emulation File on the CD8. Using Windows Explo
16Chapter 1 Installing Printer EmulationsNOTE: The default is no password. If the FTP program requires a password, contact your system administrator.
Downloading Optional Font Files to Flash Memory 177. Wait until you see “WAITING FOR PROGRAM DOWNLOAD” on the LCD before proceeding. This can take up
18Chapter 1 Installing Printer EmulationsIf you are loading the file using the serial port on the computer, type the following commands:mode COM1:960
Flash Memory Message Guide 19Flash Memory Message GuideMessage Explanation Required ActionCLEARING PROGRAM FROM FLASHThe program successfully loaded i
20Chapter 1 Installing Printer EmulationsERROR: PROGRAM NEEDS MORE FLASHThe printer requires more flash memory in order to run the downloaded program
Flash Memory Message Guide 21LOADING PROGRAM INTO FLASHThe printer has deleted the previous program from flash memory and is loading the new program i
22Chapter 1 Installing Printer Emulations
232 ANSI EmulationOverviewThis chapter describes the American National Standards Institute (ANSI) host control codes that are supported on your print
24Chapter 2 OverviewTable 1. ANSI Menu Option Factory SettingsCharacteristic Default SettingCPI 10.0LPI 6.0Typeface Data ProcessingProportional Spaci
ANSI Emulation Default Settings 25Table 2. LinePrinter+ Menu Option Factory SettingsCharacteristic Default SettingCPI 10.0LPI 6.0Host Command EnableTy
26Chapter 2 Configuring The ANSI EmulationConfiguring The ANSI EmulationControl codes transmit information other than printable characters to the pri
Control Codes 27DC3 (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
28Chapter 2 Configuring The ANSI EmulationNOTE: Channel 12 is always used with the VT character. See Chapter 3, “Vertical Page Formatting,” for more
Format For Control Code Descriptions 29Escape Control Codes OverviewPrinter capability is greatly increased by the use of escape control code sequence
164305-001DProgrammer’s Reference ManualANSI® Printers®
30Chapter 2 Configuring The ANSI EmulationControl Codes IndexThe following index lists the control codes by ASCII sequence, function and page number.
Character Sets, International 31Character Sets, InternationalASCII Code ESC [p1 xHex Code 1B 5B p1 78Dec Code 27 91 p1 120Expression CHR$(27);“[p1x”;P
32Chapter 2 Configuring The ANSI Emulation23 ISO Italian24 ISO Spanish8573 IBM PC set 2, Greek8574 DEC Multinational8575 Roman 88576 Polish Mazurka85
Expanded Mode 33Expanded ModeASCII Code ESC [p1;p2 SP BHex Code 1B 5B p1 3B p2 20 42Dec Code 27 91 p1 59 p2 32 66Expression CHR$(27);“[p1;p2 B”;Purpos
34Chapter 2 Configuring The ANSI EmulationForms Length, Top Margin, Bottom MarginASCII Code ESC [p1;p2;p3 rHex Code 1B 5B p1 3B p2 3B p3 72Dec Code 2
Graphic Rendition 35Graphic RenditionASCII Code ESC [p1;p2...;pn mHex Code 1B 5B p1 3B p2 ... 3B pn 6DDec Code 27 91 p1 59 p2 ... 59 pn 109Expression
36Chapter 2 Configuring The ANSI EmulationFor Gothic NLQ font underlined:ESC [4;13mTo cancel underlining and retain Gothic NLQsend one of the followi
Margins, Left and Right 37Margins, Left and RightASCII Code ESC [p1;p2 sHex Code 1B 5B p1 3B p2 73Dec Code 27 91 p1 59 p2 115Expression CHR$(27);“[p1;
38Chapter 2 Configuring The ANSI EmulationPrivate Mode, DisableASCII Code ESC [>5l (lowercase “L”)Hex Code 1B 5B 3E 35 6CDec Code 27 91 62 53 10
Resetting 39ResettingASCII Code ESC cHex Code 1B 63Dec Code 27 99Expression CHR$(27);“c”;Purpose Resets the printer’s configuration parameters. Depend
Trademark Acknowledgements Printronix, Inc. makes no representations or warranties of any kind regarding this material, including, but not limited to,
40Chapter 2 Configuring The ANSI EmulationSubscriptASCII Code ESC KHex Code 1B 4BDec Code 27 75Expression CHR$(27);“K”;Purpose Moves the print line
Tab Set, Multiple Horizontal 41Tab Set, Multiple HorizontalASCII Code ESC [p1;p2...;pn uHex Code 1B 5B p1 3B p2 ... 3B pn 75Dec Code 27 91 p1 59 p2 ..
42Chapter 2 Configuring The ANSI EmulationTerminate Loading of DataASCII Code ESC \Hex Code 1B 5CDec Code 27 92Expression CHR$(27);“\”;Purpose Termin
Dot Patterns And Densities 43GraphicsThe ANSI emulation graphics mode provides both horizontal and vertical dot placement plotting methods. These meth
44Chapter 2 GraphicsNOTE: In Table 10, x=dot and o=no dot.Table 10. ASCII Character Dot PatternsCharHex ValueDots654321CharHex ValueDots654321@ 40 oo
Horizontal Format 45Horizontal FormatGraphics data printed in horizontal format comprise a stream of bytes from left to right across each dot row.Tabl
46Chapter 2 GraphicsOther Graphics Considerations• In horizontal format, an LF causes the paper to advance one or two dot rows based on the vertical
Select Graphics Mode 47Select Graphics ModeASCII Code ESC [p1;p2;p3 qHex Code 1B 5B p1 3B p2 3B p3 71Dec Code 27 91 p1 59 p2 59 p3 113Expression CHR$(
48Chapter 2 Bar CodesBar CodesYou can generate 17 different styles of bar codes and do the following: • all except POSTNET can be rotated 90, 180, or
Setting Bar Code Parameters 49NOTE: If no values are set for parameters p2-p10, the default values will be used. If you have sent a value from the hos
Table of Contents1 Introduction... 9About This Manual...
50Chapter 2 Bar CodesNOTE: Parameters p2 through p10 are invalid for POSTNET. Do not change the default values; otherwise, they will be retained in m
Setting Bar Code Parameters 51p6Narrow space width (number times 1/120 inch).Range:2 - 126Default:2 (2/120 inch, or approximately .017 inch)p7Wide spa
52Chapter 2 Bar CodesHuman Readable Line (HRL)The human readable line, which is .10 inch below the bar code, will print in any of the available fonts
Bar Code Readers 53To space bar codes across a page, insert horizontal tabs. Line 10 sets horizontal tabs at 1440 and 2880 decipoints (2 and 4 inches)
54Chapter 2 Bar CodesTest ProgramRun this test to check the printer’s ability to print bar codes when more complicated programs are not producing res
Vertical Bar Codes 55Commas and spaces function as they do for horizontal bar codes. A comma does not add any space, and a space adds .1” between the
56Chapter 2 Oversize Character Font OptionOversize Character Font OptionThe optional oversize font is composed with scalable characters that can be e
Selecting Size 57Selecting SizeESC [p1;p2 B is the sequence used to set the vertical (p1) and horizontal (p2) size of the oversize characters. A p1 va
58Chapter 2 Oversize Character Font Option
593 Vertical Page FormattingOverviewRapid vertical paper movement is called slewing. A vertical format unit (VFU) is a program you load into the prin
Table of ContentsVertical Position Absolute ... 42Vertical Position Relative ...
60Chapter 3 Proprinter And Epson Vertical Tab TableVFU CharacteristicsKeep in mind the following information when programming and using a VFU:Elongat
Vertical Tab Positions 61(currently at the top-of-form position) to advance to the first tab position for PART NUMBER data. Sending another VT moves t
62Chapter 3 P-Series EVFUP-Series EVFUThe EVFU may be selected in P-Series protocol. The EVFU provides 14 or 16 channels to identify up to 192 lines
Using The EVFU 63Channel codes in excess of 192 channels received prior to the end load code are discarded.Using The EVFUOnce the EVFU program has bee
64Chapter 3 P-Series EVFU0C 12 FF 1XXX01100 130D 13 CR 1XXX01101 140E 14 SO 1X0001110 150F 15 SI 1X0001111 166E 110 n 1X1101110 Start Load6F 111 o 1X
Clearing The EVFU Memory 65NOTE: The ESC code cannot be used simultaneously as the EVFU VT code and the Special Function Control Code (SFCC). If ESC i
66Chapter 3 ANSI EVFUANSI EVFURapid vertical paper movement is called slewing. A vertical format unit (VFU) is a table, or program, of vertical tabs
Loading the Table 67The EVFU allows loading a table with a minimum form length of .33 inches (240 decipoints) and a maximum length of 22 inches (15,84
68Chapter 3 ANSI EVFUEach “channel control code” pair of bytes has the capability to indicate multiple channels since each channel indication has a u
The Default 69Once the EVFU program has been enabled and loaded, sending the appropriate channel code to the printer will cause any data in the buffer
Table of ContentsB Conversion Tables ... 77C Glossary...
70Chapter 3 ANSI EVFUThe Skip to Channel CommandESC [p1;p2 ! pCommands vertical paper movement to the channel specified by the number formed by p1 an
Downloading The EVFU (Using The PI Line) 71The following example illustrates the skip to channel command.NOTE: Set the top-of-form first. When you exe
72Chapter 3 ANSI EVFUNOTE: Each “channel control code” pair of bytes has the capability to indicate multiple channels since each channel indication h
Downloading The EVFU (Using The PI Line) 73The Skip to Channel CommandThe skip to channel command has the following format:Bit NumberFunctionPI7654321
74Chapter 3 ANSI EVFU
75A Standard ASCII Character SetKEYASCII CHARACTER ESC33271BOCTALDECIMALHEXB700 0011 1 1B6 0B5 001101100011011COLUMN01234567BITSROWB4 B2B3 B1012345
76Appendix A
77B Conversion TablesUse this table with the Decipoints Table on the next page.To create a 4-9/16 inch left margin with a 13.3 CPI, do the following:
78Appendix BRefer 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 pri
7934 2448 2040 1836 1632 146235 2520 2100 1890 1680 150536 2592 2160 1944 1728 154837 2664 2220 1998 1776 159138 2736 2280 2052 1824 163439 2808 2340
Table of Contents
80Appendix B75 5400 4500 4050 3600 322576 5472 4560 4104 3648 326877 5544 4620 4158 3696 331178 5616 4680 4212 3744 335479 5688 4740 4266 3792 339780
81119 8568 7140 6426 5712 5117120 8640 7200 6480 5760 5160116 8352 6960 6264 5568 4988117 8424 7020 6318 5616 5031118 8496 7080 6372 5664 5074121 871
82Appendix B157 9420 8478 7536 6751158 9480 8532 7584 6794159 - 8586 7632 6837160 8640 7680 6880161 8694 7728 6923162 8748 7776 6966163 8802 7824 700
83*First print column=margin column + 1198 9504 8514199 - 8551200 8600201 8643202 8686203 8729204 8772205 8815206 8858207 8901208 8944209 8987210 903
84Appendix B
85C GlossaryAA to D Analog to DigitalACIA Asynchronous Communication Interface AdapterACK Acknowledge character. A transmission control character tra
86Appendix Ccommunicate properly, a printer must be configured to operate at the same baud rate as its host computer.bit Contraction of binary digit.
87and 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 f
88Appendix CCTS Clear To Send. Status signal to the printer indicating the host is ready to receive data/status signals from the printer.CVFU Centron
89DSR Data Set Ready. Status signal to the printer indicating the host is in a ready condition.DTR Data Terminal Ready. Control signal from the print
91 IntroductionAbout This ManualThis manual lists the ANSI® commands and explains how to configure the printer when this emulation is loaded in your
90Appendix Cfamily (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, mono
91GGL Characters Graphic left: Graphic left characters map half of the character set table. The GL characters reside at 0 - 127 hex and comprise the
92Appendix Cbar codes, and many alphanumeric text-generation capabilities.initialization A series of processes and self-tests to set power-up default
93NN/A Not available or not applicable.NACK Negative-Acknowledge reply. A reply from the printer to the host indicating that an exception has occurre
94Appendix CPPA Program Attention. Used in applications programs.PAL Programmable Array Logicparity (check) Parity checking is the addition of non-da
95point 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 i
96Appendix Creset To turn off, deactivate, disable, or return to a previously determined state.resolution A measure expressing the number of units in
97SFCC Special Function Control Character. The first character in a printer command sequence. In Proprinter III XL emulation mode, you can select one
98Appendix CTD Transmit Data. Serial data stream from the printer for transmitting status and control information to the host.TOF Top Of FormTTL Tran
99Wwarm 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 sy
Comentarios a estos manuales