• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

automating print pdf

  • Thread starter Thread starter eremiss
  • Start date Start date

eremiss

Guest
Hi.

I would like to create a lisp to automate the printing process in pdf.

but when this line is executed:
Code:
(command "print" "" "stamp" "" """ """ "c:/prova.pdf" )
where "stamp" is the printing setting I choose, the routine stops and opens the window "save by name".

How can I do to save the file in the chosen path without opening the File Rescue dialog box? ?
 
I also tried with (command "-print".... but nothing changes, arrived at the name of the file to insert the program stops and opens the window "Save with name"
 
If you use a script, you can answer 'n' to the question...with lisp I don't know.
 
I also tried with (command "-print".... but nothing changes, arrived at the name of the file to insert the program stops and opens the window "Save with name"
you must set the filedia variable to 0 before the command so that the file selection windows do not open and then pass the command line value
then restore the variable.
 
but to create the pdf use what?

you are sure that the save by name is not required by the print driver.. .

example if you use acrobat distiller you must disable from them the name issuance and he automatically saves with the file name in the same path(dwg)
 
but to create the pdf use what?

you are sure that the save by name is not required by the print driver.. .

example if you use acrobat distiller you must disable from them the name issuance and he automatically saves with the file name in the same path(dwg)
perfect, I solved using "dwg to pdf.pc3" to print (with filedia equal to 0) now but I can't save in the desired path. if I put c:\\\prova.pdf) I do not print anything. I have tried in many combinations, but I do not re-echo to set the path
 
perfect, I solved using "dwg to pdf.pc3" to print (with filedia equal to 0) now but I can't save in the desired path. if I put c:\\\prova.pdf) I do not print anything. I have tried in many combinations, but I do not re-echo to set the path
attention that in some autocad commands you have to give c:/path and not c:\path !!!

Try to see if that's the one
 
Okay, I solved the press issue, but I have another doubt. I should print different files from me chosen in pdf with a single lisp that automatically sends them in print. but if I open the files with the _fileopen command the lisp stops, in a nutshell all the rows that are found after are not executed. I suppose this happens because the previous file is closed and the lisp stops, how can I overcome this problem? ? ?
 
your, as you have already been told, is the typical procedure that should be entrusted to a script, the instructions of a lisp are executed in the file where you uploaded it.
 
Okay, I solved the press issue, but I have another doubt. I should print different files from me chosen in pdf with a single lisp that automatically sends them in print. but if I open the files with the _fileopen command the lisp stops, in a nutshell all the rows that are found after are not executed. I suppose this happens because the previous file is closed and the lisp stops, how can I overcome this problem? ? ?
if you are looking for in the forum there is a utility of rpor66 "crea_file_script" that allows you to create script files for printing multiple files simultaneously.
http://www.cad3d.it/forum1/showthread.php?t=6107
 
Hi.
But then you join them? if you with what?
... curiosity. . .
I for example with vba use the pdfcreator
 

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Members online

No members online now.
Back
Top