Hi,
in my use case I want to print multiple Files in batch.
I use follwing code to print:
$('#printfiles').click(function(ev){
// print pdf files
$('#pdf').children('div').each(function(i, child){
$child = $(child);
printJS({printable:$child.data("path")});
});
});
Because of the async request all the files will be requested at the same time but
only one will be printed.
In my opinion there are three possible solutions:
Hey @mrothenbuecher , yea, the library currently doesn't support printing multiple files. Not sure if this is even something we should do, as the preview screen has to show to the user for each file. Sounds like a quite annoying user experience. I would code something towards merging the files first into a single file, then printing that one file. This would create one print preview only, providing a better user experience.
Hi @crabbly ,
Since this case is still closed, I guess printing of multiple files in a batch is not yet supported?
Most helpful comment
Hey @mrothenbuecher , yea, the library currently doesn't support printing multiple files. Not sure if this is even something we should do, as the preview screen has to show to the user for each file. Sounds like a quite annoying user experience. I would code something towards merging the files first into a single file, then printing that one file. This would create one print preview only, providing a better user experience.