Cholomanchuten Posted July 15, 2010 Posted July 15, 2010 Pretty specific problem. If am printing a PDF file through a script. So, I use the -plot command and run the following script: -plot y model DWG to PDF.pc3 ISO A4 (210.00 x 297.00 MM) millimeters landscape n window -1000,-200,0 3500,2600,0 Fit Center yes . yes a NAME-OF-PDF-FILE n y nice, and works perfectly, but the problem is that AutoCad NEVER asks where to save this PDF File. It's a miracle that i found it in My Documents. There must be a default path where CAD saves my PDFs, written somewhere. But i can't find it so i can change it! Anyone has a clue? Quote
alanjt Posted July 15, 2010 Posted July 15, 2010 Go to your printers folder and you'll find it under the settings for the PDF printer. Are you using Adobe? Quote
Cholomanchuten Posted July 15, 2010 Author Posted July 15, 2010 Thanks alanjt, but i can't find it. As I said, i use the printer named DWG to PDF.pc3 However, when i access the printer properties i can't find anywhere the default path. I add a picture: Quote
rkmcswain Posted July 15, 2010 Posted July 15, 2010 nice, and works perfectly, but the problem is that AutoCad NEVER asks where to save this PDF File. Actually, it does and you have it in your script (NAME-OF-PDF-FILE) It's a miracle that i found it in My Documents. There must be a default path where CAD saves my PDFs, written somewhere. But i can't find it so i can change it! Anyone has a clue? If you do not include a path with the file name, it will go to the current directory (just like if you are doing it manually and the dialog comes up) - and generally the current directory is "My Documents" It does not have anything to do with properties in the PC3 file Quote
Cholomanchuten Posted July 15, 2010 Author Posted July 15, 2010 Right! But that also brings problems, because if i put the Path that i want in the script: C:\Documents and Settings\claudio\Escritorio\Name-Of-The-File CAD only takes C:\Documents as valid! I think it's because it is a script and he takes the " " (space) as an enter, but that worked well in the previous statements (DWG to PDF.pc3 should have been taken as DWG only, for that matter). So CAD doesn't get PATHS through script :S I upload picture: Quote
KJB Posted July 15, 2010 Posted July 15, 2010 Try C:\Docume~1\claudio\Escrit~1\Name-Of-The-File Quote
alanjt Posted July 15, 2010 Posted July 15, 2010 Either put it in quotes "blah" or wrap it in a bit of code (strcat "blah") Quote
Cholomanchuten Posted July 15, 2010 Author Posted July 15, 2010 Both suggestions work! Perfect then! Now I won't have my pdfs scattered all over my disk! Thanks a lot. Quote
Cad64 Posted July 15, 2010 Posted July 15, 2010 I have renamed this thread. In the future, please name your threads according to the problem you are having. Quote
alanjt Posted July 15, 2010 Posted July 15, 2010 I have renamed this thread. In the future, please name your threads according to the problem you are having. But that might make it easier for someone else, down the line. Quote
Recommended Posts
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.