Sorry, I forgot to attach the patch to my previous email.
Here it is.
Best regards,
Michael
On 2015-11-17 10:58, Michael Weghorn wrote:
[...]
The following patch disables that behaviour. After applying the patch,
printing multiple files works.
The patch is only meant to demonstrate this behaviour and should be
extended/improved in case it is meant to be included.
[...]
Index: cups-pdf-2.6.1/src/cups-pdf.c
===================================================================
--- cups-pdf-2.6.1.orig/src/cups-pdf.c
+++ cups-pdf-2.6.1/src/cups-pdf.c
@@ -505,7 +505,7 @@ static int preparespoolfile(FILE *fpsrc,
else if (!strncmp(buffer, "%%EOF", 5)) {
if (!rec_depth) {
log_event(CPDEBUG, "found end of postscript code", buffer);
- break;
+// break;
}
else {
log_event(CPDEBUG, "found end of embedded (e)ps code", buffer);