Print from an asp.net core API

Hello

For a blazor application that uses an asp.net core API we would like to allow users to print files in the backend.

Are there any possibilities to for example

  • pass a filepath (only reachable for the backend) via the API
  • print that file (silent) on a printer that is installed on the API server without any other user interaction.

Thank you



1 Reply

CK Chinnamunia Karthik Chinna Thambi Syncfusion Team June 24, 2024 01:35 PM UTC

Hi Bart,

We don't have support for printing PDF documents in the ASP.NET Core API. However, you can print the PDF document using a Windows service. We have provided the documentation link below for your reference.

 

https://support.syncfusion.com/kb/article/4482/how-to-silent-print-a-pdf-document-to-a-specified-printer

 

Kindly try this and let us know, if you have any concerns.


Loader.
Up arrow icon