I would like to print several PDF files from java (using the java print service) in one print job.
I would like to send several PDF files as a single job to the printer. This means that all the documents in my "batch" print together and do not alternate with someone else when I pick them up from the printer.
The package potentially consists of 1000 print jobs.
I tried jpedal but it does not support java.awt.print.Book
Book book = new Book();
PdfDecoder pdfDecoder = readFileApplyOptions("C:/Temp/singlepagetest.pdf", pageFormat);
book.append(pdfDecoder, pageFormat);
PdfDecoder pdfDecoderTwo = readFileApplyOptions("C:/Temp/printfax-test.pdf",pageFormat);
book.append(pdfDecoderTwo, pageFormat);
printJob.setPageable(book);
printJob.print();
Only the first PDF file is output. How to print multiple PDF files in one job?
readFileAndApplyOptions () basically creates a new PdfDecoder object and returns it.
Sun PDFRenderer PDFRenderer ( Book), - .
- ? , ?