Print service exit codes

The print service interprets a number of exit codes.

The following table describes how the print service interprets exit codes:

Code Description
0 The print job completed successfully.
1 to 127 The print service encountered a problem in printing the job (for example, there were too many nonprintable characters or the job exceeded the printer's capabilities). This problem does not affect future print jobs. The print service should notify the person who submitted the print job, either via write or mail - that an error occurred in printing the job. If a printer fault occurred, it was cleared.
128 Reserved for internal use by the print service. Interface scripts must not exit with this code.
129 The print service encountered a printer fault in printing the job. This problem affects future print jobs. If the fault recovery for the printer directs the print service to wait for the administrator to fix the problem, the print service should disable the printer. If the fault recovery is to continue printing, the print service should not disable the printer, but try printing again in a few minutes.
> 129 Reserved for internal use by the print service. Interface scripts must not exit with codes in this range.