The accept and reject commands enable you to turn on or turn off a print queue that stores requests to be printed.
When you use the reject command, the print queue for a specified printer is turned off. No new print requests can enter the queue on the print server. However, all print requests that are in the queue are still printed. You must disable the printer if you want it to stop printing requests that are already in the queue. The following table compares the functions of the accept, reject, enable, and disable commands.
Table 5–7 Functions of accept, reject, enable, and disable Print Commands
Command |
Function |
---|---|
accept |
Accepts print requests that are sent to the print queue. |
disable |
Stops printing requests that are currently in the print queue. |
enable |
Prints the requests that are in the print queue. |
reject |
Rejects print requests that are sent to the print queue. |
If a print request is rejected, the LP print service writes or mails a message to the user who submitted the request. the message states that print requests are not being accepted for the specified printer.
You can also specify a reason for not accepting requests through the command line. The reason is displayed on a user's system when a user tries to check the printer's queue. The following figure shows the point at which the processing of print requests is interrupted when a print queue rejects print requests.