P Command - Stop Printer

Use the P command to terminate the ESF session with a printer node, or terminate a virtual printer.
spool
Use the P command to terminate the ESF session with a printer node, or terminate a virtual printer.
This command can be used if you must release the printer for use by other applications. To stop the printer temporarily while retaining the connection with ESF, use the Z command.
This command has the following format:
P,nodename
  • nodename
    Specifies the name of the printer node or the virtual printer.
    The node is scheduled for termination, which means that when all active work has been completed, the node terminates its session with ESF. If the node is a virtual printer and it has a session with another system, a LUSTAT with sense 0831 (shutdown) is sent, and the system waits to receive the unbind command.
Example
This example stops the node DEPTPRT1.
P,DEPTPRT1