I am trying to figure out if it is possible to print multiple documents (batch printing) in the web browser without using the default browser print prompt.
I don't know if this is possible since I also want to display a queue of print jobs within my application and I know this sort of thing would normally be done client side.
Any insights would be very much appreciated!
Hi Kurthis,
Thanks for the response. As an example of our use case, we would want the user to be able to select many files that we have stored on our server (Byte[] format) and give the user the ability to then send them to a local or network printer. On our website we would like to also display some sort of visual print queue so the user can see all the current print jobs for their printer.
With the current print functionality it would be much to slow for our users to be opening each document in order to print them. We expect users to want to print 10's if not 100's of documents at a time and it would be ideal if we could grab the documents they want from our server (database) and somehow send them to a local or network printer of theirs and display the print jobs progress.
I don't know if this would be possible for a web application, but since we're using Blazor Server I hoped there may be a way.
Thanks in advance.
Hi Kurthis,
We are looking at allowing the user to select multiple documents from our database in docX and PDF format and send them to a printers print queue. We would like to somehow display the print queue to the user so they can watch the progress. Currently we have implemented single document printing with both the document editor and the PDF viewer but this only works for a single document at a time like you said.
So far I am thinking we should use the Syncfusion tooling to convert all the documents to PDF format and merge them into a single document that can then be sent to a printer. The only issue with this is that all the documents would technically then just count as a single print job and we are looking to keep track of a print job per document.
I don't know if it would be possible to display a printers queue to the user in the browser and we may need to create a local windows app for this level of printing functionality but any insights would be much apreciated, thanks.
|
Hi Matthew,
Regarding: PDF Viewer
Sorry for the inconvenience. In our PDF Viewer control, we do not have the support to print multiple PDF documents at a time. We can only print the single document at a time using the print icon in the default toolbar or programmatically using the below code snippet. Code Snippet:
Documentation: https://blazor.syncfusion.com/documentation/pdfviewer/print/ |
|
<SfButton IconCss="e-de-icon-Print" CssClass="title-bar-btn" @onclick="Print">Print</SfButton>
@code{
} |