Jump to content
Sign in to follow this  
storme

How to convert a Project2007 file to PDF

Recommended Posts

storme

G'day All

I've got a little project to convert multiple Project2007 files to PDF so they can be uploaded.

I've got the recursive search funtion to collect all of the file names almost done.

I've got examples of how to use FTP from AutoIT.

What I'm not sure of is the best way to do the converstion.

They use Primopdf as their pdf printer driver.

I could open Project and throw keyboard commands at it to open & print the files to Primo but I thought maybe someone has a cleaner solution.

Any help?

Thanks in advance

John Morrison

Share this post


Link to post
Share on other sites
DaleHohm

You'll find a COM object model for Project on MSDN, but I don't recall seeing anyone dabbling with it here yet.

Dale


Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl

MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model

Automate input type=file (Related)

Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded  Better Better?

IE.au3 issues with Vista - Workarounds

SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead?

Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble

Share this post


Link to post
Share on other sites
herewasplato

... They use Primopdf as their pdf printer driver. ...

You did not mention if they use the free version of the paid version od Primopdf. The paid version allows batch processing of files.

As an alternative to that paid version, you might convince them to use the free open source PDFCreator. It allows batch processing. PDFCreator also has command line features (/PF<filename>) and a COM interface:

Nearly all [possibilities] of the program are available using the COM Interface. The COM Interface includes Public classes, Public properties, Public methods and Public events.

There are no UDTs used so the [compatibility] will not be broken with any upgrading of UDTs.

There are "self-documenting" names used so that no further description is needed.

~hope this helps~

Edited by herewasplato

[size="1"][font="Arial"].[u].[/u][/font][/size]

Share this post


Link to post
Share on other sites
storme

You did not mention if they use the free version of the paid version od Primopdf. The paid version allows batch processing of files.

It's the "free" verison of course....sigh

As an alternative to that paid version, you might convince them to use the free open source PDFCreator. It allows batch processing. PDFCreator also has command line features (/PF<filename>) and a COM interface:

That sounds like a winner to me. It's only going to go on one computer and I think the only reason they are using primo is someone recomended it in the past.

The COM interface is a little overkill for this project but maybe usefull in the future.

~hope this helps~

I'm sure it will! ^_^ THANKS!

John Morrison

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.