Difference between revisions of "CodeChart:ANSI/ESC/CSI/SP"

From Terminals
< CodeChart:ANSI‎ | ESC‎ | CSI
Jump to: navigation, search
m (sortable)
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
[[:Special:PrefixIndex/{{FULLPAGENAME}}/|Subpages of {{SUBPAGENAME}}]]
 +
 +
{|
 +
| valign="top" align="right" |
 
{{CodeChart
 
{{CodeChart
 +
| title=Received
 
| a=#SR
 
| a=#SR
 
| c=#GSS
 
| c=#GSS
Line 46: Line 51:
 
| underscore=#GCC
 
| underscore=#GCC
 
}}
 
}}
 
+
| style="width: 2ex;" |
 
+
| valign="top" |
== ESC CSI SP Sequences ==
+
{{CodeChart
 
+
| title=Transmitted
{| border="1" class="wikitable sortable"
+
}}
! style="padding: 1ex;" | Prefix
 
! style="padding: 1ex;" | Acronym
 
! style="padding: 1ex;" | Description
 
! style="padding: 1ex;" | Parameters
 
|-
 
! style="padding: 1ex; text-align: center;" | T
 
| style="padding: 1ex; text-align: center;" | <span id="DTA">DTA</span>
 
| style="padding: 1ex;" | Dimension Text Area
 
| style="padding: 1ex;" | ''Pn1''; ''Pn2''
 
|-
 
! style="padding: 1ex; text-align: center;" | W
 
| style="padding: 1ex; text-align: center;" | <span id="FNK">FNK</span>
 
| style="padding: 1ex;" | Function Key
 
| style="padding: 1ex;" | ''Pn1''
 
|-
 
! style="padding: 1ex; text-align: center;" | D
 
| style="padding: 1ex; text-align: center;" | <span id="FNT">FNT</span>
 
| style="padding: 1ex;" | Font Selection
 
| style="padding: 1ex;" | [[#fnt-parameter1|''Ps1''=0;]] ''Ps2''=0
 
|-
 
! style="padding: 1ex; text-align: center;" | _
 
| style="padding: 1ex; text-align: center;" | <span id="GCC">GCC</span>
 
| style="padding: 1ex;" | Graphic Character Combination
 
| style="padding: 1ex;" | [[#gcc-parameter|''Ps1''=0]]
 
|-
 
! style="padding: 1ex; text-align: center;" | B
 
| style="padding: 1ex; text-align: center;" | <span id="GSM">GSM</span>
 
| style="padding: 1ex;" | Graphic Size Modification
 
| style="padding: 1ex;" | ''Ps1''=100; ''Ps2''=100
 
|-
 
! style="padding: 1ex; text-align: center;" | C
 
| style="padding: 1ex; text-align: center;" | <span id="GSS">GSS</span>
 
| style="padding: 1ex;" | Graphic Size Selection
 
| style="padding: 1ex;" | ''Ps1''; ''Ps2''
 
|-
 
! style="padding: 1ex; text-align: center;" | O
 
| style="padding: 1ex; text-align: center;" | <span id="IDCS">IDCS</span>
 
| style="padding: 1ex;" | Identify Device Control String
 
| style="padding: 1ex;" | ''Ps1''
 
|-
 
! style="padding: 1ex; text-align: center;" | M
 
| style="padding: 1ex; text-align: center;" | <span id="IGS">IGS</span>
 
| style="padding: 1ex;" | Identify Graphic Subrepertoire
 
| style="padding: 1ex;" | ''Ps1''
 
|-
 
! style="padding: 1ex; text-align: center;" | F
 
| style="padding: 1ex; text-align: center;" | <span id="JFY">JFY</span>
 
| style="padding: 1ex;" | Justify
 
| style="padding: 1ex;" | [[#jfy-parameter|''Ps1''=0;]] ...
 
|-
 
! style="padding: 1ex; text-align: center;" | Z
 
| style="padding: 1ex; text-align: center;" | <span id="PEC">PEC</span>
 
| style="padding: 1ex;" | Presentation Expand or Contract
 
| style="padding: 1ex;" | ''Ps1''=0
 
|-
 
! style="padding: 1ex; text-align: center;" | J
 
| style="padding: 1ex; text-align: center;" | <span id="PFS">PFS</span>
 
| style="padding: 1ex;" | Page Format Selection
 
| style="padding: 1ex;" | ''Ps1''=0
 
|-
 
! style="padding: 1ex; text-align: center;" | P
 
| style="padding: 1ex; text-align: center;" | <span id="PPA">PPA</span>
 
| style="padding: 1ex;" | Page Position Absolute
 
| style="padding: 1ex;" | ''Pn1''=1
 
|-
 
! style="padding: 1ex; text-align: center;" | R
 
| style="padding: 1ex; text-align: center;" | <span id="PPB">PPB</span>
 
| style="padding: 1ex;" | Page Position Backward
 
| style="padding: 1ex;" | ''Pn1''=1
 
|-
 
! style="padding: 1ex; text-align: center;" | Q
 
| style="padding: 1ex; text-align: center;" | <span id="PPR">PPR</span>
 
| style="padding: 1ex;" | Page Position Relative
 
| style="padding: 1ex;" | ''Pn1''=1
 
|-
 
! style="padding: 1ex; text-align: center;" | H
 
| style="padding: 1ex; text-align: center;" | <span id="QUAD">QUAD</span>
 
| style="padding: 1ex;" | Quad
 
| style="padding: 1ex;" | ''Ps1''=0; ...
 
|-
 
! style="padding: 1ex; text-align: center;" | \
 
| style="padding: 1ex; text-align: center;" | <span id="SACS">SACS</span>
 
| style="padding: 1ex;" | Set Additional Character Separation
 
| style="padding: 1ex;" | ''Pn1''=0
 
|-
 
! style="padding: 1ex; text-align: center;" | ]
 
| style="padding: 1ex; text-align: center;" | <span id="SAPV">SAPV</span>
 
| style="padding: 1ex;" | Set Alternative Presentation Variants
 
| style="padding: 1ex;" | ''Ps1''=0; ...
 
|-
 
! style="padding: 1ex; text-align: center;" | e
 
| style="padding: 1ex; text-align: center;" | <span id="SCO">SCO</span>
 
| style="padding: 1ex;" | Select Character Orientation
 
| style="padding: 1ex;" | ''Ps1''=0
 
|-
 
! style="padding: 1ex; text-align: center;" | k
 
| style="padding: 1ex; text-align: center;" | <span id="SCP">SCP</span>
 
| style="padding: 1ex;" | Select Character Path
 
| style="padding: 1ex;" | ''Ps1''; ''Ps2''
 
|-
 
! style="padding: 1ex; text-align: center;" | g
 
| style="padding: 1ex; text-align: center;" | <span id="SCS">SCS</span>
 
| style="padding: 1ex;" | Select Character Spacing
 
| style="padding: 1ex;" | ''Pn1''
 
|-
 
! style="padding: 1ex; text-align: center;" | Y
 
| style="padding: 1ex; text-align: center;" | <span id="SEF">SEF</span>
 
| style="padding: 1ex;" | Sheet Eject and Feed
 
| style="padding: 1ex;" | ''Ps1''=0; ''Ps2''=0
 
|-
 
! style="padding: 1ex; text-align: center;" | K
 
| style="padding: 1ex; text-align: center;" | <span id="SHS">SHS</span>
 
| style="padding: 1ex;" | Select Character Spacing
 
| style="padding: 1ex;" | ''Ps1''=0
 
|-
 
! style="padding: 1ex; text-align: center;" | @
 
| style="padding: 1ex; text-align: center;" | <span id="SL">SL</span>
 
| style="padding: 1ex;" | Scroll Left
 
| style="padding: 1ex;" | ''Pn1''=1
 
|-
 
! style="padding: 1ex; text-align: center;" | U
 
| style="padding: 1ex; text-align: center;" | <span id="SLH">SLH</span>
 
| style="padding: 1ex;" | Set Line Home
 
| style="padding: 1ex;" | ''Pn1''
 
|-
 
! style="padding: 1ex; text-align: center;" | V
 
| style="padding: 1ex; text-align: center;" | <span id="SLL">SLL</span>
 
| style="padding: 1ex;" | Set Line Limit
 
| style="padding: 1ex;" | ''Pn1''
 
|-
 
! style="padding: 1ex; text-align: center;" | h
 
| style="padding: 1ex; text-align: center;" | <span id="SLS">SLS</span>
 
| style="padding: 1ex;" | Set Line Spacing
 
| style="padding: 1ex;" | ''Pn1''
 
|-
 
! style="padding: 1ex; text-align: center;" | S
 
| style="padding: 1ex; text-align: center;" | <span id="SPD">SPD</span>
 
| style="padding: 1ex;" | Select Presentation Direction
 
| style="padding: 1ex;" | ''Ps1''=0; ''Ps2''=0
 
|-
 
! style="padding: 1ex; text-align: center;" | i
 
| style="padding: 1ex; text-align: center;" | <span id="SPH">SPH</span>
 
| style="padding: 1ex;" | Set Page Home
 
| style="padding: 1ex;" | ''Pn1''
 
|-
 
! style="padding: 1ex; text-align: center;" | G
 
| style="padding: 1ex; text-align: center;" | <span id="SPI">SPI</span>
 
| style="padding: 1ex;" | Spacing Increment
 
| style="padding: 1ex;" | ''Pn1''; ''Pn2''
 
|-
 
! style="padding: 1ex; text-align: center;" | j
 
| style="padding: 1ex; text-align: center;" | <span id="SPL">SPL</span>
 
| style="padding: 1ex;" | Set Page Limit
 
| style="padding: 1ex;" | ''Pn1''
 
|-
 
! style="padding: 1ex; text-align: center;" | X
 
| style="padding: 1ex; text-align: center;" | <span id="SPQR">SPQR</span>
 
| style="padding: 1ex;" | Select Print Quality and Rapidity
 
| style="padding: 1ex;" | ''Ps1''=0
 
|-
 
! style="padding: 1ex; text-align: center;" | A
 
| style="padding: 1ex; text-align: center;" | <span id="SR">SR</span>
 
| style="padding: 1ex;" | Scroll Right
 
| style="padding: 1ex;" | ''Pn1''=1
 
|-
 
! style="padding: 1ex; text-align: center;" | f
 
| style="padding: 1ex; text-align: center;" | <span id="SRCS">SRCS</span>
 
| style="padding: 1ex;" | Set Reduced Character Separation
 
| style="padding: 1ex;" | ''Pn1''=0
 
|-
 
! style="padding: 1ex; text-align: center;" | I
 
| style="padding: 1ex; text-align: center;" | <span id="SSU">SSU</span>
 
| style="padding: 1ex;" | Select Size Unit
 
| style="padding: 1ex;" | ''Ps1''=0
 
|-
 
! style="padding: 1ex; text-align: center;" | [
 
| style="padding: 1ex; text-align: center;" | <span id="SSW">SSW</span>
 
| style="padding: 1ex;" | Set Space Width
 
| style="padding: 1ex;" | ''Pn1''
 
|-
 
! style="padding: 1ex; text-align: center;" | ^
 
| style="padding: 1ex; text-align: center;" | <span id="STAB">STAB</span>
 
| style="padding: 1ex;" | Selective Tabulation
 
| style="padding: 1ex;" | ''Ps1''
 
|-
 
! style="padding: 1ex; text-align: center;" | L
 
| style="padding: 1ex; text-align: center;" | <span id="SVS">SVS</span>
 
| style="padding: 1ex;" | Select Vertical Spacing
 
| style="padding: 1ex;" | ''Ps1''=0
 
|-
 
! style="padding: 1ex; text-align: center;" | b
 
| style="padding: 1ex; text-align: center;" | <span id="TAC">TAC</span>
 
| style="padding: 1ex;" | Tabulation Align Centered
 
| style="padding: 1ex;" | ''Pn1''
 
 
|-
 
|-
! style="padding: 1ex; text-align: center;" | a
+
| valign="top" |
| style="padding: 1ex; text-align: center;" | <span id="TALE">TALE</span>
+
{| class="wikitable sortable"
| style="padding: 1ex;" | Tabulation Aligned Leading Edge
+
|+ ESC CSI SP Sequences
| style="padding: 1ex;" | ''Pn1''
+
{{CodeDescriptionHeaderA}}
|-
+
{{CodeDescriptionRowA|@|SL|SL|Scroll Left|''Pn1''<nowiki>=</nowiki>1}}
! style="padding: 1ex; text-align: center;" | `
+
{{CodeDescriptionRowA|A|SR|SR|Scroll Right|''Pn1''<nowiki>=</nowiki>1}}
| style="padding: 1ex; text-align: center;" | <span id="TATE">TATE</span>
+
{{CodeDescriptionRowA|B|GSM|GSM|Graphic Size Modification|''Ps1''<nowiki>=</nowiki>100 <code>;</code> ''Ps2''<nowiki>=</nowiki>100}}
| style="padding: 1ex;" | Tabulation Aligned Trailing Edge
+
{{CodeDescriptionRowA|C|GSS|GSS|Graphic Size Selection|''Ps1''; ''Ps2''}}
| style="padding: 1ex;" | ''Pn1''
+
{{CodeDescriptionRowA|D|FNT|FNT|Font Selection|[[#fnt-parameter1|''Ps1'']]<nowiki>=</nowiki>0 <code>;</code> ''Ps2''<nowiki>=</nowiki>0}}
|-
+
{{CodeDescriptionRowA|E|TSS|TSS|Thin Space Specification|''Pn1''}}
! style="padding: 1ex; text-align: center;" | c
+
{{CodeDescriptionRowA|F|JFY|JFY|Justify|[[#jfy-parameter|''Ps1'']]<nowiki>=</nowiki>0 <code>;</code> ...}}
| style="padding: 1ex; text-align: center;" | <span id="TCC">TCC</span>
+
{{CodeDescriptionRowA|G|SPI|SPI|Spacing Increment|''Pn1'' <code>;</code> ''Pn2''}}
| style="padding: 1ex;" | Tabulation Centered on Character
+
{{CodeDescriptionRowA|H|QUAD|QUAD|Quad|''Ps1''<nowiki>=</nowiki>0 <code>;</code> ...}}
| style="padding: 1ex;" | ''Pn1''; ''Pn2''=32
+
{{CodeDescriptionRowA|I|SSU|SSU|Select Size Unit|''Ps1''<nowiki>=</nowiki>0}}
|-
+
{{CodeDescriptionRowA|J|PFS|PFS|Page Format Selection|''Ps1''<nowiki>=</nowiki>0}}
! style="padding: 1ex; text-align: center;" | d
+
{{CodeDescriptionRowA|K|SHS|SHS|Select Character Spacing|''Ps1''<nowiki>=</nowiki>0}}
| style="padding: 1ex; text-align: center;" | <span id="TSR">TSR</span>
+
{{CodeDescriptionRowA|L|SVS|SVS|Select Vertical Spacing|''Ps1''<nowiki>=</nowiki>0}}
| style="padding: 1ex;" | Tabulation Stop Remove
+
{{CodeDescriptionRowA|M|IGS|IGS|Identify Graphic Subrepertoire|''Ps1''}}
| style="padding: 1ex;" | ''Pn1''
+
{{CodeDescriptionRowA|O|IDCS|IDCS|Identify Device Control String|''Ps1''}}
|-
+
{{CodeDescriptionRowA|P|PPA|PPA|Page Position Absolute|''Pn1''<nowiki>=</nowiki>1}}
! style="padding: 1ex; text-align: center;" | E
+
{{CodeDescriptionRowA|Q|PPR|PPR|Page Position Relative|''Pn1''<nowiki>=</nowiki>1}}
| style="padding: 1ex; text-align: center;" | <span id="TSS">TSS</span>
+
{{CodeDescriptionRowA|R|PPB|PPB|Page Position Backward|''Pn1''<nowiki>=</nowiki>1}}
| style="padding: 1ex;" | Thin Space Specification
+
{{CodeDescriptionRowA|S|SPD|SPD|Select Presentation Direction|''Ps1''<nowiki>=</nowiki>0 <code>;</code> ''Ps2''<nowiki>=</nowiki>0}}
| style="padding: 1ex;" | ''Pn1''
+
{{CodeDescriptionRowA|T|DTA|DTA|Dimension Text Area|''Pn1'' <code>;</code> ''Pn2''}}
 +
{{CodeDescriptionRowA|U|SLH|SLH|Set Line Home|''Pn1''}}
 +
{{CodeDescriptionRowA|V|SLL|SLL|Set Line Limit|''Pn1''}}
 +
{{CodeDescriptionRowA|W|FNK|FNK|Function Key|''Pn1''}}
 +
{{CodeDescriptionRowA|X|SPQR|SPQR|Select Print Quality and Rapidity|''Ps1''<nowiki>=</nowiki>0}}
 +
{{CodeDescriptionRowA|Y|SEF|SEF|Sheet Eject and Feed|''Ps1''<nowiki>=</nowiki>0 <code>;</code> ''Ps2''<nowiki>=</nowiki>0}}
 +
{{CodeDescriptionRowA|Z|PEC|PEC|Presentation Expand or Contract|''Ps1''<nowiki>=</nowiki>0}}
 +
{{CodeDescriptionRowA|[|SSW|SSW|Set Space Width|''Pn1''}}
 +
{{CodeDescriptionRowA|\|SACS|SACS|Set Additional Character Separation|''Pn1''<nowiki>=</nowiki>0}}
 +
{{CodeDescriptionRowA|]|SAPV|SAPV|Set Alternative Presentation Variants|''Ps1''<nowiki>=</nowiki>0 <code>;</code> ...}}
 +
{{CodeDescriptionRowA|^|STAB|STAB|Selective Tabulation|''Ps1''}}
 +
{{CodeDescriptionRowA|_|GCC|GCC|Graphic Character Combination|[[#gcc-parameter|''Ps1'']]<nowiki>=</nowiki>0}}
 +
{{CodeDescriptionRowA|`|TATE|TATE|Tabulation Aligned Trailing Edge|''Pn1''}}
 +
{{CodeDescriptionRowA|a|TALE|TALE|Tabulation Aligned Leading Edge|''Pn1''}}
 +
{{CodeDescriptionRowA|b|TAC|TAC|Tabulation Align Centered|''Pn1''}}
 +
{{CodeDescriptionRowA|c|TCC|TCC|Tabulation Centered on Character|''Pn1'' <code>;</code> ''Pn2''<nowiki>=</nowiki>32}}
 +
{{CodeDescriptionRowA|d|TSR|TSR|Tabulation Stop Remove|''Pn1''}}
 +
{{CodeDescriptionRowA|e|SCO|SCO|Select Character Orientation|''Ps1''<nowiki>=</nowiki>0}}
 +
{{CodeDescriptionRowA|f|SRCS|SRCS|Set Reduced Character Separation|''Pn1''<nowiki>=</nowiki>0}}
 +
{{CodeDescriptionRowA|g|SCS|SCS|Select Character Spacing|''Pn1''}}
 +
{{CodeDescriptionRowA|h|SLS|SLS|Set Line Spacing|''Pn1''}}
 +
{{CodeDescriptionRowA|i|SPH|SPH|Set Page Home|''Pn1''}}
 +
{{CodeDescriptionRowA|j|SPL|SPL|Set Page Limit|''Pn1''}}
 +
{{CodeDescriptionRowA|k|SCP|SCP|Select Character Path|''Ps1'' <code>;</code> ''Ps2''}}
 
|}
 
|}
  
 +
{| class="wikitable"
 +
|+ id="fnt-parameter1" | FNT Parameter 1
 +
{{ValueDescriptionHeader}}
 +
{{ValueDescriptionRow|0|Primary font}}
 +
{{ValueDescriptionRow|1|First alternate font}}
 +
{{ValueDescriptionRow|2|Second alternate font}}
 +
{{ValueDescriptionRow|3|Third alternate font}}
 +
{{ValueDescriptionRow|4|Fourth alternate font}}
 +
{{ValueDescriptionRow|5|Fifth alternate font}}
 +
{{ValueDescriptionRow|6|Sixth alternate font}}
 +
{{ValueDescriptionRow|7|Seventh alternate font}}
 +
{{ValueDescriptionRow|8|Eighth alternate font}}
 +
{{ValueDescriptionRow|9|Ninth alternate font}}
 +
|}
  
==== <span id="fnt-parameter1">FNT Parameter 1</span> ====
+
{| class="wikitable"
 
+
|+ id="gcc-parameter" | GCC Parameter
{| border="1" style="text-align: center;"
+
{{ValueDescriptionHeader}}
! style="padding: 1ex;" | Value
+
{{ValueDescriptionRow|0|Combine next two characters}}
! style="padding: 1ex; text-align: left;" | Description
+
{{ValueDescriptionRow|1|Begin combining characters}}
|-
+
{{ValueDescriptionRow|2|End combining characters}}
| style="padding: 1ex;" | 0
 
| style="padding: 1ex; text-align: left;" | Primary font
 
|-
 
| style="padding: 1ex;" | 1
 
| style="padding: 1ex; text-align: left;" | First alternate font
 
|-
 
| style="padding: 1ex;" | 2
 
| style="padding: 1ex; text-align: left;" | Second alternate font
 
|-
 
| style="padding: 1ex;" | 3
 
| style="padding: 1ex; text-align: left;" | Third alternate font
 
|-
 
| style="padding: 1ex;" | 4
 
| style="padding: 1ex; text-align: left;" | Fourth alternate font
 
|-
 
| style="padding: 1ex;" | 5
 
| style="padding: 1ex; text-align: left;" | Fifth alternate font
 
|-
 
| style="padding: 1ex;" | 6
 
| style="padding: 1ex; text-align: left;" | Sixth alternate font
 
|-
 
| style="padding: 1ex;" | 7
 
| style="padding: 1ex; text-align: left;" | Seventh alternate font
 
|-
 
| style="padding: 1ex;" | 8
 
| style="padding: 1ex; text-align: left;" | Eighth alternate font
 
|-
 
| style="padding: 1ex;" | 9
 
| style="padding: 1ex; text-align: left;" | Ninth alternate font
 
 
|}
 
|}
  
 
+
{| class="wikitable"
==== <span id="gcc-parameter">GCC Parameter</span> ====
+
|+ id="jfy-parameter" | JFY Parameter
 
+
{{ValueDescriptionHeader}}
{| border="1" style="text-align: center;"
+
{{ValueDescriptionRow|0|No justification, end of justification of previous text}}
! style="padding: 1ex;" | Value
+
{{ValueDescriptionRow|1|Word fill}}
! style="padding: 1ex; text-align: left;" | Description
+
{{ValueDescriptionRow|2|Word space}}
|-
+
{{ValueDescriptionRow|3|Letter space}}
| style="padding: 1ex;" | 0
+
{{ValueDescriptionRow|4|Hyphenation}}
| style="padding: 1ex; text-align: left;" | Combine next two characters
+
{{ValueDescriptionRow|5|Flush to line home position margin}}
|-
+
{{ValueDescriptionRow|6|Center between the home position and line limit position margin}}
| style="padding: 1ex;" | 1
+
{{ValueDescriptionRow|7|Flush to line limit position margin}}
| style="padding: 1ex; text-align: left;" | Begin combining characters
+
{{ValueDescriptionRow|8|Italian hyphenation}}
|-
 
| style="padding: 1ex;" | 0
 
| style="padding: 1ex; text-align: left;" | End combining characters
 
 
|}
 
|}
  
 
==== <span id="jfy-parameter">JFY Parameter</span> ====
 
 
{| border="1" style="text-align: center;"
 
! style="padding: 1ex;" | Value
 
! style="padding: 1ex; text-align: left;" | Description
 
|-
 
| style="padding: 1ex;" | 0
 
| style="padding: 1ex; text-align: left;" | No justification, end of justification of previous text
 
|-
 
| style="padding: 1ex;" | 1
 
| style="padding: 1ex; text-align: left;" | Word fill
 
|-
 
| style="padding: 1ex;" | 2
 
| style="padding: 1ex; text-align: left;" | Word space
 
|-
 
| style="padding: 1ex;" | 3
 
| style="padding: 1ex; text-align: left;" | Letter space
 
|-
 
| style="padding: 1ex;" | 4
 
| style="padding: 1ex; text-align: left;" | Hyphenation
 
|-
 
| style="padding: 1ex;" | 5
 
| style="padding: 1ex; text-align: left;" | Flush to line home position margin
 
|-
 
| style="padding: 1ex;" | 6
 
| style="padding: 1ex; text-align: left;" | Center between the home position and line limit position margin
 
|-
 
| style="padding: 1ex;" | 7
 
| style="padding: 1ex; text-align: left;" | Flush to line limit position margin
 
|-
 
| style="padding: 1ex;" | 8
 
| style="padding: 1ex; text-align: left;" | Italian hyphenation
 
 
|}
 
|}

Latest revision as of 04:25, 15 February 2013

Subpages of SP

Received
0 1 2 3 4 5 6 7
0 NUL DLE SP 0 @ P ` p
1 SOH DC1 ! 1 A Q a q
2 STX DC2 " 2 B R b r
3 ETX DC3 # 3 C S c s
4 EOT DC4 $ 4 D T d t
5 ENQ NAQ % 5 E U e u
6 ACK SYN & 6 F V f v
7 BEL ETB ' 7 G W g w
8 BS CAN ( 8 H X h x
9 HT EM ) 9 I Y i y
10 LF SUB * : J Z j z
11 VT ESC + ; K [ k {
12 FF IS4 , < L \ l |
13 CR IS3 - = M ] m }
14 SO IS2 . > N ^ n ~
15 SI IS1 / ? O _ o DEL
Transmitted
0 1 2 3 4 5 6 7
0 NUL DLE SP 0 @ P ` p
1 SOH DC1 ! 1 A Q a q
2 STX DC2 " 2 B R b r
3 ETX DC3 # 3 C S c s
4 EOT DC4 $ 4 D T d t
5 ENQ NAQ % 5 E U e u
6 ACK SYN & 6 F V f v
7 BEL ETB ' 7 G W g w
8 BS CAN ( 8 H X h x
9 HT EM ) 9 I Y i y
10 LF SUB * : J Z j z
11 VT ESC + ; K [ k {
12 FF IS4 , < L \ l |
13 CR IS3 - = M ] m }
14 SO IS2 . > N ^ n ~
15 SI IS1 / ? O _ o DEL
ESC CSI SP Sequences
Prefix Acronym Description Parameters
@ SL Scroll Left Pn1=1
A SR Scroll Right Pn1=1
B GSM Graphic Size Modification Ps1=100 ; Ps2=100
C GSS Graphic Size Selection Ps1; Ps2
D FNT Font Selection Ps1=0 ; Ps2=0
E TSS Thin Space Specification Pn1
F JFY Justify Ps1=0 ; ...
G SPI Spacing Increment Pn1 ; Pn2
H QUAD Quad Ps1=0 ; ...
I SSU Select Size Unit Ps1=0
J PFS Page Format Selection Ps1=0
K SHS Select Character Spacing Ps1=0
L SVS Select Vertical Spacing Ps1=0
M IGS Identify Graphic Subrepertoire Ps1
O IDCS Identify Device Control String Ps1
P PPA Page Position Absolute Pn1=1
Q PPR Page Position Relative Pn1=1
R PPB Page Position Backward Pn1=1
S SPD Select Presentation Direction Ps1=0 ; Ps2=0
T DTA Dimension Text Area Pn1 ; Pn2
U SLH Set Line Home Pn1
V SLL Set Line Limit Pn1
W FNK Function Key Pn1
X SPQR Select Print Quality and Rapidity Ps1=0
Y SEF Sheet Eject and Feed Ps1=0 ; Ps2=0
Z PEC Presentation Expand or Contract Ps1=0
[ SSW Set Space Width Pn1
\ SACS Set Additional Character Separation Pn1=0
] SAPV Set Alternative Presentation Variants Ps1=0 ; ...
^ STAB Selective Tabulation Ps1
_ GCC Graphic Character Combination Ps1=0
` TATE Tabulation Aligned Trailing Edge Pn1
a TALE Tabulation Aligned Leading Edge Pn1
b TAC Tabulation Align Centered Pn1
c TCC Tabulation Centered on Character Pn1 ; Pn2=32
d TSR Tabulation Stop Remove Pn1
e SCO Select Character Orientation Ps1=0
f SRCS Set Reduced Character Separation Pn1=0
g SCS Select Character Spacing Pn1
h SLS Set Line Spacing Pn1
i SPH Set Page Home Pn1
j SPL Set Page Limit Pn1
k SCP Select Character Path Ps1 ; Ps2
FNT Parameter 1
Value Description
0 Primary font
1 First alternate font
2 Second alternate font
3 Third alternate font
4 Fourth alternate font
5 Fifth alternate font
6 Sixth alternate font
7 Seventh alternate font
8 Eighth alternate font
9 Ninth alternate font
GCC Parameter
Value Description
0 Combine next two characters
1 Begin combining characters
2 End combining characters
JFY Parameter
Value Description
0 No justification, end of justification of previous text
1 Word fill
2 Word space
3 Letter space
4 Hyphenation
5 Flush to line home position margin
6 Center between the home position and line limit position margin
7 Flush to line limit position margin
8 Italian hyphenation