pr_streams

Description

Current output device

Old Name

#define op_device pr_streams

Syntax

int pr_streams

Remarks

The pr_streams variable holds details of the current output device. This variable gets set appropriately by the dvc_open() and dvc_choose() functions. While printing you can test this variable to see which combination of the printer, screen and file outputs is in use. For example, pr_streams & PRINTER is non-zero when the printer is in use.