Printronix ANSI Printer Ansi Evfu, Channel Control Codes Decimal Value Binary Value, Remarks

Page 68

Chapter 3 ANSI EVFU

Each “channel control code” pair of bytes has the capability to indicate multiple channels since each channel indication has a unique bit position which is either ON - 1 or OFF - 0.

Table 23. Channel Control Codes

Decimal Value

Binary Value

 

ASCII

Remarks

Character

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

2

1

2

1

2

 

 

 

 

 

 

 

 

64

64

1000000

1000000

@

@

Fillers

65

64

1000001

1000000

A

@

Channel 1

66

64

1000010

1000000

B

@

Channel 2

68

64

1000100

1000000

D

@

Channel 3

72

64

1001000

1000000

H

@

Channel 4

80

64

1010000

1000000

P

@

Channel 5

96

64

1100000

1000000

@

Channel 6

64

65

1000000

1000001

@

A

Channel 7

64

66

1000000

1000010

@

B

Channel 8

64

68

1000000

1000100

@

D

Channel 9

64

72

1000000

1001000

@

H

Channel 10

64

80

1000000

1010000

@

P

Channel 11

64

96

1000000

1100000

@

Channel 12

 

 

 

 

 

 

 

Table 24 is a sample program to load an EVFU table.

Table 24. Sample EVFU Loading Program

 

Program Instruction

Remarks

 

 

 

 

 

 

1500

WIDTH “LPT1:”,255

Required by some BASIC languages to avoid

 

 

auto LF at column 80

 

 

 

1510

LPRINT CHR$(27);“]!”;

Enables EVFU loading.

 

 

 

1520

LPRINT CHR$(65);CHR$(64);

Resets TOF, Channel 1. See Table 23.

 

 

 

1530

FOR I=1 TO 4

4 filler lines

1531

LPRINT CHR$(64);CHR$(64);

 

1532 NEXT I

 

 

 

 

1540

LPRINT CHR$(68);CHR$(64);

Selects Channel 3. See Table 23.

 

 

 

1550

FOR I=1 TO 18

18 filler lines

1551

LPRINT CHR$(64);CHR$(64);

 

1552 NEXT I

68

Image 68
Contents Programmer’s Reference Manual Page Ansi Printers Copyright  1998, 2002 Printronix, Inc Trademark AcknowledgementsTrademark Acknowledgements 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 EmulationsDebug Downloading Software Through the Serial or Parallel PortDownloading Software Through the Serial or Parallel Port 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 Message Explanation Required Action Flash Memory Message GuideFlash Memory Message Guide Error Program not Error Security PALError Short AT Error Writing toFlash Memory Message Guide Explanation Required Action Installing Printer Emulations Ansi Emulation Default Settings OverviewCR = CR CPILPI CPI Control Codes Configuring The Ansi EmulationConfiguring The Ansi Emulation DC3 Device Control-3 13H Control CodesFormat For Control Code Descriptions Escape Control Codes Overview Format For Control Code DescriptionsControl 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 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 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 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 ↓Repeat Graphics Character Other Graphics ConsiderationsDot Graphics 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 Oversize Character Font Option Oversize Character Font OptionEntering And Exiting Oversize 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 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 FormatAnsi Evfu Channel Control Codes Decimal Value Binary ValueRemarks CharacterDescription DefaultDefault Evfu Table Skip to Channel Command Ansi Evfu Default Evfu Table Channel DescriptionSkip 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 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 thickCTA CPUCT+ CTS CvfuDavfu DCDDSR DTRDvfu EbcdicFifo IGP HGSIeee LAC LCDLED MPLNack NLQNvfu NvramPAL PCBPcba PGLPOR PSARAM ROMSCS RTSSAA Sfcc SLDSNA SOHTOF TTLUPC UsetOFF 100 Diagnostics Passed AnsiError Occurred / Flushing QUEUES*, 20 ESC Sequence Security Code Violation Please WAIT... Reset in ProgressLoading Program from Port XX% 104 Page 164305-001D