Aloaha PDF Printing API

The Aloaha PDF Printing API is included in all Aloaha PDF Products. This API can be used to print any PDF Document without having the Reader Software installed. One of the great advantages of the Aloaha PDF Printing API is that it is able to print even PDF Documents which do not allow printing (APDFPR).

Please note that the API/Enterprise License is required for this API to work properly.




'Sample code for the Aloaha PDF Printing API
'Copyright 2006 by Wrocklage Intermedia GmbH
'Coded by Stefan Engelbert 


dim api
dim printername
dim printfile
dim StartPage
dim EndPage
dim PageScaling
dim AutoRotate
dim SpoolerTitle

printfile = "c:\test.pdf"
StartPage = 1
EndPage = -1           'print all pages
PageScaling = 1      '0=none, 1=Fit, 2=Shrink
AutoRotate = True
SpoolerTitle = "Printed by Aloaha PDF SDK"

set api = createobject("aloahapdf.edit")

printername=api.get_default_printer
if printername="" then
          printername=trim(cstr(split(api.get_printer_list_CSV,",")(0) ))
end if 

'Please use function SetupPrinter here to set the printer options.
'PrinterName=api.SetupPrinter(PrinterName,clng(..)..)

call api.print_pdf(CStr(printfile), CStr(printername), CLng(StartPage), CLng(EndPage), CLng(PageScaling), CBool(AutoRotate), CStr(SpoolerTitle))

set api = nothing



 printing_pdf_sample.vbs (0,76 KB) pdfprinter.zip (124,71 KB)

Please ask...

Although we really tried hard, there are always questions left open. But perhaps somebody else had already put the same question?
Please check!
  • I don't find the cost of an PDF Suite enterprise light licence.
    What we want do do:
    We're 3 Developers Team, we want to write software which prints pdf's in the background and deploy this application to 400partners.
    Could you provide me with info about the costs of whats necessary to acheive our goal?

    You need one developer license for each developer. That would be the Aloaha PDF Suite Enterprise Light License (Professional only if digital signatures are required).

    For the 400 customers you need runtime licenses.

    Please contact info@aloaha.com for further details.
    Answered 25.05.2009
  • What is the cost for "Aloaha PDF Printing API"? To whom shoud I address my technical queries?
If not, please do not hesitate to send us your question.
We would be glad to answer it.


Home / Knowledge Base / PDF SDK / PDF Printing API
Please ask...

Aloaha Autoprint Folder


Adobe Print API

The Adobe Print API uses any installed Adobe Software to print the file. Just call function Adobe_Print(cstr("c:\pdftobeprinted.pdf"),cstr("PrinteName"))
create PDF Software

PDF Printing API

Any questions?
Aloaha Software - PDF Printing API
ProductsKnowledge BaseShopSupportPress
Deutsche VersionEnglish version