pdf to PostScript conversion

I am looking for a way to take a pdf file and convert it to postscript in a non user interactive way within VB6.  The program that will use this will be written as a service, so I can not have any user interaction.  I also need to be able to control the output file location and file name.

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

arosemaAuthor Commented:
Unfortunately none of the links really answers the question of converting a pdf file to postscript.  All the links describe using the printer object in vb, this is fine if I were writing a text based report, but I do not see a way to send a pdf file to a postscript output device.

Maybe I should be looking for the API for Adobe Reader, or the API for the print driver to have this work successfully.
You might take a look at Redmon it's a port redirector and might work:

Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

arosemaAuthor Commented:
Unfortunately this solution is going to prompt for a filename.  However, I can not guarantee that a session will be open on the machine when the program is running as a service.  Therefore I can not trap the popup screen and enter the information myself.

When the known issues for a solution has unfriendly user interface in it I also try to stay away from it.  In this case, they really meant unfreindly though.
If you follow the GhostScript examples the Redmon it will allow you to create a file with a generic name that could then be renamed for later use or Distilled after renaming which is what I do. Adobe Distiller will also allow you to "watch" a folder for newly created files and Distill on the fly.

arosemaAuthor Commented:
Due to the time lag on this last posted comment, I had to switch to a different solution to get done with my project in the timeframe required.

While the final comments may have worked, I ran out of time to test them.  I will need to find out what to do with this question.
How did you end up solving your problem?

Lag time?
arosemaAuthor Commented:
I needed PDF to PS conversion to be able to selectively duplex pages within a print job.  Instead of doing this in a selective fashion I opted to add blank pages and duplex the entirety of the job.  

The reason I was looking to do this selectively in the first place is we pay per click on the printer.  Now I am going to be paying a click charge for the blank pages, not the best solution, but it will work.

As for the lag time, it was a simple matter of timing for me.  On the 16th I had to make a choice of which way to code this solution.  When your last comment arrived on the 18th, it was already too late.  I had to cut over to my backup plan and just run with it.
Closed, 500 points refunded.

Community Support Moderator
Experts Exchange

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Fonts Typography

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.