@PTRLOC
— Returns the
location string for the specified printer.
Syntax:
%@PTRLOC[
printername]
printername: if omitted, the user’s default printer
The function will return N/A
if the specified printer has
no location specified, or ???
on any error.
echo %@ptrloc["LaserJet in Office"]