×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Covert to PDF script

Covert to PDF script

Covert to PDF script

(OP)
Hi,

Could anyone help me on a script to convert dwg file to pdf format?  I have about 200+ dwg that I need to convert.  I have acrobat distiller installed already. My problem is that I do not know how to write the script to specify the save command when the file dialog box comes up.  I would greatly appreciate it if anyone can post a sample pdf conversion script.  Thanks a lot!

Chan

RE: Covert to PDF script

(OP)
Hi Lothar,

I'm using AutoCAD 2004.  I understand I need to plot to acrobat distiller.  However, at the end of the process it will prompt you to enter the file name and/or location to save the pdf file.  I'm trying to write a script to automate this but I do not know how to bypass this prompt.  I greatly appreciate it if you have any solution.  Thanks!

-Chan

RE: Covert to PDF script

Does Autocad have a macro recorder like Excel?

TTFN

RE: Covert to PDF script

The filename prompt is in the printer properties.  Or, at least it is in my versio 6 of Adobe.

RE: Covert to PDF script

You want to take a look at PDF995, we use it and it is freeware.

BU

"Whether you think that you can, or that you can't, you are usually right "
.. Henry Ford

RE: Covert to PDF script

Hi layloban,

Did you ever get an answer to your question - I know exactly what you want but have not been able to break the dialog in the script or in the bacth plot. I produce hundreds of drawings and to creat pdfs in one hit would save so much more time.
 

RE: Covert to PDF script

layloban

I agree with borgunit. PDF995 is a great little tool for creating pdf's. In essence, you go through your normal plot procedure and pick PDF995 as your printer although I have'nt tried it in conjunction with a batch utility but it may be worth a try using the one smcadman mentioned.

Get PDF995 at http://www.pdf995.com/

Haggis

RE: Covert to PDF script

(OP)
Hi CadDraftee,

I did figure it out and I know how to change the destination folder now.  I use acrobat distiller to create PDFs.  If you go to the settings>>Printers, go to properties of acrobat distiller, you will find a "Port" tab and from there you can create a new port with a user defined folder.  
To disable the dialog box, open AutoCAD with any drawing.  Go to File->> Plot, Select Acrobat Distiller and go to Properties. Select Custom Properties, and uncheck "View Results  in Acrobat" and "Prompt for the  PDF Filename"

Hope this helps.

-Chan

RE: Covert to PDF script

You can also try AcroPlot at www.cadzation.com  It does batch plotting of DWG files to convert to PDF.  I have been using the JR version for about 2 years...it has been great.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources