Printronix ANSI Printer manual Expanded Mode, Ascii Code ESC p1p2 SP B

Page 33

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. Valid p1 and

p2 values are the following:

X1

0-199 (default)

X5

500-599*

X2

200-299

X6

600-699*

X3

300-399*

X7

700-799*

X4

400-499

X8

800-up

* Not valid for horizontal expansion

Horizontal and vertical expansion are independent, and different values can be mixed in a line. Mixed sizes within a line are top- justified. Since the line feed is based on the size of the characters in the final pass, the largest sized characters on a line should be printed last to avoid printing over other characters.

Examples:

 

ESC [;200 B

X1 Vert. expansion, X2 Horiz. expansion

ESC [200;200 B

X2 Vert. expansion, X2 Horiz. expansion

ESC [800;400 B

X8 Vert. expansion, X4 Horiz. expansion

When the printer is printing vertically expanded characters, blank lines (lines with non printed characters) are not expanded from the current LPI setting.

33

Image 33
Contents Programmer’s Reference Manual Page Ansi Printers Trademark Acknowledgements Trademark AcknowledgementsCopyright  1998, 2002 Printronix, Inc 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 EmulationsDownloading Software Through the Serial or Parallel Port Downloading Software Through the Serial or Parallel PortDebug 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 Flash Memory Message Guide Flash Memory Message GuideMessage Explanation Required Action Error Security PAL Error Program notError Short AT Error Writing toFlash Memory Message Guide Explanation Required Action Installing Printer Emulations Overview Ansi Emulation Default SettingsCPI LPICR = CR CPI Configuring The Ansi Emulation Configuring The Ansi EmulationControl Codes Control Codes DC3 Device Control-3 13HFormat For Control Code Descriptions Format For Control Code Descriptions Escape Control Codes OverviewGraphics Commands Vertical Formatting 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 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 Margins, Left and Right Margins, Left and RightAscii Code ESC p1p2 s Private Mode, Disable Private Mode, EnableProportional Print Mode Resetting ResettingHardcoded Reset Values Ascii Code ESC c Hex Code Dec CodeSubscript SuperscriptTab, Clear Tab Set, Multiple Horizontal Terminate Loading of Data Vertical Position AbsoluteVertical Position Relative 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 ↓Other Graphics Considerations Dot GraphicsRepeat Graphics Character 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 Entering And Exiting OversizeOversize Character Font Option 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 ESCClearing The Evfu Memory Relative Line SlewingData Bits Hex Dec Code Channel End Load Ansi Evfu Series Evfu Line Slewing Data Bits Lines Hex Dec CodeDLE 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 FormatChannel Control Codes Decimal Value Binary Value Ansi EvfuRemarks CharacterDefault Default Evfu TableDescription Ansi Evfu Default Evfu Table Channel Description Skip to Channel CommandDownloading 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 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 sentenceCPU CT+CTA Cvfu CTSDavfu DCDDTR DSRDvfu EbcdicFifo HGS IeeeIGP LCD LACLED MPLNLQ NackNvfu NvramPCB PALPcba PGLPSA PORRAM ROMRTS SAASCS SLD SfccSNA SOHTTL TOFUPC UsetOFF 100 Ansi Diagnostics PassedError Occurred / Flushing QUEUES*, 20 ESC Sequence Please WAIT... Reset in Progress Loading Program from Port XX%Security Code Violation 104 Page 164305-001D