-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
For some reason all documents printed using the code below have a blank page appended that is not part of the original document.
try
{
using var document = new PdfDocument(new MemoryStream(fileContent));
var printingService = new PrintingService(document);
await printingService.PrintAsync(printerName);
return true;
}
catch (Exception e)
{
_logger.LogError(e, "Error printing the document using printer '{PrinterName}'", printerName);
return false;
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels