SPD top-level constant
Select Presentation Directions.
Representation: CSI s1;s2 \x20 \x53
Parameter default value: s1 = 0; s2 = 0
SPD is used to select the line orientation, the line progression, and the character path in the presentation component. It is also used to update the content of the presentation component and the content of the data component. This takes effect immediately.
s1 specifies the line orientation, the line progression and the character path:
- 0 - line orientation: horizontal, line progression: top-to-bottom, character path: left-to-right
- 1 - line orientation: vertical, line progression: right-to-left, character path: top-to-bottom
- 2 - line orientation: vertical, line progression: left-to-right, character path: top-to-bottom
- 3 - line orientation: horizontal, line progression: top-to-bottom, character path: right-to-left
- 4 - line orientation: vertical, line progression: left-to-right, character path: bottom-to-top
- 5 - line orientation: horizontal, line progression: bottom-to-top, character path: right-to-left
- 6 - line orientation: horizontal, line progression: bottom-to-top, character path: left-to-right
- 7 - line orientation: vertical, line progression: right-to-left, character path: bottom-to-top
s2 specifies the effect on the content of the presentation component and the content of the data component:
-
0 - undefined (implementation-dependent)
NOTE
This may also permit the effect to take place after the next occurrence of CR, FF or any control function which initiates an absolute movement of the active presentation position or the active data position.
-
1 - the content of the presentation component is updated to correspond to the content of the data component according to the newly established characteristics of the presentation component; the active data position is moved to the first character position in the first line in the data component, the active presentation position in the presentation component is updated accordingly
-
2 - the content of the data component is updated to correspond to the content of the presentation component according to the newly established characteristics of the presentation component; the active presentation position is moved to the first character position in the first line in the presentation component, the active data position in the data component is updated accordingly.
Implementation
const String SPD = ' S';