search for: ipperrorstr

Displaying 2 results from an estimated 2 matches for "ipperrorstr".

2002 Sep 03
1
Spool files not deleted when "printing = cups"
...---------------------------- *** source/printing/print_cups.c.dist Fri May 3 02:03:31 2002 --- source/printing/print_cups.c Tue Sep 3 11:59:56 2002 *************** *** 662,669 **** --- 662,671 ---- DEBUG(0,("Unable to print file to `%s' - %s\n", PRINTERNAME(snum), ippErrorString(cupsLastError()))); httpClose(http); + if (unlink (pjob->filename) != 0) + DEBUG(0,("Unable to unlink CUPS spool file %s\n", pjob->filename)); return (ret); }
2002 Sep 18
1
unlink data file in cups_job_submit
...file for us after the file is spooled. With cups, we send it over ipp, and I think we should then unlink the data file ourselves. Does this seem right? --- print_cups.c~ Thu May 2 18:03:31 2002 +++ print_cups.c Wed Sep 18 13:17:08 2002 @@ -663,6 +663,9 @@ ippErrorString(cupsLastError()))); httpClose(http); + if (ret == 0) + unlink(pjob->filename); + /* else print_job_end will do it for us */ return (ret); -- Paul