Printronix ANSI Printer manual Tab Set, Multiple Horizontal

Page 41

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. Decipoints per Column

CPI

Spacing in

Decipoints

 

 

 

 

 

10

72

12

60

13.3

54

15

48

16.7

43

 

 

Discussion Example: Placing tabs at columns 10, 20, and 40 at 10 CPI.

ESC [648;1386;2808u

p in decipoints = (column number minus 1) times (decipoints per column)

(10 - 1)(72) = 648 First printed character is in column 10

(20 - 1)(72) = 1368 First printed character is in column 20

(40 - 1)(72) = 2808 First printed character is in column 40

Appendix B contains a conversion table for decipoint calculations.

If more than 22 tabs are set, the highest numbered tabs (farthest right) will be pushed out of the table. Tabs set beyond the right margin are not usable. Moving the right margin beyond these settings will make them active.

Control code HT (09H) moves the print position to the next preset location. If no tabs are set, a space is substituted. If there are tabs set but none between the current position and the right margin, the current position will become the right margin.

41

Image 41
Contents Programmer’s Reference Manual Page Ansi Printers Copyright  1998, 2002 Printronix, Inc Trademark AcknowledgementsTrademark Acknowledgements Table of Contents Vertical Page Formatting Table of ContentsConversion Tables Glossary Table of Contents About This Manual Software FeaturesRelated Product Information AudienceInstalling Printer Emulations Installing Printer EmulationsDebug Downloading Software Through the Serial or Parallel PortDownloading Software Through the Serial or Parallel Port This is the file you will download into the printer Navigating to the Appropriate Emulation File on the CDCd \downloadEnter Downloading Software Through Network Interface Card NIC This is the file you will download into the NIC Downloading Software Through the Network Interface Card NICPut filename.prgEnter Downloading Optional Font Files to Flash MemoryCopy /b filename.dwn LPT2Enter Downloading Optional Font Files to Flash MemoryCopy /b filename1.dwn+filename2.dwn+...LPT1Enter Message Explanation Required Action Flash Memory Message GuideFlash Memory Message Guide Error Security PAL Error Program notError Short AT Error Writing toFlash Memory Message Guide Explanation Required Action Installing Printer Emulations Overview Ansi Emulation Default SettingsCR = CR CPILPI CPI Control Codes Configuring The Ansi EmulationConfiguring The Ansi Emulation Control Codes DC3 Device Control-3 13HFormat For Control Code Descriptions Format For Control Code Descriptions Escape Control Codes OverviewControl Codes Index Graphics CommandsVertical Formatting Commands Character Sets, International Character Sets, InternationalAscii Code ESC p1 Hex Code 1B 5B p1 Dec Code 27 91 p1 Ansi International Character SetsISO Italian Ascii Code ESC p1p2 SP B Expanded ModeExpanded Mode Ascii Code ESC p1p2p3 r Forms Length, Top Margin, Bottom MarginGraphic Rendition Graphic RenditionAscii Code ESC p1p2...pn m Character Types and Enhancements ParameterLine Spacing Ascii Code ESC p1p2 s Margins, Left and RightMargins, Left and Right Proportional Print Mode Private Mode, DisablePrivate Mode, Enable Resetting ResettingHardcoded Reset Values Ascii Code ESC c Hex Code Dec CodeTab, Clear SubscriptSuperscript Tab Set, Multiple Horizontal Vertical Position Relative Terminate Loading of DataVertical Position Absolute Dot Patterns And Densities GraphicsDot Patterns And Densities 0X0X0X0 LSB LSB Msbx MSB654321 Graphics Ascii Character Dot Patterns Hex DotsVertical Format Horizontal FormatHorizontal Format Ascii Character Dot Patterns Hex Dots Horizontal Format Byte → Byte n Row ↓Repeat Graphics Character Other Graphics ConsiderationsDot Graphics Select Graphics Mode Default Bar Code Parameters Setting Bar Code ParametersBar Codes Entering And Exiting Bar CodesP1 Values Setting Bar Code ParametersIf p1 = Style UPC aPostnet Bar Codes P1 ValuesRotation/Font P9 ValuesSpacing Between Bar Codes Human Readable Line HRLBar Code Readers Bar Code ReadersVertical Bar Codes Test ProgramVertical Bar Codes Oversize Character Font Option Oversize Character Font OptionEntering And Exiting Oversize Selecting Size Selecting SizeOversize Character Font Option Planning a Vertical Page Format Vertical Page FormattingProprinter And Epson Vertical Tab Table VFU CharacteristicsExecuting Vertical Tabs Vertical Tab PositionsForm Data Form Line Number Vertical Tabs Vertical Tab PositionsStart Load Code 1E or 6E Hex Series EvfuChannel Assignment End Load 1F or 6F HexUsing The Evfu Using The EvfuSeries Evfu Codes PI Line Enabled Data Bits Hex Dec Code ChannelSeries Evfu Codes PI Line Disabled or Not Used Series Evfu Series Evfu Codes PI Line EnabledDLE DC1 DC2 DC3 DC4 NAK SYN ETB Can SUB ESCData Bits Hex Dec Code Channel End Load Clearing The Evfu MemoryRelative Line Slewing DLE DC1 DC2 DC3 DC4 NAK SYN ETB Can SUB ESC Ansi Evfu Series Evfu Line SlewingData Bits Lines Hex Dec Code Loading the Table Loading the TableAscii Code ESC Hex Code 1B 5D Dec Code 27 93 Two Byte Channel Control Code FormatChannel Control Codes Decimal Value Binary Value Ansi EvfuRemarks CharacterDescription DefaultDefault Evfu Table Ansi Evfu Default Evfu Table Channel Description Skip to Channel CommandSkip To Channel Example Program Instruction Remarks Output Downloading The Evfu Using The PI LineDownloading The Evfu Using The PI Line Ansi Evfu Two Byte Channel Control Code Format Skip to Channel Command Ansi Evfu Standard Ascii Character Set Appendix a 13.3 16.7 Equivalent Columns Conversion Table InchesDecipoints for Column vs. CPI Values Appendix BMargin CPI Column 111 Margin CPI Column Appendix B Margin Column CPI Appendix B Ascii AciaFor example Bold refers to a heavy or thick Character weight, as shown in this sentenceCTA CPUCT+ Cvfu CTSDavfu DCDDTR DSRDvfu EbcdicFifo IGP HGSIeee LCD LACLED MPLNLQ NackNvfu NvramPCB PALPcba PGLPSA PORRAM ROMSCS RTSSAA SLD SfccSNA SOHTTL TOFUPC UsetOFF 100 Ansi Diagnostics PassedError Occurred / Flushing QUEUES*, 20 ESC Sequence Security Code Violation Please WAIT... Reset in ProgressLoading Program from Port XX% 104 Page 164305-001D