@PTROFFLINE
— Returns 1
if Windows thinks that the specified printer is offline, 0 otherwise.
Syntax:
%@PTROFFLINE[
printername]
printername: if omitted, the user’s default printer
• Note: The Windows print spooler’s
notion of whether a printer is online or offline is frequently wrong.
See, for instance, KB160129. If @PTROFFLINE
returns a 1, then
the printer probably is offline; but if it returns a 0, that is no guarantee
that the printer is in fact ready to receive data. User beware.