!SET.PU subroutine
Syntax
CALL !SETPU (key, print.channel, new.value, return.code)
Description
Use the !SETPU subroutine to set individual parameters of any logical print channel.
Unlike !SET.PTR, you can specify only individual parameters to change; you need not specify parameters you do not want to change. See the description of the !GETPU subroutine for a way to read individual print.channel parameters.
key is a number indicating the parameter to be set (see "Equate Names for Keys").
print.channel is the logical print channel, designated by -1 through 255.
new.value is the value to which you want to set the parameter.
return.code is the returned error code (see "Equate Names for Return Code").
The !SETPU subroutine lets you change individual parameters of logical print channels as designated by print.channel. Print channel 0 is the terminal unless a PRINTER ON statement has been executed to send output to the default printer. If you specify print channel -1, the output is directed to the terminal, regardless of the status of PRINTER ON or OFF.