Printronix ANSI Printer Resetting, Ascii Code ESC c Hex Code Dec Code, Hardcoded Reset Values

Page 39

Resetting

Resetting

ASCII Code ESC c

Hex Code

1B 63

Dec Code

27 99

Expression CHR$(27);“c”;

Purpose Resets the printer’s configuration parameters. Depending on which option was selected in the “Reset Cmd CFG Ld” menu, the parameters are set to the factory default configuration, power-up configuration, or the current configuration. If “Reset Cmd CFG Ld” is disabled in the menu, the hardcoded parameters shown in Table 7 are set.

Discussion The following attributes, which are not part of the configuration, are also reset:

Character rotation is reset to no rotation. Character expansions are set to 1x1. Subscript and superscript are turned off. Underscoring is turned off.

Plot mode is terminated.

The horizontal and vertical tabulation tables are cleared. The default EVFU table is loaded.

Bar code parameters are set to default values.

Graphic line density is set to 60 horizontal DPI x 72 vertical DPI. The current line is set as the top-of-form (TOF) position.

Table 7. Hardcoded Reset Values

Parameter

Setting

 

 

 

 

Font style

Data processing

Character size

1 x vertical; 1 x horizontal

Character pitch

10 CPI

Country selection

Latin 1 8859-1

Line spacing

6 LPI

Partial Line up

Reset

Partial Line down

Reset

Bold print

Disabled

Underline mode

Disabled

Expanded mode

Disabled

Proportional mode

Reset

Horizontal tab table

Empty

Left margin

None - column 0

Right margin

None - Maximum

Page size

7920 decipoints/ 66 lines/ 11 inches

Top margin

None

Bottom margin

None

Forms position

Top-of-form = current position

Vertical tab table

Empty

Vertical format unit

Default

Graphics density

60 Horizontal DPI, 72 Vertical DPI

VFU load in progress

Exit (nothing saved)

Bar code mode

Disabled

Dot graphics

Disabled

 

 

39

Image 39
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 Audience Software FeaturesAbout This Manual Related Product InformationInstalling 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 Writing to Error Program notError Security PAL Error Short ATFlash 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 Ansi International Character Sets Character Sets, InternationalCharacter Sets, International Ascii Code ESC p1 Hex Code 1B 5B p1 Dec Code 27 91 p1ISO Italian Expanded Mode Expanded ModeAscii Code ESC p1p2 SP B 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 Margins, Left and Right Margins, Left and RightAscii Code ESC p1p2 s Private Mode, Disable Private Mode, EnableProportional Print Mode Ascii Code ESC c Hex Code Dec Code ResettingResetting Hardcoded Reset ValuesSubscript SuperscriptTab, Clear Tab Set, Multiple Horizontal Terminate Loading of Data Vertical Position AbsoluteVertical Position Relative 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 DotsOther Graphics Considerations Dot GraphicsRepeat Graphics Character 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 Entering And Exiting OversizeOversize Character Font Option 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 DLEClearing 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 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 RemarksDefault 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 DCD CTSCvfu DavfuEbcdic DSRDTR DvfuFifo HGS IeeeIGP MPL LACLCD LEDNvram NackNLQ NvfuPGL PALPCB PcbaROM PORPSA RAMRTS SAASCS SOH SfccSLD SNAUset TOFTTL UPCOFF 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