Problem with Amyuni PDF converter and Autodesk Inventor

The Amyuni PDF Converter is our Printer Driver that enables you to convert any documents to PDF format. If you have any questions about installing and using the Amyuni PDF Converter please post them here.
Post Reply
Igor_Z
Posts: 9
Joined: Wed Aug 11 2004

Problem with Amyuni PDF converter and Autodesk Inventor

Post by Igor_Z »

Situation:
We develop a tool to print/convert Autodesk Inventor drawings automatically. The conversion options include conversion to PDF and TIFF and we use the Amyuni PDF Converter for this.

Problem:
When the Inventor Drawings include shaded views ( = colored image of the model, as opposed to the standard representation where the model is displayed as a wireframe) the PDF documents created with Amyuni converter software contain several image defects. The upload attachment function of this forum doesn't accept my screenshots for whatever reason so i uploaded them to our ftp server:

The first screenshot is from a very simple Inventor drawing sample. The upper half is from a drawing that was converted to PDF via Amyuni driver using the standard settings. The lower half is the same document, but this time printed in grayscale. As you can see, the PDF converter replaces some sections of the image with plain dark gray squares.

Image

The second screenshot displays another weakness of the converted PDFs. Sometimes the converted drawings contain white "gridlines" that don't belong in the drawing, like the three horizontal white lines in this section view:

Image

I guess the amyuni converter splits bitmaps into small sections that are separately converted and then assembled in the resulting PDF, or something similar. obviously this system doesn't work very well in our case as some of these image pieces are corrupted (as in the first screenshot where some squares are simply dark gray). i think the second problem with the "gridlines" is caused by this as well. seems that the individually converted image pieces are not always assembled correctly, the white lines probably are a result of the pieces not correctly aligned?

so the question is: Is there any setting, workaround, trick, whatever to avoid these problems? As it stands now our product can not handle shaded views in inventor because the Amyuni converter sometimes produces results as seen in the 2 screenshots. I posted a similar question about one year ago but there was no solution found, so i try it again now as one of our customers reported this problem to us and we still haven't found a way to solve the problem. Is there some setting that tells the Amyuni driver to use a different conversion mode to avoid this problem? We currently use the Amyuni PDF Converter version 3.01a in our product and tested the newer 3.03 build last week, but the behaviour is still the same. Didn't find any new options to try out so far, so if there were any significant changes we may have missed please tell us.
Igor_Z
Posts: 9
Joined: Wed Aug 11 2004

Re: Problem with Amyuni PDF converter and Autodesk Inventor

Post by Igor_Z »

here's 2 more screenshots we received from said customer:

Image

Image
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Re: Problem with Amyuni PDF converter and Autodesk Inventor

Post by Joan »

Hello,

Did you try postscript simulation when converting the documents to PDF?
Igor_Z
Posts: 9
Joined: Wed Aug 11 2004

Re: Problem with Amyuni PDF converter and Autodesk Inventor

Post by Igor_Z »

yes i tried postcript simulation but that doesn't change the result

here's my code (partially):

Code: Select all


_commonDriverInterface.EnablePrinter(License, Code);
...
_commonDriverInterface.SimPostscript = true;
_commonDriverInterface.SetDefaultConfig();
maybe i called the function in the wrong way? other settings seem to work in this way (enableprinter> change setting> setdefaultconfig) but maybe i have to use the simpostscript differently? it doesn't seem to make any difference at all whether i set this flag true or false or don't set it at all.
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Re: Problem with Amyuni PDF converter and Autodesk Inventor

Post by Joan »

I can't see the images you posted here, can you please send me a sample Office document containing one of these images by email?

Did you open a support request for this issue?
Custom Brand the Amyuni PDF Printer Driver http://www.amyuni.com/en/developer/branding/index.html

Amyuni PDF Converter tested for true PDF performance. View results - http://www.amyuni.com/benchmark
Igor_Z
Posts: 9
Joined: Wed Aug 11 2004

Re: Problem with Amyuni PDF converter and Autodesk Inventor

Post by Igor_Z »

strange... for me the screenshots are still displayed fine. i guess when you wrote that reply our fileserver was down for some hours or whatever.
We contacted your support as well and your David Dube sent some sample code snippets.
We tried pretty much every combination of settings (resolution, compression, various ImageOptions flags etc) but the results are always the same. When an Inventor drawing contains shaded views, the resulting pdf file is basically unusable. In color mode it is still somewhat ok as the lines only appear when you zoom in very close, but when we set the grayscale flag in the Inventor print manager, the generated PDF is completely broken. Other PDF applications seem to handle these drawings fine. When i convert inventor drawings with some ghostscript-based pdf converter program, the resulting pdfs don't have such image defects.

according to the support e-mail, this problem was forwarded to the dev team as "issue #2123".
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Re: Problem with Amyuni PDF converter and Autodesk Inventor

Post by Joan »

The screenshots are desplaying properly now, it must be an issue with your files server last time.

Our deelopers will check your issue and we will get back to you.
Custom Brand the Amyuni PDF Printer Driver http://www.amyuni.com/en/developer/branding/index.html

Amyuni PDF Converter tested for true PDF performance. View results - http://www.amyuni.com/benchmark
Post Reply