@PTRIP
— Returns the IP
address for the specified IP printer.
Syntax:
%@PTRIP[
printername]
printername: if omitted, the user’s default printer
The function will return Not an IP printer
if the specified
printer is not controlled an IP printer, or ???
on any other
error.
echo %@ptrip["LaserJet in Office"]