Printronix ANSI Printer manual Test Program, Vertical Bar Codes

Page 54

Chapter 2 Bar Codes

Test Program

Run this test to check the printer’s ability to print bar codes when more complicated programs are not producing results.

Line 10 turns on the bar code mode

Line 20 contains the bar code data

Line 30 exits the bar code mode

Vertical Bar Codes

You can rotate bar codes. The following examples show various ways of creating bar codes and adjusting spacing.

Line 10 sets parameter p9 for 90 degree rotation using the special font for the HRL

Line 20 turns on the bar code mode Line 30 contains bar code data Line 40 turns off the bar code mode

54

Image 54
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 OverviewCPI LPICR = 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 DescriptionsGraphics Commands Vertical Formatting 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, Disable Private Mode, EnableProportional Print Mode Hardcoded Reset Values ResettingResetting 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 MSBGraphics Ascii Character Dot Patterns Hex Dots 654321Horizontal Format Ascii Character Dot Patterns Hex Dots Horizontal FormatVertical Format Horizontal Format Byte → Byte n Row ↓Other Graphics Considerations Dot GraphicsRepeat 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 Oversize Character Font Option Entering And Exiting OversizeOversize 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 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 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 Default Evfu TableDescription 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 thickCPU CT+CTA Davfu CTSCvfu DCDDvfu DSRDTR EbcdicFifo HGS IeeeIGP LED LACLCD MPLNvfu NackNLQ NvramPcba PALPCB PGLRAM PORPSA ROMRTS SAASCS SNA SfccSLD SOHUPC TOFTTL UsetOFF 100 Diagnostics Passed AnsiError Occurred / Flushing QUEUES*, 20 ESC Sequence Please WAIT... Reset in Progress Loading Program from Port XX%Security Code Violation 104 Page 164305-001D