Tag: docx

Aloaha autoprint Folder and automatic doc/docx to PDF conversion

If you are running Aloaha in non-interactive mode (server or enterprise version required) Aloaha checks a couple of hotfolder for specific tasks. For example it prints every doc/docx dropped into the autoprint folder to Aloaha for PDF conversion.

In the enterprise version you can also utilize the APIs mentioned in:

http://blog.aloaha.com/2013/02/07/print-docdocxrtf-files-automatically-with-aloaha-api/

and

http://blog.aloaha.com/2012/03/21/convert-doc-docx-documents-directly-to-pdf-via-aloaha-api/

 

Please note: To switch Aloaha into non interactive mode you need to have admin rights and the correct Aloaha license. Then just right click on the Aloaha system try icon and disable the option “Interactive”

 


Print doc/docx/rtf files automatically with Aloaha API

Who has not come accross the bugging Winword message “The paper size of section 1 is different from the printer page size” when automating document prints?

With our Aloaha printing APIs it is very easy to go around that message. Just use the following code:

Dim Aloaha
set Aloaha = CreateObject(“AloahaPrinterControl.Control”)

Call Aloaha.Doc2Aloaha(“c:\test.docx”,”Aloaha PDF Printer”)

set Aloaha = nothing

Please note that in the Aloaha installation folder you find the tool “PrintWinWordDocCMD.exe”. Just give it as a parameter the path to the file to be printed and it will print the document to Aloaha.

PrintWinWordDocCMD.exe is the ideal tool to define it as Doc/Docx Print Verb in your registry!

You can download Aloaha from http://www.aloaha.com/download/aloaha_pdf.zip

Please have also a look at: http://blog.aloaha.com/2012/03/21/convert-doc-docx-documents-directly-to-pdf-via-aloaha-api/


Convert .doc/.docx documents directly to PDF via Aloaha API

Here a small code sample to explain how to convert directly a .doc/.docx/.rtf file to PDF.

dim pdf
Set pdf = CreateObject(“AloahaPrinterControl.Control”)
MsgBox pdf.PrintFile2Aloaha(“c:\test.doc”)
set pdf = nothing

 

Requirements:

 Attention: Now direct conversion of .rtf documents to PDF with the Aloaha PDF Reader! The PDF Viewer is included in the Aloaha PDF Suite!


  • RSS Aloaha on Twitter

  • Copyright © 1996-2013 Aloaha Software. All rights reserved.
    RSS Feed
    Powered by WordPress