User`s manual
IBM 5250 CONTROL CODES
AXIS AX-3 Cobra+ Technical Reference 27
Set Printer Setup (SPSU)
Specifies the paper feed unit and print setup to be used.
Count (nn): Number of bytes following this command plus one.
Reserved (xx): This byte is ignored.
Paper Feed (pf): Valid values are:
Reserved (xx): This byte is ignored.
String (si): A string of maximum 60 bytes. The two first ones are converted to decimal
values and presented on the printer operator panel.
Set Exception Action (SEA)
Specifies the action to be taken on the detection of the text data stream exception con-
ditions.
Count (nn): Number of bytes following this command plus one.
Exception Action (ecac): Paired one byte numbers specifying the action to be taken
on the detection of the data stream exception conditions.
Set Text Orientation (STO)
Controls print orientation.
Count (nn): Number of bytes following this command plus one.
Character Rotation (crcr): This two-byte value is ignored.
Page Rotation (prpr): Valid values are:
$2B $D2 nn $4C xx pf xx si
Value Description
$00 No change to the paper feed
$01 Select manual feed
$02 Select tractor feed
$03 Select automatic cut sheet feed
$2B $D2 nn $85 ecac
$2B $D3 nn $F6 crcr prpr
Value Description
$0000 Normal upright orientation (Portrait)
$2D00 Landscape left (270 degrees orientation)
$5A00 Portrait upside down (180 degrees orientation)
$8700 Landscape right (90 degrees orientation)
$FFFE Computer Output Reduction (COR)
$FFFF Default (orientation based on SPPS)