ADDIPPORT — Create a TCP/IP printing port on the local machine.

Syntax:
ADDIPPORT address ​/P:port ​/Q:queue

addressmost often a static IP, but you may use a hostname instead
/P:portthe name for the new printing port
/Q:queuethe queue name for an LPR port

The address parameter is required.

The new port will be created on the local machine. The new IP port will be a raw TCP port unless /Q:queue is specified, in which case an LPR port will be created. If you don’t supply a port name, the plugin will generate a default name.

If you need to specify a TCP port number, append it to the IP address with a colon, e.g. /A:192.168.10.24:9101.

addipport 192.168.0.16


Note: This command has been superceded by the @ADDIPPORT function, which does the same job but also returns the name of the newly created port. It may be removed in a future version of this plugin.