If the printer is linked to a TTY, clear the console.
Close the printer and release any resources.
Flush any buffered output.
Print a log record.
The log record to output
If the printer is linked to a TTY, clear the console.