PDA

View Full Version : VB program to plot to pdf


Wayne
08-09-2004, 03:15 PM
I am trying to write a program in Visual Basic that will create a pdf
of all dwg files in a folder. The API call "PlotToFile" works just
fine if I create a dwf file, but does not work with pdf. It creates
the pdf file, but it will not open in Adobe. I have tried two
different shareware pdf writer software packages, cutePDF and deskPDF,
and neither one work. Is what I am doing possible or am I doing
something wrong. As a side note, I can manually create the pdf files
with same pdf plotter I configured with the plotter manager.

Any help would be greatly appreciated.

Thanks in advance!

Wayne Matus

Mr. B
08-09-2004, 06:58 PM
With Deft Fingers, Wayne <wlmatus@swbell.net> wrote:
I am trying to write a program in Visual Basic that will create a pdfof all dwg files in a folder. The API call "PlotToFile" works justfine if I create a dwf file, but does not work with pdf. It createsthe pdf file, but it will not open in Adobe. I have tried two

What I did was write a VB.net script writting application... you can plot all
selected DWG files to any comany printer, OCE Reprodesk... and PDF. I used
PDF995. So as far as the script file is concerned... just another printer.

And I have it so it re-opens any SCR file to modify all the many various
settings... I even went overboard and added in a feature to create up to 15
Layouts per selected file... modify their names and delete them.. but I
digress...

Simple and straight forward. Nothing fancy needed or necessary... So forget
the API calls, etc and just write a plain jane vanilla flavour SCR file
(text).

Regards,

Bruce


MyLounge.com Site Map
Forum: Cars, Cell Phone, Database, Games, Home Improvement, IT, Music, School, Sports, Web Design, Web Server, Weight Loss

The MyLounge.com forum is intended for informational use only and should not be relied upon and is not a substitute for any advice. The information contained on MyLounge.com are opinions and suggestions of members and is not a representation of the opinions of MyLounge.com. MyLounge.com does not warrant or vouch for the accuracy, completeness or usefulness of any postings or the qualifications of any person responding. Please consult a expert or seek the services of an attorney in your area for more accuracy on your specific situation. Please note that our forums also serve as mirrors to Usenet newsgroups. Many posts you see on our forums are made by newsgroup users who may not be members of MyLounge.com Term of Service