Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.

Tue Dec 13, 2022 10:24 am

I have a file and print this with spire to different printers.
Some (many) text is missing.

HINT: Only in Version 8.11.10 (after Downgrade to 8.11.2) it works.

Code: Select all
   Public Function DruckPDF(datei As String, drucker As Printing.PrinterSettings, druckerSeite As Printing.PageSettings, größe As SizeF) As Boolean
            Dim pdoc As New Spire.Pdf.PdfDocument
            Try

                pdoc.PrintSettings.PrintController = New Printing.StandardPrintController()

                pdoc.LoadFromFile(datei)
                pdoc.PageSettings.Size = größe
                pdoc.PrintSettings.SetPaperMargins(0, 0, 0, 0)

                If Settings.DruckSkalierung Then
                    pdoc.PrintSettings.SelectSinglePageLayout(Spire.Pdf.Print.PdfSinglePageScalingMode.FitSize, True)
                Else
                    pdoc.PrintSettings.SelectSinglePageLayout(Spire.Pdf.Print.PdfSinglePageScalingMode.ActualSize, True)
                End If

                pdoc.PrintSettings.PrinterName = drucker.PrinterName
                pdoc.PrintSettings.Duplex = drucker.Duplex
                pdoc.PrintSettings.Color = druckerSeite.Color

                pdoc.Print()
                Return True
            Catch ex As Exception
                MsgBox($"Fehler {ex.Message} beim Ausdruck")
                pdoc.Close()
            End Try
            pdoc.Close()
            Return False
        End Function

UweGabbert
 
Posts: 10
Joined: Mon Mar 05, 2018 9:25 am

Wed Dec 14, 2022 7:53 am

Hi,

Thanks for your inquiry.
I have tested your Original.pdf file with different kinds of virtual printers (MS Print to PDF, Adobe PDF, MS XPS Document writer), using Spire.PDF 8.11.10 and 8.11.2, but all result pdf files look well, I can’t reproduce the issue you mentioned. To help us work out a solution for you, could you please provide us with following information? You can send to us via email ([email protected]) or attach them here. Thanks for your assistance in advance.
1) Your full project that can reproduce the issue.
2) Your application type, such as Console App, .NET Framework 4.8.
3) Your test environment, such as OS info (E.g., Windows 7, 64-bit) and region setting (E.g., China, Chinese).

Sincerely,
Triste
E-iceblue support team
User avatar

Triste.Dai
 
Posts: 1000
Joined: Tue Nov 15, 2022 3:59 am

Wed Dec 14, 2022 10:27 am

I use a windows Forms App with .NET 4.8

This app runs on Windows 10 / 11 on many devices. All device use a supportet Build (21H1 or newer). The region is Germany.

I use the submitted function to print many files. The Size of each page is DIN A4. The Printersettings and Pagesettings is from Windows Forms Print Dialog.

The Issue is for wirtual printer and many hardware printers. The issue is on many different files on many devices.

UweGabbert
 
Posts: 10
Joined: Mon Mar 05, 2018 9:25 am

Thu Dec 15, 2022 10:25 am

UweGabbert wrote:I use a windows Forms App with .NET 4.8

This app runs on Windows 10 / 11 on many devices. All device use a supportet Build (21H1 or newer). The region is Germany.

I use the submitted function to print many files. The Size of each page is DIN A4. The Printersettings and Pagesettings is from Windows Forms Print Dialog.

The Issue is for wirtual printer and many hardware printers. The issue is on many different files on many devices.

Hi,

Thanks for your feedback.
I did reproduce your issue in German environment, I have logged the issue into our bug tracking system with the ticket number SPIREPDF-5680, our development team will investigate and fix it. Sorry for the inconvenience caused. Once there is any good news, we will inform you asap.

Sincerely,
Triste
E-iceblue support team
User avatar

Triste.Dai
 
Posts: 1000
Joined: Tue Nov 15, 2022 3:59 am

Thu Dec 29, 2022 10:05 am

Hi,

Glad to inform you that we just released Spire.PDF (Hotfix) Version:8.12.7, which fixes the issue SPIREPDF-5680. Please download the new version from the following links and have a test.
Website link: https://www.e-iceblue.com/Download/download-pdf-for-net-now.html
Nuget link: https://www.nuget.org/packages/Spire.PDF/8.12.7

Sincerely,
Triste
E-iceblue support team
User avatar

Triste.Dai
 
Posts: 1000
Joined: Tue Nov 15, 2022 3:59 am

Thu Dec 29, 2022 11:33 am

The error is solved. It works correct.

UweGabbert
 
Posts: 10
Joined: Mon Mar 05, 2018 9:25 am

Fri Dec 30, 2022 3:02 am

Hi,

Thanks for your feedback.
Glad to know that your issue was resolved. If you have any other questions, just feel free to contact us.
Have a nice day!

Sincerely,
Triste
E-iceblue support team
User avatar

Triste.Dai
 
Posts: 1000
Joined: Tue Nov 15, 2022 3:59 am

Return to Spire.PDF

cron