RAD function: printer

A RAD function that sets and returns the value of the currently logged-on printer.

Function

printer

Format

printer()

Factors

This function is most often used to set the current printer. When an operator logs on, the login application is executed, assigning printer() to be either the printer specified by the user at login, or the default printer specified in the operator record for the user.

Example

$a = printer()
                    
printer() = $a