Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Computer Aided Design - CAD > IntelliCAD software > Re: LISP & PDF ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 5 Topic 326 of 366
Post > Topic >>

Re: LISP & PDF output

by jg <jg@[EMAIL PROTECTED] > May 9, 2007 at 07:53 PM

aliennation wrote:
> I'm using ICAD 6.2 and I can't get a PDF file to output automatically
> from LISP (I haven't tried VBA)
> Does anyone have any ideas?
> 
> By substituting (command "ex****t" "c:\\mypdf.pdf") I get a DWG file,
> is there a bug in PDF ex****t?
> 
> The function I am using is shown below:
> 
> (defun C:myPDFOut ()
> 	(command "ex****t" "c:\\mysvg.svg" "ALL" "")
> 	(command "ex****t" "c:\\mypdf.pdf" "ALL" "")
> )
> ***** This produces the output below **********
> : myPDFOut
> : ex****t 
> File name (extension defines ex****t type) <C:\temp\myfile.dwg>:
> c:\mysvg.svg
> Select entities to ex****t: ALL 
> Select entities to ex****t:  
> : ex****t 
> File name (extension defines ex****t type) <C:\temp\myfile.dwg>:
> c:\mypdf.pdf
> : ALL error: rejected function
> (COMMAND "ex****t" "c:\\mypdf.pdf" "ALL" "") 
> (C:myPDFOut) 

Have you tried doing it from the command line? I don't believe any 
version of Icad has the ability to ex****t to PDF. It does dwg, dxf, bmp 
and dwf. People, including myself, use a third party "printer driver" to 
produce PDF's - there are discussions on which is the best etc. I also 
don't think you can automate the print dialogue through lisp or any other.
 




 5 Posts in Topic:
LISP & PDF output
aliennation <aliennati  2007-05-09 11:07:43 
Re: LISP & PDF output
jg <jg@[EMAIL PROTECTE  2007-05-09 19:53:24 
Re: LISP & PDF output
"CW" <cmager  2007-05-10 01:23:53 
Re: LISP & PDF output
aliennation <aliennati  2007-05-14 14:10:58 
Re: LISP & PDF output
jg <jg@[EMAIL PROTECTE  2007-05-14 21:42:19 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Nov 20 10:55:12 CST 2008.