Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

princ command to print the word document

1 REPLY 1
SOLVED
Reply
Message 1 of 2
marcelogarcia3251
254 Views, 1 Reply

princ command to print the word document

Good night, you can print text in word by princ command with font formatting and size.

 

thank you: Marcelo

1 REPLY 1
Message 2 of 2

Hi,

 

Short answer, NO, all the printing functions in Autolisp are just simple ASCII character printing without information about font or format. If you need to create a word document from Autolisp yo can use Office Open XML format, some info here: Word files . Also you can try unzipping a .docx word document (just use pkzip or any other zip application) and take a look to the format and XML schema, the same apply to Excel.

 

Gaston Nunez

 

 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost