I have been trying to programmatically print a pdf file using Java and have not found solution yet. I am interested in learning more about 'wrappering a dll' or something on those lines so that a JNI call is possible.
Note: I am a strong programmer but my background is Java, PL/SQL. I have NO C, C++, VB experience or knowledge.
There was a thread on this forum titled:
Calling a Visual Basic component's method from Java
I think what I want to accomplish is similar to this thread. However I don't think VB need be involved.
I have down loaded the Acrobat SDK and read through the API and--in IACReference.pdf under OLE Automation Methods--found
object AcroExch.AVDoc
method PrintPagesEx
method PrintPagesSilent
I assume I can call these methods directly via JNI but do not know how to proceed.
What is the relationship fo SDK to Acrobat. What kind of tools do I need to get final result? Do I have to compile any C/C++? Or do I have to focus on JNI only?
Can anyone define concisely what steps I will take and what tools I will need to achieve objective?
Please feel free to give an answer to only one of my questions if you want.
Many Thanks, Pfist
Note: I am a strong programmer but my background is Java, PL/SQL. I have NO C, C++, VB experience or knowledge.
There was a thread on this forum titled:
Calling a Visual Basic component's method from Java
I think what I want to accomplish is similar to this thread. However I don't think VB need be involved.
I have down loaded the Acrobat SDK and read through the API and--in IACReference.pdf under OLE Automation Methods--found
object AcroExch.AVDoc
method PrintPagesEx
method PrintPagesSilent
I assume I can call these methods directly via JNI but do not know how to proceed.
What is the relationship fo SDK to Acrobat. What kind of tools do I need to get final result? Do I have to compile any C/C++? Or do I have to focus on JNI only?
Can anyone define concisely what steps I will take and what tools I will need to achieve objective?
Please feel free to give an answer to only one of my questions if you want.
Many Thanks, Pfist