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 12, 2017 10:31 am

correct output
correct.png


print output
error.jpg


pdf file
sample1.zip


version: Spire.PDF 3.9.511

code below.
Code: Select all
var doc = new Spire.Pdf.PdfDocument();
doc.LoadFromFile(path);

doc.PrintSettings.PrinterName = this.PrinterName;
doc.Print();


what steps i miss ?

tompipen
 
Posts: 1
Joined: Tue Dec 12, 2017 9:06 am

Wed Dec 13, 2017 3:10 am

Hello,

Thanks for your inquiry.
Your code is correct. The issue might be caused by the internal parsing.
Never mind, I have logged the issue in our bug tracking system. Once there's any update on this, I will notify you.
Sorry for the inconvenience caused.

Sincerely,
Jane
E-iceblue support team
User avatar

Jane.Bai
 
Posts: 1156
Joined: Tue Nov 29, 2016 1:47 am

Mon Dec 25, 2017 6:06 am

Hello tompipen,

Glad to inform the issue has been resolved and the hotfix(Spire.PDF-Asian 3.9.550) is available now.
Kindly note this is the Asian version and below are the items you need to know.
1. Your application needs to be the platform x86 while compiling.
2. Please put the Spire.FontType.dll in debug folder.

Sincerely,
Jane
E-iceblue support team
User avatar

Jane.Bai
 
Posts: 1156
Joined: Tue Nov 29, 2016 1:47 am

Return to Spire.PDF