Autocad Publisher creates multipage pdf with correct paper size but incorrect scale

Autocad Publisher creates multipage pdf with correct paper size but incorrect scale

JoistDetailer
Contributor Contributor
1,324 Views
8 Replies
Message 1 of 9

Autocad Publisher creates multipage pdf with correct paper size but incorrect scale

JoistDetailer
Contributor
Contributor

Brief background...

I have a routine to update the revision area of our standard titleblocks.  Previously, each autocad user had their "plotter support" path to a local folder on their workstation, which results in the obvious problems.

I have added code to change the printer support paths to a network location using the vlax-put-property method followed by using command-s, "-plot" to set each layout tabs plot configuration to the correct pc3, paper size, plot scale, etc.

When that routine finishes, each layout tab looks great and if you do a plot preview of the tabs, it's perfect.

 

HOWEVER...when you then select multiple layout tabs, right-click and "publish selected layouts", the pdf that is created has the correct paper size, but the content of each page is scaled down to roughly 25% and it's pushed down to the lower right corner of the page.

 

I can "manually" create pdf's of each layout and they are perfect, but Publisher screws it all up.

 

Has anyone else run across this problem?  Thanks in advance...

0 Likes
Accepted solutions (1)
1,325 Views
8 Replies
Replies (8)
Message 2 of 9

CodeDing
Advisor
Advisor

@JoistDetailer ,

 

When you PUBLISH, are you publishing to "PDF" or "Plotter named in page setup"? I assume you are using Page Setups (if so, it should be the latter).

 

image.png

 

Best,

~DD

0 Likes
Message 3 of 9

pbejse
Mentor
Mentor

@JoistDetailer wrote:

I can "manually" create pdf's of each layout and they are perfect, but Publisher screws it all up.


When you do publish, make sure the you select the Page Setup [ that you know that works ] and apply it to the selected sheets. The drawing may have a defined page setup but not necessarily "apply to layout".

 

pbejse_0-1603985399726.png

 

HTH

 

0 Likes
Message 4 of 9

JoistDetailer
Contributor
Contributor

Yes, we are.

0 Likes
Message 5 of 9

JoistDetailer
Contributor
Contributor

It's left on "default".

 

Something interesting, though...it only seems to happen when you start publisher by selecting a few tabs, right click, "publish selected layouts".

 

If you start publisher from the command line, all tabs including the model are in the list.  remove the model and any other layout you don't want to publish and the pdf set will be perfect.

 

Also, if you select tabs and "publish selected...", click on the "pdf preset" and re-select the "dwg to pdf", the PDF set is perfect.

 

The pdf set is ONLY messed up if you "publish selected" and then hit the publish button without touching anything else.

0 Likes
Message 6 of 9

CodeDing
Advisor
Advisor

@JoistDetailer ,

 

Could you, by chance, post two images? One of your Page Setup and another of your Publish screen (the version that does not publish correctly).

 

That would help me further.

 

Best,

~DD

0 Likes
Message 7 of 9

JoistDetailer
Contributor
Contributor
Accepted solution

I was able to resolve the issue today!!!

 

The problem was that some users had their "vector quality" (publish -> publish options) set to 2400.  When people set the quality to 600dpi, the problem resolved itself.

 

It makes sense now (sort of)...the people with the vector quality set to 2400 instead of 600 saw that their pdf was essentially scaled down to 25% of what it should've been at.

Message 8 of 9

Sea-Haven
Mentor
Mentor

I have a plot layout range lisp happy to post it to you allows selection like 1-4, found publisher needed more control setup up rather than just plot range I want quickly and to correct plotter, added look at user name so went to correct printer as we were multi floor office.

 

You mentioned 600dpi we plot A1 sheet at 200dpi to pdf and then replotted them hard copy to check there was no real differing setting high res does not make much difference if printer can not replicate or is it really necessary to go higher DPI.

0 Likes
Message 9 of 9

JoistDetailer
Contributor
Contributor

I'd be interested in seeing what you have.

The function that I briefly described displays a checkbox list of layout tabs for the user to select the pages to update the revision block and/or "release stamp" for.   My original intent was to ask the user if they wanted to "publish" the selected pages once they were updated, but I was not able to find a way to pass the list of selected pages to the publisher at the time - although I did not really spend a lot of time researching that particular issue.

0 Likes