Large PDF export is blank
Moderators: SDS, support, admin
Large PDF export is blank
Hello,
I have a trouble.
I want to convert from HPGL2 to PDF.
However, it fails if the CAD-image is large.
(Returned a blank pdf)
In particular, size of 4756 * 841mm(size:4A0) CAD-Image is success.
size of 5945 * 841mm(size:5A0) CAD-Image is fails.
It reproduce in the demo program,
I will probably success, If I can change the Export PDF version(1.5 or higher).
But I do not know how to configure it.
Please help me.
Using product is CAD Import .NET 9
Mita,
I have a trouble.
I want to convert from HPGL2 to PDF.
However, it fails if the CAD-image is large.
(Returned a blank pdf)
Code: Select all
CADToPDF pdf = new CADToPDF(cadImage);
pdf.Settings.PageWidth = cadImage.AbsWidth;
pdf.Settings.PageHeight = cadImage.AbsHeight;
pdf.Settings.IsShowLineWeight = true;
pdf.Settings.LineWeightScale = 0.05;
pdf.SaveToFile(filename);
size of 5945 * 841mm(size:5A0) CAD-Image is fails.
It reproduce in the demo program,
I will probably success, If I can change the Export PDF version(1.5 or higher).
But I do not know how to configure it.
Please help me.
Using product is CAD Import .NET 9
Mita,
Re: Large PDF export is blank
Hello Mita,
Could you send the HPGL file you have a problem with to the Technical Support E-mail, for testing?
Mikhail
Could you send the HPGL file you have a problem with to the Technical Support E-mail, for testing?
Mikhail
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support
Re: Large PDF export is blank
Hello Mita,
The library generates PDF 1.4 format files. PDF 1.4 version has a maximum page size that's enforced by Adobe Acrobat. If you open a large document in Adobe Acrobat, it will show a blank document and not report any error.
According to the PDF Reference documentation:
Mikhail
The library generates PDF 1.4 format files. PDF 1.4 version has a maximum page size that's enforced by Adobe Acrobat. If you open a large document in Adobe Acrobat, it will show a blank document and not report any error.
According to the PDF Reference documentation:
Therefore, since it's a PDF 1.4 format restriction, there's nothing we can do except warning the users that the large documents can't be read with Adobe Acrobat (though it may be read correctly with some other PDF viewers).In PDF versions earlier than PDF 1.6, the size of the default user space unit is fixed at 172 inch. In Acrobat viewers earlier than version 4.0, the minimum allowed page size is 72 by 72 units in default user space (1 by 1 inch); the maximum is 3240 by 3240 units (45 by 45 inches). In Acrobat versions 5.0 and later, the minimum allowed page size is 3 by 3 units (approximately 0.04 by 0.04 inch); the maximum is 14,400 by 14,400 units (200 by 200 inches).
Mikhail
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support
Re: Large PDF export is blank
Hi Mikhail
Thank you for information.
I was changed to 1.6 a large blank PDF from 1.4 using the iTextSharp.
However, it was left blank page.
This problem is, I avoided by reducing the page size.
But, I hope that the PDF version settings and other PDF description, etc. will be able to set by CadImport Library.
Thank you.
Mita
Thank you for information.
I was changed to 1.6 a large blank PDF from 1.4 using the iTextSharp.
However, it was left blank page.
This problem is, I avoided by reducing the page size.
But, I hope that the PDF version settings and other PDF description, etc. will be able to set by CadImport Library.
Thank you.
Mita
Re: Large PDF export is blank
Hello Mita,
Have you tried to open a large PDF document with other viewers (Foxit Reader, for instance)? According to the PDF Reference, the page size limitation concerns only Acrobat Reader.
Mikhail
Have you tried to open a large PDF document with other viewers (Foxit Reader, for instance)? According to the PDF Reference, the page size limitation concerns only Acrobat Reader.
Mikhail
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support
Re: Large PDF export is blank
Hi Mikhail,
As far as I have confirmed in FoxIt and PDF-XChange, it was displayed both!
However, customers cannot be used other than the Adobe Acrobat Reader.
Thank you for information.
Mita
As far as I have confirmed in FoxIt and PDF-XChange, it was displayed both!
However, customers cannot be used other than the Adobe Acrobat Reader.
Thank you for information.
Mita