Question For Printing in avalonia ui for multiple size directly and Sintly

Ali Fahs 0 Reputation points
2025-07-07T12:16:56.12+00:00

Hello Developer. i want to ask how i can print invoice or pdf ... from my avalonia ui app (some as WPF) directly withtout any dialog show from code sintly. i see multiple option some as questpdf but it not have any api for printing it be generate a pdf

Developer technologies | Windows Presentation Foundation
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Castorix31 90,956 Reputation points
    2025-07-23T10:26:38.8166667+00:00

    A way to print silently can be with ID2D1PrintControl

    I don't use Avalonia, but I had done a test with WinUI 3 : WinUI3_Direct2D_Print

    It should be adaptable as it is a classic Desktop app

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.