XPRINT$ function  

Purpose

Return the name of the attached host printer.

Syntax

device$ = XPRINT$

Remarks

XPRINT$ returns the name of the attached host printer, which is the printer that would be used by XPRINT statements.  If there is no attached host printer, an empty string is returned. XPRINT$ is typically used to detect if an XPRINT ATTACH operation was successful.

See also

XPRINT ATTACH, XPRINT CLOSE