Printronix ANSI Printer manual Subscript, Superscript, Tab, Clear

Page 40

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. Also

 

used to return to original print line if the Subscript printing

 

command was sent.

Discussion Both Superscript and Subscript can be printed on the same line. They cannot be used in succession to advance or reverse the paper to another line. They can be used in pairs to change from Superscript to Subscript or Subscript to Superscript.

NOTE: If you do not send a command to return the print position to the original baseline, subsequent lines will be misaligned.

The ESC K and L commands are ignored in graphics.

Tab, Clear

ASCII Code ESC [p1 g

Hex Code 1B 5B p1 67

Dec Code 27 91 p1 103

Expression CHR$(27);“[p1g”;

Purpose Clears horizontal or vertical tab stops based on the p1 value: p1 = 3 Clear all horizontal tabs

p1 = 4 Clear all vertical tabs

This command is valid in graphics.

40

Image 40
Contents Programmer’s Reference Manual Page Ansi Printers Trademark Acknowledgements Trademark AcknowledgementsCopyright  1998, 2002 Printronix, Inc Table of Contents Table of Contents Vertical Page FormattingConversion Tables Glossary Table of Contents Software Features About This ManualRelated Product Information AudienceInstalling Printer Emulations Installing Printer EmulationsDownloading Software Through the Serial or Parallel Port Downloading Software Through the Serial or Parallel PortDebug Navigating to the Appropriate Emulation File on the CD This is the file you will download into the printerCd \downloadEnter Downloading Software Through Network Interface Card NIC Downloading Software Through the Network Interface Card NIC This is the file you will download into the NICDownloading Optional Font Files to Flash Memory Put filename.prgEnterDownloading Optional Font Files to Flash Memory Copy /b filename.dwn LPT2EnterCopy /b filename1.dwn+filename2.dwn+...LPT1Enter Flash Memory Message Guide Flash Memory Message GuideMessage Explanation Required Action Error Program not Error Security PALError Short AT Error Writing toFlash Memory Message Guide Explanation Required Action Installing Printer Emulations Ansi Emulation Default Settings OverviewLPI CPICR = CR CPI Configuring The Ansi Emulation Configuring The Ansi EmulationControl Codes DC3 Device Control-3 13H Control CodesFormat For Control Code Descriptions Escape Control Codes Overview Format For Control Code DescriptionsVertical Formatting Commands Graphics CommandsControl Codes Index Character Sets, International Character Sets, InternationalAscii Code ESC p1 Hex Code 1B 5B p1 Dec Code 27 91 p1 Ansi International Character SetsISO Italian Expanded Mode Expanded ModeAscii Code ESC p1p2 SP B Forms Length, Top Margin, Bottom Margin Ascii Code ESC p1p2p3 rGraphic Rendition Graphic RenditionAscii Code ESC p1p2...pn m Character Types and Enhancements ParameterLine Spacing Margins, Left and Right Margins, Left and Right Ascii Code ESC p1p2 s Private Mode, Enable Private Mode, DisableProportional Print Mode Resetting ResettingHardcoded Reset Values Ascii Code ESC c Hex Code Dec CodeSuperscript SubscriptTab, Clear Tab Set, Multiple Horizontal Vertical Position Absolute Terminate Loading of DataVertical Position Relative Graphics Dot Patterns And DensitiesDot Patterns And Densities 0X0X0X0 LSB LSB Msbx MSBGraphics Ascii Character Dot Patterns Hex Dots 654321Horizontal Format Vertical FormatHorizontal Format Ascii Character Dot Patterns Hex Dots Horizontal Format Byte → Byte n Row ↓Dot Graphics Other Graphics ConsiderationsRepeat Graphics Character Select Graphics Mode Setting Bar Code Parameters Default Bar Code ParametersBar Codes Entering And Exiting Bar CodesSetting Bar Code Parameters P1 ValuesIf p1 = Style UPC aBar Codes P1 Values PostnetP9 Values Rotation/FontHuman Readable Line HRL Spacing Between Bar CodesBar Code Readers Bar Code ReadersTest Program Vertical Bar CodesVertical Bar Codes Entering And Exiting Oversize Oversize Character Font OptionOversize Character Font Option Selecting Size Selecting SizeOversize Character Font Option Vertical Page Formatting Planning a Vertical Page FormatVFU Characteristics Proprinter And Epson Vertical Tab TableExecuting Vertical Tabs Vertical Tab PositionsVertical Tab Positions Form Data Form Line Number Vertical TabsSeries Evfu Start Load Code 1E or 6E HexChannel Assignment End Load 1F or 6F HexUsing The Evfu Using The EvfuSeries Evfu Codes PI Line Enabled Data Bits Hex Dec Code ChannelSeries Evfu Series Evfu Codes PI Line Enabled Series Evfu Codes PI Line Disabled or Not UsedDLE DC1 DC2 DC3 DC4 NAK SYN ETB Can SUB ESCRelative Line Slewing Clearing The Evfu MemoryData Bits Hex Dec Code Channel End Load Data Bits Lines Hex Dec Code Ansi Evfu Series Evfu Line SlewingDLE DC1 DC2 DC3 DC4 NAK SYN ETB Can SUB ESC Loading the Table Loading the TableAscii Code ESC Hex Code 1B 5D Dec Code 27 93 Two Byte Channel Control Code FormatAnsi Evfu Channel Control Codes Decimal Value Binary ValueRemarks CharacterDefault Evfu Table DefaultDescription Skip to Channel Command Ansi Evfu Default Evfu Table Channel DescriptionDownloading The Evfu Using The PI Line Downloading The Evfu Using The PI LineSkip To Channel Example Program Instruction Remarks Output Ansi Evfu Two Byte Channel Control Code Format Skip to Channel Command Ansi Evfu Standard Ascii Character Set Appendix a Equivalent Columns Conversion Table Inches 13.3 16.7Appendix B Decipoints for Column vs. CPI ValuesMargin CPI Column 111 Margin CPI Column Appendix B Margin Column CPI Appendix B Acia AsciiCharacter weight, as shown in this sentence For example Bold refers to a heavy or thickCT+ CPUCTA CTS CvfuDavfu DCDDSR DTRDvfu EbcdicFifo Ieee HGSIGP LAC LCDLED MPLNack NLQNvfu NvramPAL PCBPcba PGLPOR PSARAM ROMSAA RTSSCS Sfcc SLDSNA SOHTOF TTLUPC UsetOFF 100 Diagnostics Passed AnsiError Occurred / Flushing QUEUES*, 20 ESC Sequence Loading Program from Port XX% Please WAIT... Reset in ProgressSecurity Code Violation 104 Page 164305-001D