@PTRSHARE
— Returns
the share name through which the specified printer is accessed.
Syntax:
%@PTRSHARE[
printername]
printername: if omitted, the user’s default printer
The function returns N/A
if the specified printer is
controlled locally, or ???
on any error.
echo %@ptrshare["\\JEEVES\Ricoh Copier in Room 105"]