-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple files in one print job not supported #29
Comments
Sorry for silence. I am on vacation пятница, 3 июля 2015 г. пользователь michaelweghorn написал:
Best regards, |
I use a (http://www.cups.org/documentation.php/doc-2.1/api-filter.html)[file backend] for CUPS (only this backend does not require a daemon). Unfortunately, the file backend does not support multiple files in a single job. So I can't do it just now. |
I further examined this. To do so:
The file
If the backend handles this appropriately, it should be possible to extract the single PDF files again. To use it:
This creates the file I think that by doing a more or less similar thing in boomaga, it might also be possible to handle multiple input files there (extract the single files, add them). |
Here is the test backend. I renamed the file to "multipdf.txt" because uploading Python scripts with the correct file suffix ".py" does not seem to be allowed/supported by GitHub. |
You are right. I've long wanted to rewrite the backend to C++, it looks lake a good occasion. |
I wrote new CPP backend. Now command But pay attention that |
Thank you so much for the implementation! I can reproduce the behaviour you described on Debian jessie. The problem with the PDF files seems to be a bug in CUPS. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=793989 My comment in the first mentioned bug (Debian #793989) is also true for the problem with the PDF files you described: "I just rebuilt the CUPS packages The upstream bug for CUPS (last hyperlink) has not yet been resolved. Therefore, this needs to be resolved in CUPS and nothing is to be done on the side of Boomaga. |
Currently, Boomaga does not support sending multiple files in one print job. Only the first file of the print job is taken into account by Boomaga.
Example command for printing multiple files in one print job on the command line:
lp -d Boomaga first.pdf second.pdf
Only "first.pdf" is taken into account by Boomaga (is added to the "Jobs"), not "second.pdf".
It would be great if Boomaga could support sending several files in one print job.
I have tested this with Debian Jessie and a current build of Boomaga's master branch (commit a3e0347).
In the real use case, the files are not sent to the printer on the command line but created by LibreOffice's mail merge (form letter) feature and sent to the printer by LibreOffice as one print job.
The text was updated successfully, but these errors were encountered: