Printing: Replace PDFtoPrinter with PdfiumViewer

This commit is contained in:
2024-09-23 18:33:28 +02:00
parent b67857ae22
commit 94a6dd5312
7 changed files with 20 additions and 25 deletions

View File

@ -153,7 +153,7 @@ namespace Elwig.Documents {
public async Task Print(int copies = 1) {
if (PdfPath == null) throw new InvalidOperationException("Pdf file has not been generated yet");
await Pdf.Print(PdfPath, copies);
await Pdf.Print(PdfPath, copies, DoublePaged);
}
public void Show() {