Applying Page Setup to Multiple files

Applying Page Setup to Multiple files

matt.adkins
Contributor Contributor
2,475 Views
8 Replies
Message 1 of 9

Applying Page Setup to Multiple files

matt.adkins
Contributor
Contributor

Okay, I've spent all day running through searches and googling and hopefully, someone on here knows of a way to do this.

 

Long story a little shorter, I'm attempting to print multiple AutoCad files into multiple PDFs (I'm wanting to use Acrobat for this). Problem is, they're all old drawings that are missing the page setup information (i.e. the printer, paper size, plot area, plot offset, plot scale, plot style). This part is relatively easy; I used the DWGCONVERT command to distribute my new 11x17 "page setup" to multiple DWGs. 

 

My problem is: how do I or can I set that 11x17 "page setup" to 'Current' across all of these files without opening each one? As you can see by the attached image, it brings in the 11x17 but the current page setup is still set to <None>. I thought that it might be a setting in the DWGCONVERT but it doesn't look like it (which is odd considering that you are able to copy a 'page setup' to multiple files to begin with). 

 

If anyone could shed some light on if there's an easy way to "Set Current" (maybe a setting, script, lisp, etc) on all of these files, that would be absolutely fantastic and would be much appreciated. If it were only 5-10 DWGs, I wouldn't care...but it's more like 300-400 DWGs and they all have to look the same (as far as size and plot styles are concerned).

 

0 Likes
2,476 Views
8 Replies
Replies (8)
Message 2 of 9

rkmcswain
Mentor
Mentor

Are you going to do this with ScriptPro or something like that?

If so, you could forget about the page setup and just push the -PLOT command (command line version), and fill in all the blanks, each time.

 

You may even be able to run through them at lightning speed using Core Console.

R.K. McSwain     | CADpanacea | on twitter
0 Likes
Message 3 of 9

maratovich
Advisor
Advisor

Give us an example of your .dwg file.
Acrobat printing cannot make a multi-sheet PDF file right away. Will have to combine later.
Only "DWG to PDF" at publication.
This can be done automatically with this - Revers 

---------------------------------------------------------------------
Software development
Automatic creation layouts and viewport. Batch printing drawings from model.
www.kdmsoft.net
0 Likes
Message 4 of 9

matt.adkins
Contributor
Contributor

I started out trying to use standard batch plotting, my problem was that I couldn't specify "As Saved" and instead had to specify if each sheet was Model Space or Paper Space. Acrobat actually allows me to run it as "As Saved", so I don't have to comb through every DWG. 

 

I wouldn't mind using ScriptPro to do it, just not sure if the CMD is there to change page setup.

0 Likes
Message 5 of 9

matt.adkins
Contributor
Contributor

I've sanitized a similar drawing and attached it. 

 

I'm not exactly sure what you mean by "Acrobat printing cannot make a multi-sheet PDF file right away"; the process that I am attempting allows me to select multiple DWGs and combine them into a single, multi-sheet PDF, as well as I, can select multiple DWGs and process them into separate PDFs. 

0 Likes
Message 6 of 9

maratovich
Advisor
Advisor

If you use Publishing, then this works ONLY through DWG to PDF.
If you use Printing on Acrobat, then printing only one separate PDF, then you need to combine them.

---------------------------------------------------------------------
Software development
Automatic creation layouts and viewport. Batch printing drawings from model.
www.kdmsoft.net
0 Likes
Message 7 of 9

maratovich
Advisor
Advisor

 

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
---------------------------------------------------------------------
Software development
Automatic creation layouts and viewport. Batch printing drawings from model.
www.kdmsoft.net
0 Likes
Message 8 of 9

matt.adkins
Contributor
Contributor

I believe that there may be some confusion here. We do not have drawings that utilize multiple paper space tabs; our pages (for multipage drawing sets) are in individual DWGs (i.e. Pg1.dwg, Pg2.dwg, Pg3.dwg, etc). 

 

The reason why I am attempting to print (or convert from DWG to PDF) through Adobe is because I have the ability to reference/use the 'Last Active Layout' when printing. Publishing to PDF via ACAD makes me basically choose to include both model space and paper space (layout) and then I have to weed through the additional items that I do not need; there's not an option for Last Active or Last Saved (like ACAD Electrical).

0 Likes
Message 9 of 9

maratovich
Advisor
Advisor

Did you go to the end?
There is a choice of many files at once.

---------------------------------------------------------------------
Software development
Automatic creation layouts and viewport. Batch printing drawings from model.
www.kdmsoft.net
0 Likes