pr_available

Description

Indicates if printer is available.

Syntax

int pr_available

Remarks

The pr_available variable indicates whether the selected printer is available. It is set by the dvc_choose() and dvc_open() functions. It is initially set to -1, but is set to 0 when the printer is unavailable and spooling is possible.