Download AXIS AX-7 Cobra+ - Technical Reference

Transcript
IBM 3270 CONTROL CODES
Set Vertical Format (SVF)
$2B
$C2
NN
FL
TM
BM
T1...Tn
SVF sets the vertical format control parameters: Form Length (FL), Top Margin (TM),
Bottom Margin (BM), and up to 128 vertical tab stops (T1...Tn). The count byte (NN)
specifies the number of bytes to follow (including the count byte).
Note:
1. SVF should be sent only in Top of Form position (i.e. after a Form Feed and before
any control code or character that would change the current print position). SVF in
any other position will generate a Form Feed.
Count (NN): Valid range for the count byte is $01 - $83.
• A count of $01 sets all vertical format control parameters to their default values.
Form Length (FL): Defines the number of lines per page.
• If FL is $00 (or not specified, i.e. the count byte NN is $01), the Form Length is set
to 1.
Note:
1. The FL setting can be prevented by setting parameter #099 (Lock Form Length) to
‘Yes’.
2. If parameter #44 (Option Select 1) bit 5 ($20) is set, then Form Length is set to
parameter #001.
Top Margin (TM): Defines the first print line on the page.
• If TM is $00 (or not specified, i.e. the count byte NN is less than $03), the Top
Margin defaults to print line 1.
Bottom Margin (BM): Defines the last print line on the page.
• If BM is $00 (or not specified, i.e. the count byte NN is less than $04), the Bottom
Margin is equal to Form Length.
Vertical Tab Stops (T1...Tn): Defines the vertical tab stops used by the Vertical Tab
(VT) and Vertical Channel Select (VCS) functions.
• Valid tab stop values are in the range from TM to BM.
• If no tab stops are specified (i.e. the count byte NN is less than $05), the default is a
tab stop at each line between TM and BM.
• The TM value is stored as the first tab stop and the Vertical Channel 1.
• Tab stops T1 through T11 are used for Vertical Channels 2 through 12.
Axis AX-7 Cobra+ Technical Reference
26