Hi @Manne Job ,
You need to write a VirtualPrinter class which inherits from System.Drawing.Printing.PrintDocument
and override the PrintPage
method to handle the printing logic, then use the VirtualPrinter class to print.
Include it in your setup project.
Best Regards.
Jiachen Li
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.