Printronix ANSI Printer manual Downloading The Evfu Using The PI Line

Page 71

Downloading The EVFU (Using The PI Line)

The following example illustrates the skip to channel command.

Table 26. Skip To Channel Example

Program Instruction

Remarks

Output

10

WIDTH “LPT1:”,255

Required by some BASIC

 

 

languages to avoid auto LF at

 

 

column 80

20

LPRINT CHR$(27);“[0;1!p”;

Go to top of form (channel 1)

30

LPRINT “TOP OF FORM”

Print indicated words

40

LPRINT CHR$(27);“[0;3!p”;

Go to channel 3

50

LPRINT “LINE 6”;

Print indicated words

60

LPRINT CHR$(27);“[0;4!p”;

Go to channel 4

70

LPRINT “LINE 25”;

Print indicated words

80

LPRINT CHR$(27);“[0;5!p”;

Go to channel 5

90

LPRINT “LINE 57”;

Print indicated words

100 LPRINT CHR$(27);“[0;8!p”;

Go to channel 8

110 LPRINT “END OF FORM”;

Print indicated words

120 END

 

NOTE: Set the top-of-form first. When you execute the EVFU, the paper will move to the top-of-form on the next page and then begin printing.

Downloading The EVFU (Using The PI Line)

The PI-EVFU is identical to the ESC sequence-EVFU, except for the EVFU load and command sequences. The PI-EVFU is used exclusively with the Dataproducts parallel interface option.

NOTE: The PI-line must be enabled in the interface menu.

Start load command:6C (hex) selects 6 LPI linespacing 6D (hex) selects 8 LPI linespacing

6E (hex) selects current linespacing

End load command:6F (hex)

The format of the two byte channel control code is shown in Table 27.

Table 27. Two Byte Channel Control Code Format

Bit Number

8

7

6

5

4

3

2

1

 

 

 

 

 

 

 

 

 

Channel Number

x

x

6

5

4

3

2

1

 

 

 

 

 

 

 

 

 

first byte

x

x

y

y

y

y

y

y

 

 

 

 

 

 

 

 

 

71

Image 71
Contents Programmer’s Reference Manual Page Ansi Printers Copyright  1998, 2002 Printronix, Inc Trademark AcknowledgementsTrademark Acknowledgements Table of Contents Vertical Page Formatting Table of ContentsConversion Tables Glossary Table of Contents Audience Software FeaturesAbout This Manual Related Product InformationInstalling Printer Emulations Installing Printer EmulationsDebug Downloading Software Through the Serial or Parallel PortDownloading Software Through the Serial or Parallel Port 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 Message Explanation Required Action Flash Memory Message GuideFlash Memory Message Guide Error Writing to Error Program notError Security PAL Error Short ATFlash Memory Message Guide Explanation Required Action Installing Printer Emulations Overview Ansi Emulation Default SettingsCR = CR CPILPI CPI Control Codes Configuring The Ansi EmulationConfiguring The Ansi Emulation Control Codes DC3 Device Control-3 13HFormat For Control Code Descriptions Format For Control Code Descriptions Escape Control Codes OverviewControl Codes Index Graphics CommandsVertical Formatting Commands Ansi International Character Sets Character Sets, InternationalCharacter Sets, International Ascii Code ESC p1 Hex Code 1B 5B p1 Dec Code 27 91 p1ISO Italian Ascii Code ESC p1p2 SP B Expanded ModeExpanded Mode Ascii Code ESC p1p2p3 r Forms Length, Top Margin, Bottom MarginCharacter Types and Enhancements Parameter Graphic RenditionGraphic Rendition Ascii Code ESC p1p2...pn mLine Spacing Ascii Code ESC p1p2 s Margins, Left and RightMargins, Left and Right Proportional Print Mode Private Mode, DisablePrivate Mode, Enable Ascii Code ESC c Hex Code Dec Code ResettingResetting Hardcoded Reset ValuesTab, Clear SubscriptSuperscript Tab Set, Multiple Horizontal Vertical Position Relative Terminate Loading of DataVertical Position Absolute 0X0X0X0 LSB LSB Msbx MSB GraphicsDot Patterns And Densities Dot Patterns And Densities654321 Graphics Ascii Character Dot Patterns Hex DotsHorizontal Format Byte → Byte n Row ↓ Horizontal FormatVertical Format Horizontal Format Ascii Character Dot Patterns Hex DotsRepeat Graphics Character Other Graphics ConsiderationsDot Graphics Select Graphics Mode Entering And Exiting Bar Codes Setting Bar Code ParametersDefault Bar Code Parameters Bar CodesUPC a Setting Bar Code ParametersP1 Values If p1 = StylePostnet 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 Oversize Character Font OptionEntering And Exiting Oversize Selecting Size Selecting SizeOversize Character Font Option Planning a Vertical Page Format Vertical Page FormattingVertical Tab Positions VFU CharacteristicsProprinter And Epson Vertical Tab Table Executing Vertical TabsForm Data Form Line Number Vertical Tabs Vertical Tab PositionsEnd Load 1F or 6F Hex Series EvfuStart Load Code 1E or 6E Hex Channel AssignmentData Bits Hex Dec Code Channel Using The EvfuUsing The Evfu Series Evfu Codes PI Line EnabledDC1 DC2 DC3 DC4 NAK SYN ETB Can SUB ESC Series Evfu Series Evfu Codes PI Line EnabledSeries Evfu Codes PI Line Disabled or Not Used DLEData 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 Two Byte Channel Control Code Format Loading the TableLoading the Table Ascii Code ESC Hex Code 1B 5D Dec Code 27 93Character Ansi EvfuChannel Control Codes Decimal Value Binary Value RemarksDescription DefaultDefault Evfu Table Ansi Evfu Default Evfu Table Channel Description Skip to Channel CommandSkip 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 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 sentenceCTA CPUCT+ DCD CTSCvfu DavfuEbcdic DSRDTR DvfuFifo IGP HGSIeee MPL LACLCD LEDNvram NackNLQ NvfuPGL PALPCB PcbaROM PORPSA RAMSCS RTSSAA SOH SfccSLD SNAUset TOFTTL UPCOFF 100 Ansi Diagnostics PassedError Occurred / Flushing QUEUES*, 20 ESC Sequence Security Code Violation Please WAIT... Reset in ProgressLoading Program from Port XX% 104 Page 164305-001D