Message 1 of 10
Automated print from VBA using a saved page setup

Not applicable
05-08-2008
04:58 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all..
i have a small program in VBA where i run some procedures .
The program reads in the files i select and then work from that.
I want to add an automatic plot to PDF function, but i'm struggling a bit to get the syntaxes right. I have tried it with some send commands and it works but i'd want to do it properly using VBA.
Anyways, this is roughly what i'd want to do:
(my program already opens every drawing automatic in sequence)
-( drawing is opened)
-copy page setup from one file i have saved/manually enter the plot styles. ( i want to use the DWGToPDF.pc3 config)
-print file
Anyone have any code/ideas for this? any help would be appreciated...
-(close drawing) and then loop
i have a small program in VBA where i run some procedures .
The program reads in the files i select and then work from that.
I want to add an automatic plot to PDF function, but i'm struggling a bit to get the syntaxes right. I have tried it with some send commands and it works but i'd want to do it properly using VBA.
Anyways, this is roughly what i'd want to do:
(my program already opens every drawing automatic in sequence)
-( drawing is opened)
-copy page setup from one file i have saved/manually enter the plot styles. ( i want to use the DWGToPDF.pc3 config)
-print file
Anyone have any code/ideas for this? any help would be appreciated...
-(close drawing) and then loop