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(..)..)
Although we really tried hard, there are always questions left open. But perhaps somebody else had already put the same question? Please check!
I am trying to print an exiting PDF document in C#.
Can you post the equivalent C# code to the one in the vbs sample?
Please also specify which dlls should be added as reference!
Sample c# code can be found at: http://www.aloaha.com/software-development/c-crypto-sample.php
Answered 23.04.2010
Hello we are internet base company. We want to make "our" pdf printer by using library which would easier this task. After we will left download our printer from our websites.
1. How much would cost license for PDF printer library?
Will be possible to use some yours product?
2. Or would be possible just to have license for Aloaha Postscript Printer?
And we would add by ghostscript the postscript-pdf conversion.
Thank you for quick answer for my two questions.
Best regard
Peter Durisin
Technical Marketing
For pricing information please contact info@Aloaha.com
Answered 23.04.2010
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?
To be able to use the printing API you need a PDF Suite Enterprise Light license. You can address your questions to info@aloaha.com
Answered 25.05.2009
If not, please do not hesitate to send us your question. We would be glad to answer it.
The Adobe Print API uses any installed Adobe Software to print the file. Just call function Adobe_Print(cstr("c:\pdftobeprinted.pdf"),cstr("PrinteName"))