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.

Fri Jul 13, 2018 7:10 pm

A memory leak occurs when printing.
Pdf file size is small. (417KB)
Thanks.

1. Dll file list:
Spire.License.dll v1.3.6.40
Spire.Pdf.dll v4.7.4.2040

2. Operation System:

Windows 10 x64
Republic of Korea, Korean

3. callstack
위치: System.Drawing.Graphics.CheckErrorStatus(Int32 status)
위치: System.Drawing.Graphics.DrawImage(Image image, Rectangle destRect, Single srcX, Single srcY, Single srcWidth, Single srcHeight, GraphicsUnit srcUnit, ImageAttributes imageAttrs, DrawImageAbort callback, IntPtr callbackData)
위치: System.Drawing.Graphics.DrawImage(Image image, Rectangle destRect, Single srcX, Single srcY, Single srcWidth, Single srcHeight, GraphicsUnit srcUnit, ImageAttributes imageAttrs)
위치: sprᝅ.ᜁ(spr᳓ A_0, Graphics A_1, sprᦔ A_2)
위치: spr᳓.ᜀ(sprỺ A_0)
위치: spr᳓.ᜆ(Boolean A_0)
위치: spr᳓.ᜥ()
위치: sprោ.ᜀ(PrintPageEventArgs A_0, PdfPageBase A_1, RectangleF A_2)
위치: sprោ.ᜂ(PrintPageEventArgs A_0)
위치: sprោ.ᜀ(Object A_0, PrintPageEventArgs A_1)
위치: System.Drawing.Printing.PrintDocument.OnPrintPage(PrintPageEventArgs e)
위치: System.Drawing.Printing.PrintDocument._OnPrintPage(PrintPageEventArgs e)
위치: System.Drawing.Printing.PrintController.PrintLoop(PrintDocument document)
위치: System.Drawing.Printing.PrintController.Print(PrintDocument document)
위치: System.Drawing.Printing.PrintDocument.Print()
위치: sprោ.ᜅ()
위치: Spire.Pdf.PdfDocument.Print()
위치: Douzone.Wehago.Control.VirtualPrinter.DoNewPrint(String fileName)


4. code
Code: Select all
PdfDocument pdf = new PdfDocument();

pdf.LoadFromFile("sample.pdf");

if (printDialog.ShowDialog() == DialogResult.OK)
{
    pdf.PrintSettings.PrintController = new StandardPrintController();

    pdf.PrintSettings.PrinterName = printDialog.PrinterSettings.PrinterName;

    pdf.PrintSettings.SelectPageRange(printDialog.PrinterSettings.FromPage, printDialog.PrinterSettings.ToPage);

    pdf.Print();
}

jinsoo
 
Posts: 8
Joined: Wed May 30, 2018 10:13 am

Mon Jul 16, 2018 7:32 am

Hi jinsoo,

Thanks for your post.

In order to help us investigate further, please provide the input document, and tell me the number of the start page(printDialog.PrinterSettings.FromPage) and the end page(printDialog.PrinterSettings.ToPage).
Sincerely,
Hogan
E-iceblue support team
User avatar

hogan.tang
 
Posts: 51
Joined: Tue Jul 03, 2018 1:43 am

Tue Jul 17, 2018 8:28 am

Hi hogan.tang

FromPage number is 1 and
ToPage number is 1

thanks

jinsoo
 
Posts: 8
Joined: Wed May 30, 2018 10:13 am

Tue Jul 17, 2018 9:35 am

Dear jinsoo,

Thanks for your reply.
I am unable to reproduce your issue without your input PDF document, could you please upload it here, or send it to us(support@e-iceblue.com) via email ?
Sincerely,
Hogan
E-iceblue support team
User avatar

hogan.tang
 
Posts: 51
Joined: Tue Jul 03, 2018 1:43 am

Wed Jul 18, 2018 5:31 am

Hi hogan.tang

I attached File Upload.

Thanks~

jinsoo
 
Posts: 8
Joined: Wed May 30, 2018 10:13 am

Wed Jul 18, 2018 6:44 am

Hi jinsoo,

Thanks for your feedback.
I have reproduced your issue and logged it in our bug tracking system. We will inform you as soon as there is any update.
Sorry for the inconvenience caused.
Sincerely,
Hogan
E-iceblue support team
User avatar

hogan.tang
 
Posts: 51
Joined: Tue Jul 03, 2018 1:43 am

Wed Oct 10, 2018 1:48 am

Hi hogan.tang

Can you update me with the current status of the case.

It's the same with the latest released version.

I can not use this product because of this problem.

If you can not solve this problem, can I get a refund?

jinsoo
 
Posts: 8
Joined: Wed May 30, 2018 10:13 am

Wed Oct 10, 2018 4:05 am

Hello,

Sorry for the long silence. The issue is so complex that we don't get much progress.
Never mind, I have raised the priority of the case and our dev team would spare no efforts to get it fixed ASAP.
Thanks for your understanding!

Sincerely,
Jane
E-iceblue support team
User avatar

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

Fri Nov 02, 2018 8:21 am

Hello,

Glad to inform that your issue has been resolved in the hotfix Spire.PDF Pack(Hot Fix) Version:4.11.0.

Sincerely,
Jane
E-iceblue support team
User avatar

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

Tue Nov 06, 2018 8:48 am

Hi,

Greetings from e-iceblue!
Have you tried the hotfix?
Your feedback would be greatly appreciated!

Sincerely,
Jane
E-iceblue support team
User avatar

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

Sun Dec 02, 2018 11:58 pm

Hi~

I am sorry for late to answer it.

This problem has been fixed after applying the hotfix!

Thank you.

jinsoo
 
Posts: 8
Joined: Wed May 30, 2018 10:13 am

Mon Dec 03, 2018 2:19 am

Hi,

Thank you for your feedback.
Just feel free to contact us if you need any assistance in the future.

Sincerely,
Jane
E-iceblue support team
User avatar

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

Return to Spire.PDF