Skip to content

An empty blank page is being appended to documents #7

@diegodemedeiros

Description

@diegodemedeiros

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;
        }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions