Stopping a Printer

To stop a printer after it finishes printing the current file, enter:
drain rdev
where rdev is the real device number of the printer. You may now set up to print a new group of files or remove the printer from the system.
Sometimes you may need to stop the printer without waiting for the current file to finish printing. For example, the printer may have the wrong print train cartridge for the file, or the file may take too long to print during first shift. If you want to stop a printer immediately and save the file that is interrupted, enter:
drain rdev
flush rdev hold
where rdev is the device number of the printer you want to stop. In response to this command, CP stops printing the active file and puts it back in the print queue in system hold. To print the interrupted file later, release it from system hold. See Releasing Files in the Print Queue from System Hold.
If you want to stop a printer immediately and delete the file that is interrupted, enter:
drain rdev
flush rdev all
where rdev is the device number of the printer you want to stop. In response to this command, CP stops printing the file and deletes it.