Printronix ANSI Printer Other Graphics Considerations, Dot Graphics, Repeat Graphics Character

Page 46

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.

Escape sequences ending with the following characters are ignored in graphics mode:

KLPQ q t}]!SP B

Escape sequences ending with the following characters are valid while the printer is in graphics mode:

Ggubmx dr!pes

Dot Graphics

ASCII Code ESC P

Hex Code

1B 50

Dec Code

27 80

Expression CHR$(27);“P”;

Purpose

Enters dot graphics mode at the density and format previously

 

selected by the ESC [p1;p2;p3 q sequence.

Discussion Following this sequence the printer prints discrete dots and leaves spaces based on the 1's and 0's in the low order six bits of each byte received, forming graphic dot rows from left to right. Exit from dot graphics mode is via ESC \.

Repeat Graphics Character

ASCII Code ESC [p1 b

Hex Code

1B 5B p1 62

Dec Code

27 91 p1 98

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

Purpose Repeats the single preceding character p1 times.

Discussion If p1 is 0 or unspecified, it is set to 1. The maximum value for p1 is 32,767. Only valid in the dot graphics mode.

46

Image 46
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 Related Product Information Software FeaturesAbout This Manual 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 Short AT Error Program notError Security PAL 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 Ascii Code ESC p1 Hex Code 1B 5B p1 Dec Code 27 91 p1 Character Sets, InternationalCharacter Sets, International Ansi International Character SetsISO Italian Expanded Mode Expanded ModeAscii Code ESC p1p2 SP B Forms Length, Top Margin, Bottom Margin Ascii Code ESC p1p2p3 rAscii Code ESC p1p2...pn m Graphic RenditionGraphic Rendition Character Types and Enhancements ParameterLine Spacing Margins, Left and Right Margins, Left and RightAscii Code ESC p1p2 s Private Mode, Enable Private Mode, DisableProportional Print Mode Hardcoded Reset Values ResettingResetting Ascii Code ESC c Hex Code Dec CodeSuperscript SubscriptTab, Clear Tab Set, Multiple Horizontal Vertical Position Absolute Terminate Loading of DataVertical Position Relative Dot Patterns And Densities GraphicsDot Patterns And Densities 0X0X0X0 LSB LSB Msbx MSBGraphics Ascii Character Dot Patterns Hex Dots 654321Horizontal Format Ascii Character Dot Patterns Hex Dots Horizontal FormatVertical Format Horizontal Format Byte → Byte n Row ↓Dot Graphics Other Graphics ConsiderationsRepeat Graphics Character Select Graphics Mode Bar Codes Setting Bar Code ParametersDefault Bar Code Parameters Entering And Exiting Bar CodesIf p1 = Style Setting Bar Code ParametersP1 Values 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 FormatExecuting Vertical Tabs VFU CharacteristicsProprinter And Epson Vertical Tab Table Vertical Tab PositionsVertical Tab Positions Form Data Form Line Number Vertical TabsChannel Assignment Series EvfuStart Load Code 1E or 6E Hex End Load 1F or 6F HexSeries Evfu Codes PI Line Enabled Using The EvfuUsing The Evfu Data Bits Hex Dec Code ChannelDLE Series Evfu Series Evfu Codes PI Line EnabledSeries Evfu Codes PI Line Disabled or Not Used 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 Ascii Code ESC Hex Code 1B 5D Dec Code 27 93 Loading the TableLoading the Table Two Byte Channel Control Code FormatRemarks Ansi EvfuChannel Control Codes Decimal Value Binary Value 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 Davfu CTSCvfu DCDDvfu DSRDTR EbcdicFifo Ieee HGSIGP LED LACLCD MPLNvfu NackNLQ NvramPcba PALPCB PGLRAM PORPSA ROMSAA RTSSCS SNA SfccSLD SOHUPC TOFTTL 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