Jump to content

Recommended Posts

Posted

Hi, This is a question. But if someone solves it, it will be an answer.

 

I have 3 different autocad versions for 30 people, autocad 2008, 2009 and 2010, and I configured the pdf printer for each version to fit our standards, but since every version has its own autodesk pdf printer version, I had to make 3 different abbreviations and 3 different .pc3 files, and I instructed everyone to use their own abbreviation.

 

Now I want to see If a can make it easier, that with just one abbreviation I can merge all 3 functions in a lisp to make autocad decide which pc3 file to use according to current autocad version. i know that this option is to let autocad decide for an option,

 

(if

(progn

 

but I don't know if it's possible for autocad to recognize its own version taking it from a system variable or some way.

Posted

For multiple options, I'd be inclined to use the cond statement :)

Posted
For multiple options, I'd be inclined to use the cond statement :)

 

You guys are right... and actually I got extra help from another forum... here is the pdf printing lisp. It will use specific points, ctb, pc3 and pmp files... and actually uses 3 different pc3 files for each different autodesk tested printer versions.

-----------------------------

Excellent.... I did it and worked perfect.

 

This lisp will print automatically a pdf using the same abbreviation from any 2008, 2009, 2010 autocad version and using also a pc3 printing configuration file (which is using also a printing parameters PMP file, not included in the lisp, though) both pc3 and pmp files are to be in the printer configuration search path

pdf.lsp

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...