Print to PDF - VB Macro

Raghu P

Print to PDF - VB Macro

Is it possible to print a drawing to PDF using VB Macro in 2019x?

I'm able to print each sheet of a drawing to a separate file, but i'd like to print all the sheets into one single pdf.

 

Kulanthaivelu Deivaraj

RE: Print to PDF - VB Macro
(in response to Raghu P)

Hi Raghu,

Even I'm also looking for support on PDF Export. Could you please help me so that I can get some knowledge from you on this.

If you are using 3DExperience then kindly share your code if you don't mind.

I'm trying to create a pdf file from drawing sheet using Export PDF option not from Print

I have fair idea on how to print a pdf file from drawing sheet. But concern is, it doesn't creating quality pdf output file through print so I'm looking for pdf Export option which is available in 3DExperience.

 

In Catia V5, Document object has Export PDF option but it doesn't work on 3DExperience.

Nathan Shipley

RE: Print to PDF - VB Macro
(in response to Raghu P)

In the Preferences, under General, Compatibility, Graphics Formats tab.  Select PDF from the Export (Save As) section, then select the Parameters button.  This will open a dialog box.  Select All Sheets and turn on the Save multisheet document in a single file.  That will allow you to save/export a single pdf containing all sheets.  Obviously, you can then print that as well.  

Nathan Shipley

Assistant Director, CAD/CAM Laboratory

National Institute for Aviation Research

Wichita State University

Phone: 316-978-7260 or (800) 642-7978

Fax: 316-978-3416

E-Mail: [login to unmask email]

Website: www.cadcamlab.org

Nathan Shipley

RE: Print to PDF - VB Macro
(in response to Nathan Shipley)

Once you've adjusted the setting I mentioned above, then you can just do a regular Export and switch the Format type to be pdf and specify where you want the file to be exported do.  This should give you a complete pdf of your drawing, with all sheets.

Nathan Shipley

Assistant Director, CAD/CAM Laboratory

National Institute for Aviation Research

Wichita State University

Phone: 316-978-7260 or (800) 642-7978

Fax: 316-978-3416

E-Mail: [login to unmask email]

Website: www.cadcamlab.org