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 Aug 17, 2014 3:06 pm

When printing an existing PDF file with Euro sign € in it it will put it over the first number.
Also tried it with Actualsize and fitsize without any result.
How to solve this?

I added an example with the Original text and after printing in it as example what happens.

C# code
PdfDocument doc = new PdfDocument();
doc.LoadFromFile(filename);
doc.PrintDocument.PrinterSettings.PrinterName = printerName;
doc.PrintDocument.DefaultPageSettings.Landscape = true;
doc.PrintDocument.DefaultPageSettings.PaperSize = ps;
foreach (PaperSource _pSource in doc.PrintDocument.PrinterSettings.PaperSources)
{
if (_pSource.SourceName.ToUpper() == Lade.ToUpper())
{
doc.PrintDocument.DefaultPageSettings.PaperSource = _pSource;
break;
}
}
doc.PageScaling = PdfPrintPageScaling.FitSize;
doc.PrintDocument.Print();

jd653687
 
Posts: 4
Joined: Sun Aug 17, 2014 2:16 pm

Sun Aug 17, 2014 6:00 pm

The print preview show the same problem.

jd653687
 
Posts: 4
Joined: Sun Aug 17, 2014 2:16 pm

Mon Aug 18, 2014 2:42 am

Hello,

Sorry for late reply as weekend.
Thanks for your feedback. And we have tested it with the newest hotfix(Spire.PDF Pack(Hot Fix) Version:3.1.24), there is no any issues you mentioned, please attach your document and full codes here or send it to our Email(Support@e-iceblue.com) for our testing, which may help us reproduce your issue quickly. We promise to keep your document confidential and we will not use it for any other purpose.
Sincerely,
Gary
E-iceblue support team
User avatar

Gary.zhang
 
Posts: 1380
Joined: Thu Apr 04, 2013 1:30 am

Fri Jan 08, 2021 8:36 am

Hello,

Sorry for the long silence.
We release Spire.PDF Pack Version:7.1. I have verified your file sent by email worked well using the following code.
Code: Select all
PdfDocument doc = new PdfDocument();
doc.LoadFromFile(@"..\..\2005-280.pdf");
doc.PrintSettings.SelectSinglePageLayout(PdfSinglePageScalingMode.FitSize, true);
doc.Print();

Welcome to download and test Version:7.1
Website link: https://www.e-iceblue.com/Download/down ... t-now.html
Nuget link: https://www.nuget.org/packages/Spire.PDF/7.1.0

Sincerely,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 2766
Joined: Wed Jun 27, 2012 8:50 am

Return to Spire.PDF