00001 /* 00002 ** mouse:~ppr/src/include/respond.h 00003 ** Copyright 1995--2000, Trinity College Computing Center. 00004 ** Written by David Chappell. 00005 ** 00006 ** Permission to use, copy, modify, and distribute this software and its 00007 ** documentation for any purpose and without fee is hereby granted, provided 00008 ** that the above copyright notice appear in all copies and that both that 00009 ** copyright notice and this permission notice appear in supporting 00010 ** documentation. This software is provided "as is" without express or 00011 ** implied warranty. 00012 ** 00013 ** Last modified 6 December 2000. 00014 */ 00015 00016 /* 00017 ** Types of responses to send to the user: 00018 */ 00019 #define RESP_FINISHED 0 /* job printed normally */ 00020 #define RESP_ARRESTED 1 /* job placed on hold due to error */ 00021 #define RESP_CANCELED 2 /* canceled while not printing */ 00022 #define RESP_CANCELED_PRINTING 3 /* canceled while printing */ 00023 #define RESP_CANCELED_BADDEST 4 /* canceled because bad destination */ 00024 #define RESP_CANCELED_REJECTING 5 /* destination is in reject mode */ 00025 #define RESP_CANCELED_NOCHARGEACCT 6 /* user no charge account */ 00026 #define RESP_CANCELED_BADAUTH 7 /* incorrect authcode */ 00027 #define RESP_CANCELED_OVERDRAWN 8 /* overdraft too large */ 00028 #define RESP_STRANDED_PRINTER_INCAPABLE 9 /* exceeds printer capabilities */ 00029 #define RESP_STRANDED_GROUP_INCAPABLE 10 /* exceeds capabilities of each member */ 00030 #define RESP_CANCELED_NONCONFORMING 11 /* DSC not good enough */ 00031 #define RESP_NOFILTER 12 /* suitable filter not available */ 00032 #define RESP_FATAL 13 /* Unspecified fatal ppr error */ 00033 #define RESP_NOSPOOLER 14 /* PPRD not running */ 00034 #define RESP_BADMEDIA 16 /* unrecognized media */ 00035 #define RESP_BADPJLLANG 17 /* PJL header specifies unknown language */ 00036 #define RESP_FATAL_SYNTAX 18 /* ppr command invoked with bad syntax */ 00037 #define RESP_CANCELED_NOPAGES 19 /* can't honour page list */ 00038 #define RESP_CANCELED_ACL 20 /* ACL forbids queue access */ 00039 00040 /* end of file */