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.

Sun Oct 27, 2019 6:17 pm

Hi, I am considering to buy commercial version of spire, but to test i wanted to try the free version first and I already have problems.

I am trying to print a pdf document using freespire, but when it prints - it just prints a blank page.
The pdf document is only 1 page long, so it should not be caused by restrictions.
Further - this pdf document can be printed without problems from other programs such as explorer and acrobat.
I can also say that i have another pdf document which spire prints without problems - so I dont understand why this specific pdf file cannot be printed with spire.
Before i buy commercial version i would like to see this work, so can you please help me understand why it is not working?
I am using Freespire.pdf v. 5.10.0 on windows 10, dotnet v. 4.7.2 on a brother printer.

I look forward to your reply - thank you

michaelsvenna
 
Posts: 3
Joined: Sun Oct 27, 2019 6:10 pm

Sun Oct 27, 2019 6:32 pm

Here is my code:

public static void print_A4(Stream pdfstream)
{
Spire.Pdf.PdfDocument pdf = new Spire.Pdf.PdfDocument();
pdf.LoadFromStream(pdfstream);
pdf.PrintSettings.PrinterName = A4Printer;
pdf.PrintSettings.Duplex = System.Drawing.Printing.Duplex.Vertical;
pdf.Print();
}
public static void print_A4(string filepath)
{
Spire.Pdf.PdfDocument pdf = new Spire.Pdf.PdfDocument();
pdf.LoadFromFile(filepath);
pdf.PrintSettings.PrinterName = A4Printer;
pdf.Print();
}

michaelsvenna
 
Posts: 3
Joined: Sun Oct 27, 2019 6:10 pm

Sun Oct 27, 2019 6:43 pm

I can say that i have also tried the commercial trial version on the same PDF file and it has the exact same problem. Only difference is that commercial version is writing in red text that its an evaluation version.

michaelsvenna
 
Posts: 3
Joined: Sun Oct 27, 2019 6:10 pm

Mon Oct 28, 2019 2:09 am

Hi,

Thanks for your inquiry.
To help us investigate your issue accurately, please provide your input PDF. You could update it here or send it to us([email protected]) via email.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Mon Oct 28, 2019 6:14 am

Hi,

Thanks for your information via email.
I have reproduced the issue and logged it in our bug tracking system. We will let you know once there is any update.
Sorry for the inconvenience caused.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Thu Nov 07, 2019 8:38 am

Hi,

Glad to inform you the issue has been fixed in Spire.PDF Pack(Hot Fix) Version:5.11.2.
Our website: https://www.e-iceblue.com/Download/down ... t-now.html
NuGet: https://www.nuget.org/packages/Spire.PDF/

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Return to Spire.PDF