/*
- * "$Id: ipp.c,v 1.127.2.4 2002/01/02 18:05:02 mike Exp $"
+ * "$Id: ipp.c,v 1.127.2.5 2002/01/09 17:04:15 mike Exp $"
*
* IPP routines for the Common UNIX Printing System (CUPS) scheduler.
*
* See if we need to add the starting sheet...
*/
- kbytes = copy_banner(con, job, attr->values[0].string.text);
+ if (!(printer->type & CUPS_PRINTER_REMOTE))
+ {
+ kbytes = copy_banner(con, job, attr->values[0].string.text);
- UpdateQuota(printer, job->username, 0, kbytes);
+ UpdateQuota(printer, job->username, 0, kbytes);
+ }
}
else if ((attr = ippFindAttribute(job->attrs, "job-sheets", IPP_TAG_ZERO)) != NULL)
job->sheets = attr;
* Add the starting sheet...
*/
- kbytes = copy_banner(con, job, attr->values[0].string.text);
+ if (!(printer->type & CUPS_PRINTER_REMOTE))
+ {
+ kbytes = copy_banner(con, job, attr->values[0].string.text);
- UpdateQuota(printer, job->username, 0, kbytes);
+ UpdateQuota(printer, job->username, 0, kbytes);
+ }
}
else if ((attr = ippFindAttribute(job->attrs, "job-sheets", IPP_TAG_ZERO)) != NULL)
job->sheets = attr;
/*
- * End of "$Id: ipp.c,v 1.127.2.4 2002/01/02 18:05:02 mike Exp $".
+ * End of "$Id: ipp.c,v 1.127.2.5 2002/01/09 17:04:15 mike Exp $".
*/