Batch plot dwg to pdf

Batch plot dwg to pdf

Anonymous
Not applicable
1,215 Views
6 Replies
Message 1 of 7

Batch plot dwg to pdf

Anonymous
Not applicable

Hello,

I want to batch plot to create 11X17 inches PDF file from DWG, but it always created 34 x22 inches PDF file. Media Paper name is 11 x17 inches in autolisp file. I can created single 11X17 inches PDF file from DWG. Please advise if anyone have any solutions, thank you in advance.

 

Michael

0 Likes
1,216 Views
6 Replies
Replies (6)
Message 2 of 7

hmsilva
Mentor
Mentor

@Anonymous wrote:

Hello,

I want to batch plot to create 11X17 inches PDF file from DWG, but it always created 34 x22 inches PDF file. Media Paper name is 11 x17 inches in autolisp file. I can created single 11X17 inches PDF file from DWG. Please advise if anyone have any solutions, thank you in advance.

 

Michael


Hi Michael,

could you please post your code, It would be easier to assist.

 

Henrique

EESignature

0 Likes
Message 3 of 7

Anonymous
Not applicable

Hi Henrique,

 

Thank you for reply immediately.

 

PIease be patient I have some more questions.

 

1. When I use dwg to pdf.pc3 to produce single pdf file, it is ok. But when I use this lisp to batch plot pdf files, there is prompt "Adobe, one error occured, can not access file". PDF files can be created, but size always is 34 x 22 inches. Also, could you please advise me how to change plot scale from "center" to "1:1" for plotter 82 in this lisp? 

 

2. I use AutoCAD 2010. When I batch plot pdf files in publish, sometimes it created single sheet whatever SETUP is single sheet or multi-sheet. Sometimes it work well.

 

3. I have one type of customer created line type. It is  composed of by dashed line and letter S. Sometimes letter S became bigger, I had to close AutoCAD and re-open it, regenerating model, it became normal.

 

4. last question, when I click print button in standard toolbar, sometimes:

 

it repeat last AutoCAD command (not print), or AutoCAD help show up, or print set-up window show up twice (I close it, it show up gain).

 

Please find attched lisp file, thank you very much,

 

Michael

0 Likes
Message 4 of 7

hmsilva
Mentor
Mentor

@Anonymous wrote:

1. When I use dwg to pdf.pc3 to produce single pdf file, it is ok. But when I use this lisp to batch plot pdf files, there is prompt "Adobe, one error occured, can not access file". PDF files can be created, but size always is 34 x 22 inches. Also, could you please advise me how to change plot scale from "center" to "1:1" for plotter 82 in this lisp? 


Hi Michael,

I'm with a very large workload and don't have spare time to revise the code, but in a quick read, the 34 x 22 inches is the smaller size in 'DWG to PDF' you'll have to add an option to 11.00 x 17.00 Inches, but I'm a 'metric' guy, and inches are not my world...

Hopefully, someone accustomed to 'inches' can step in, and help you with that...


@Anonymous wrote:

2. I use AutoCAD 2010. When I batch plot pdf files in publish, sometimes it created single sheet whatever SETUP is single sheet or multi-sheet. Sometimes it work well.


Try to plot

single sheet ->  PUBLISHCOLLATE set to 0

multi-sheet ->  PUBLISHCOLLATE set to 1


@Anonymous wrote:

3. I have one type of customer created line type. It is  composed of by dashed line and letter S. Sometimes letter S became bigger, I had to close AutoCAD and re-open it, regenerating model, it became normal.


I do not know why it happens...


@Anonymous wrote:

4. last question, when I click print button in standard toolbar, sometimes:

it repeat last AutoCAD command (not print), or AutoCAD help show up, or print set-up window show up twice (I close it, it show up gain).


CUI -> Toolbars -> Standard -> Plot...
under Macro, It should be something like ^C^C_plot <-one empty space

 

Hope this helps,
Henrique

EESignature

0 Likes
Message 5 of 7

Anonymous
Not applicable

Hi Henrique,

 

Huge thanks,

 

Michael

0 Likes
Message 6 of 7

Anonymous
Not applicable

Hi Henrique,

 

for question #1, I added 11x17 paper size for dwg to PDF in the lisp, but it does not work. Could you please look into it? Thanks a lot !

 

Michael

0 Likes
Message 7 of 7

hmsilva
Mentor
Mentor

@smallchild6 wrote:

for question #1, I added 11x17 paper size for dwg to PDF in the lisp, but it does not work. Could you please look into it? Thanks a lot !


Hi Michael,

the 'PlotFolder.lsp' was created by someone, to a specific company, probably was paid work, and the author e-mail is in the code header.

You should contact the author, asking to introduce these changes in the code.

 

Sorry, but I don't feel comfortable modifying another person work.

 

Henrique

EESignature

0 Likes