Jump to content

Recommended Posts

Posted

our requirement to make e-book

while plotting for project simultaneouly it make pdf

Posted

You can build a script to call twice the plot command, once to a phisical printer and next to a virtual one that will produce the PDF.

Can call it later by associating it with a toolbar button:

(command "_SCRIPT" "C:\\2xPrint.scr")

Posted
You can build a script to call twice the plot command, once to a phisical printer and next to a virtual one that will produce the PDF.

please send that script

Posted

You can build it by yourself calling the prompt version of command (-PLOT) and writing down the answers. Next, add those into a text file, one answer per line:

_PLOT
_Y
"Layout1"
...

Posted
please send that script

we have select plotting, color or monochorme, scale after that it go to plot on that time it make pdf

Posted

this was half of the solution, i need in details

Posted

Just run the prompt version of command and where in doubt about options (plotter name, file format, CTB) just input "?" to see the list of available options and their syntax. When copy the answer to the script, skip those "?" parts.

Posted

Or use the publish command with pagesetups. Set all your drawings to use a 'plot to paper' pagesetup - then load the same drawings in again and set them to use a 'plot to PDF' page set up.

Posted
this was half of the solution, i need in details
Seeing as you're on 2004, the Publish only half works for you - it would only be able to "Print to PDF" using an external PDFWriter driver. Only recently was the Publish to PDF introduced, though I think 2004's Publish has a publish to DWF though.

 

What I did previously was to use Publish to DWF, then use DWF Viewer's batch plot to PDFCreator - which would then save the PDF with the same name as the DWF.

 

As for the Script: a script file is a normal text file containing exactly the keys you'd have typed to perform the actions manually. I.e. try using the commands in autocad by prefixing them with a minus sign to force the non-dialog versions. Then see what is asked on the command line and what you need to type to get your end result to perform. Then after you've got one DWG/Layout working, press F2 to see the history of what you typed. Create a SCR file using Notepad (or your favorite ASCII text editor) - ensuring that its extension is SCR and not TXT as per the default. Then type the same stuff as you've typed into the command-line into the SCR file (and I mean exactly the same, a space IS a spacebar, a new line IS an Enter, etc.).

 

The test if the SCR works by running it on a temporary copy of your drawing through the SCRIPT command. Make sure it works before you start using it too much - a SCR can screw up DWGs easily! Next, use some form of batch scripting to run it on multiple DWGs / Layouts at once. For layouts you'd need some Lisp (which can even be incorporated into the SCR file). For multiple DWGs you'd need something else: ScriptPro / AutoScript / BatchWORX / ScriptWriter / etc.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...