MPE/iX Intrinsics Reference Manual (32650-90875)

Chapter 5 145
Command Definitions (FCONTROL - FLOCK)
FDEVICECONTROL
(ASC) Passes the number of the operation to be performed.
Controlcode
192 is used to apply control directives to a device file.
Codes 0 through 64 call FCONTROL. Control passes to FCONTROL, and any
errors returned will have originated with FCONTROL.
parm1
,
parm2
16-bit unsigned integer by value (required)
Passes the value specified in the corresponding
controlcode
; there are
several values for
parm1
and
parm2
that define the operation in more
detail.
fserrorcode
16-bit unsigned integer by reference (required)
Returns a file system error code number if an error occurs. If no error
occurs,
fserrorcode
is set to zero. If FDEVICECONTROL detects a bounds
violation for
fserrorcode
(that is, an address outside your stack area),
fserrorcode
is returned unchanged.
Control Code/
Mnemonic Parm1, Parm2 Description
128/I16V Character set selection:
parm1
(8:8) Primary character set identification
parm2
(8:8) Secondary character set identification
The Hewlett-Packard 268x page printer can contain up to 32 character
sets, allowing the use of a variety of fonts, styles, print rotations, and
languages.
Controlcode
=134 is used to download character sets to the
printer or to select any two downloaded character sets to be the current
primary and secondary character sets.
To change to the secondary character set (one character at a time), set the
eighth bit of the byte coding for the desired ASCII character. The
Hewlett-Packard 268x strips out this bit and prints (in the secondary
character set) the character represented by the remaining 7-bit value. To
change to the secondary character set for a number of characters and over
several lines, insert a
CTRLN (shift-in character) in the data. Insert a
CTRLO (shift-out character) where the primary character set is to be
reactivated.
129/I16V Logical page activation/deactivation request:
parm1
(0:1) 0 = Ignore the left byte of
parm2
. 1 = Deactivate the logical
page table entry identified in the left byte of
parm2
.
parm1
(1:1) 0 = Ignore the right byte of
parm2
. 1 = Activate the logical
page table entry identified in the right byte of
parm2
.
parm2
(0:8) Logical page table entry (0 to 31) to be deactivated.
Ignored if
parm1
(0:1)=0.
parm2
(0:8) Logical page table entry (0 to 31) to be activated. Ignored if
parm1
(1:1)=0.
Logical pages being printed can be canceled or enabled through the