Asynchronous Serial Communications Programmer's Reference Manual (32022-90052)

204 Chapter8
Intrinsics Reference
FDEVICECONTROL
FDEVICECONTROL
Provides control operations to a printer, terminal, or spooled device file.
Syntax
I16V UDS I16V I16V
DEVICECONTROL(filenum,buffer,length,controlcode,
U16V U16V U16
parm1,parm2,fserrorcode),
Use
The FDEVICECONTROL intrinsic allows you to perform a variety of
control functions on devicefiles. The function performed by a specific
FDEVICECONTROL call is determined by the values you set for its
parameters.
This manual describes the functions performed when the controlcode
parameter is set to a value of 192. This particular controlcode is used
to apply various control directives to a devicefile.
A complete list of FDEVICECONTROL options is in Table 8-7. For
controlcode values other than controlcode 192, see the MPE/iX
Intrinsics Reference Manual.
Table 8-7 Valid FDEVICECONTROL Controlcode Values
Code Operation Performed
128 Character set selection.
129 Logical page activation/deactivation request.
130 Relative pen displacement.
131 Absolute pen move.
132 Define job characteristics.
133 Define physical page.
134 Download/delete character set.
135 Download/delete form.
136 Download logical page table.
137 Download multicopy from overlay table.
138 Download/delete Vertical Format Control (VFC).
139 Download/delete a picture.