Skip to content
Discussion options

You must be logged in to vote

I can't speak for what Pro includes. Ask Avalonia sales directly before you buy. I can tell you where open-source Avalonia stands, though, because it shapes your options either way.

Printing: Avalonia has no printing API, and nothing to list printers or print silently. Most people call the OS directly:

  • Linux / macOS: CUPS handles PDF natively. lpstat -e lists printers and lp -d <printer> file.pdf prints with no dialog. Run them with Process.Start, or P/Invoke libcups if you want it cleaner.
  • Windows: PrinterSettings.InstalledPrinters gives you the list. For silent PDF printing, render pages with PDFium (for example PDFtoImage or a PDFium wrapper) and send them through PrintDocument, or sh…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by Sabbmasterinio
Comment options

You must be logged in to vote
2 replies
@Bobsoftru
Comment options

@maxkatz6
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants