The result of this function is the creation of a new print device definition.
The printer is set up to print on the logical address (port) defined by in PRDINFO3. If is NULL, the print device definition is created but is not connected to any logical address. In this case no printing can occur on that print device or from any print queue connected only to that print device. If a logical address is specified, it must already be defined in the PM_SPOOLER_PORTS section of the initialization file.
Note: To change the connection between a print device and a port, use SplSetDevice.
All device drivers and queues specified with the print device must already be defined to the spooler.
To add a remote print device requires administrator privilege.