We help IT Professionals succeed at work.

Run-time error when printing PDFs from Adobe Acrobat X

The first time that I attempt to print to a PDF using Adobe Acrobat Standard X in Hydraflow Hydrographs 2009 (part of the AutoDesk Civil 3D suite), I get the attached error "Run-time error '5': Invalid procedure call or argument" and then they program crashes, but the PDF is created.  The issue doesn't appear to happen again until I restart my Windows 7 x64 workstation & try it again.  After the first crash, it doesn't seem to reoccur.

This also doesn't seem to occur whenever I print to another print device, or to PDF995.  I've ran all Adobe Acrobat updates & have applied all the appropriate Autodesk patches, but still no luck. Error
Comment
Watch Question

you can try and change the settings for the Adobe PDF Printer to change the format of the file to an older version to see if it solves the problem:
*Click on Start and select Devises and Printers
*Right click on the Adobe PDF printer and select printing preferences
*under the Adobe PDF settings tab click the edit button next to the default settings drop down
*Change the listed compatibility to one version older
*save the changes and retry the PDF print

ultimately what you need to keep in mind is that while the program functions within Windows 7, AutoCAD Civil 3D 2009 is not listed as being compatible so you may continue to experience problems with the software.

Author

Commented:
Hi Silverkorn,

Thanks for the suggestion, but unfortunately, it didn't work.

Thanks for the reminder...I'm well aware.  Fortunately, we haven't had any major issues so far.  Since we haven't yet made the jump to Civil 3D & 2009 is the last version that contains Land Desktop Companion, we didn't want to jump from our 5-7 year old XP boxes to Vista & saw no other alternative.  From doing a lot of preliminary searching, it appears that a lot of folks are running 2009 on Windows 7 with success, but I won't be terribly surprised if we run into some hiccups here & there...I'd just like to tweak & fix what we can. =)

I guess another possible option would be to load C3D 2011 & run LDC 2009.  Maybe 2011 has a newer version of Hydraflow Hydragraphs that would function better?

Again, this isn't a make it or break it issue.  Users could simply be reminded to save their work before printing a PDF.  Heck, I try to make it a habit to save before I print anyway.
I do not believe any changes were ever made to Hydraflow from 2009 through 2011 as Autodesk has since been moving into using the Storm Sewer Analysis program for stormwater design. I think you are on the right track with determining that Adobe Acrobat Standard X is the cause of the problem, I currently have Adobe Acrobat Standard 9 and have not had problems printing to PDFs from Hydraflow 2007 (standalone).

Another solution if you have an older version of Adobe Acrobat Standard is to install the software on a server or workstation and then share that printer for everyone to use within Hydraflow, or you can install PDF995 on all the workstations

Author

Commented:
@silverkorn,

Good to know about the lack of changes between versions...thanks.  That saves me testing time. =)  I loaded PDF995 for the user & it appears to work just fine.  Thanks again for your help.