Printronix P7000 H-Series, PSA3 manual Escape Sequences, FS Sequences

Page 29

Escape Sequences

Table 4. Factory Settings

Characteristic

Default Setting

 

 

 

 

Auto LF

Enable

Define LF Code

LF = CR + LF

Printer Select

Disable

20 CPI Condensed

Enable

Alt Set 80-9F

Control Code

 

 

Escape Sequences

Some KS control codes consisting of more than one character are called escape sequences because the first character in the sequence is the ASCII ESCape character. ESC alerts the printer that a special function command— not printable characters—follows.

The format for an escape sequence is:

ESC (parameter 1)(parameter 2)...(parameter n)

For example, to select emphasized (offset) print, send the ESC character immediately followed by the E character (do not add a space character):

ASCII: ESC E Hex: 1B 45Dec: 27 69

FS Sequences

Another type of control code which consists of more than one character is called an “FS sequence,” because the first character is the ASCII FS character. This control code is used when the printer is printing Double Byte Character Set (DBCS) characters. The FS alerts the printer that a special function command (not printable characters) follows. Most FS commands work only on DBCS characters.

The format for an FS sequence is:

FS (parameter 1)(parameter 2)...(parameter n)

For example, to rotate DBCS characters by 90×counter-clockwise, send an FS character immediately followed by the J character:

ASCII: FS J Hex: 1C 4ADec: 28 74

29

Image 29
Contents Programmer’s Reference Manual Page Page Trademark Acknowledgements Table Of Contents Table Of Contents Set Intercharacter Spacing of Dbcs Character Standard Ascii Character Set Code Table Related Product Information Software FeaturesAbout This Manual Software Features Control Panel IntroductionPrinting The Configuration Printing The ConfigurationAllows you to make configuration changes Printing Configurations Step Key ResultLocks the Enter key Configuration Menu Overview Configuration MenuChanging Configurations Step Key Result Moving Within The Configuration MenuConfiguration Menu To USE Current Configuration Without Saving Saving Your New Configuration If you are already in the configuration menu, go to step Configuration Menu Saving Configurations Step Key Result LinePrinter Plus Menu LinePrinter Plus MenuCPI/LPI Select Font Attributes Form Width Form LengthMargins Perforation SkipKssm Emulation Kssm EmulationDefine CR Code Exceptions And Differences Kssm EmulationFactory Settings Characteristic Default Setting Default Values And StatesFS Sequences Escape SequencesSuper-Set Commands Configuring The Kssm Emulation With Control CodesSet And Reset Codes Format For Control Code DescriptionsSetting the Units Setting the Page FormatControl Code Index Control Code IndexMechanical Control Selecting CharactersControl-code Character Printing Data and Memory Control Hangul Extension CommandsPrinting Graphics Align Sbcs Character with Dbcs Character Advance Print Position VerticallyCancel The Alignment of Sbcs Character With Cancel The Alignment of Sbcs Character With Dbcs CharacterBackspace Ascii Code Hex Code Dec Code PurposeAscii Hex Selects Barcode Barcode PrintingInch Barcode Printing Ascii Selects ValueOffset unit UPC-A UPC-E EAN Beeper Cancel LineCarriage Return BeeperDefine User-Defined Character Define Pattern for Special Printing EffectDelete Last Character in Buffer Define User-Defined Chinese CharacterDefine User-Defined Chinese Character Hex Code Dec CodeDivided Hangul Double Height Enable Printing of Upper Control CodesFont Expansion Enable Upper Control CodesEnable Upper Control Codes Graphic Printing Form FeedGraphics Printing Select Bit Image Graphics Printing Select Bit ImageInitialize Printer Line Feed Master Select Master SelectAscii Code ESC ! n Hex Code Bit On/Off Hex Dec Function EquivalentAscii Code FS ! n Hex Code Master Select In Dbcs ModeMaster Select One-Line Attribute In Dbcs Mode Master Select One-Line Attribute In Dbcs ModePair Two Characters in Vertical Printing Bit On/Off Hex Dec FunctionSelect 1/8-inch Line Spacing Reassign Bit-image ModeSelect 1/6-inch Line Spacing Select 12 CPI Select 10 CPISelect 15 CPI Select 10 CPISelect 120-dpi Graphics Select 60-dpi GraphicsSelect 120-dpi Graphics Select 240-dpi GraphicsUSA Select an International Character SetSelect Bit Image Select Bit ImageSelect Character Style Cancel Bold FontSelect Bold Font Select Condensed Printing Select Character TableSelect Character Table Ascii Code ESC t n Hex CodeCancel Condensed Printing Select Dbcs Print Quality Cancel Double-strike PrintingSelect Double-strike Printing Select Dbcs Print QualitySelect Double-width Printing One Line Cancel Double-width Printing One LineSelect Double-width Printing in Dbcs Mode One Select Double-width Printing in Dbcs Mode One LineCancel Double-width Printing in Dbcs Mode One Line Cancel Dbcs Mode Select Dbcs ModeSelect Hangul Myunjo/Gothic Style Ascii Code Hex CodeSelect Italic Font Cancel Italic FontSelect Print Quality Select Italic FontSelect Superscript/Subscript Printing Select PrinterDeselect Printer Cancel Superscript/Subscript Printing Cancel Superscript/Subscript PrintingSelect Dbcs Super/Subscript Printing Select Vertical PrintingSet n/180-inch Line Spacing Cancel Vertical Printing Select Horizontal PrintingSet n/60-inch Line Spacing Set Absolute Horizontal Print Position Cancel Bottom MarginSet Bottom Margin Set Absolute Horizontal Print PositionSet Dbcs Character Half Width Cancel Dbcs Character Half Width Super/Subscript PrintingSet Horizontal Tabs Ascii Code ESC D n1 n2 … nk NULSet Intercharacter Space Set Intercharacter SpaceSet Left Margin Set Page Length In Inches Set Page Length In InchesSet Page Length In Lines Set Right Margin Set Relative Horizontal Print PositionSet Vertical Tabs Set Vertical Tab ChannelsSet Vertical Tab Channels Ascii Code ESC B n1 n2 … nk NULDec Code 27 98 m n1 … nk Set Vertical Tabs In VFU ChannelsAscii Code ESC b m n1 … nk NUL Tab Horizontally Tab HorizontallyTab Vertically Turn Double-Height Printing On/Off Turn Auto-wrap Around On/OffTurn Double-Width, Double-Height Printing On/Off Turn Double-Width, Double-Height Printing On/OffTurn Double-Width Printing On/Off Ascii Code Assc 0 z n Turn Extending Table Character On/OffTurn On/Off Ocrb Selection Turn Underline On/Off Turn Proportional Mode On/OffTurn Proportional Mode On/Off Turn Underline On/Off Hangul Extension Standard Ascii Character Set Appendix a Korean Standard Code Table KSC5601 Code TableAppendix B Code Table Korean Standard Code Table KSC5601 Appendix B Code Table Korean Standard Code Table KSC5601 Appendix B Code Table Korean Standard Code Table KSC5601 Appendix B Code Table Korean Standard Code Table KSC5601 Appendix B Code Table Korean Standard Code Table KSC5601 Appendix B Code Table Printronix Supplies Department Printronix Customer Support CenterAppendix C Contact Information Corporate OfficesIndex Page Page 100 Page 179981-001