by cybersack » Fri Oct 20, 2006 11:18 pm
Harjo, just reflect on what you are saying.
Nobody is right and nobody is wrong. But....
You want to view and print a pdf.
So, to get the best (most reliable, consistent, predictable, performant) outcome, you should use the appropriate software - Adobe acrobat.
And you can do this either inside or outside of Servoy.
If you want to manipulate PDF content, use an appropriate tool such as JPedal (which is a rather non-performant, but free, library).
The point is that each tool has its place.
Best-of-breed is a saying that has some meaning in this case.
If you want to Servoy-script a print from Adobe, you can either script it to an external instance of Adobe or you can use the bean.
Some tools out there (especially the free ones) are not optimal in many ways.
Just remember that.
This thread illustrates the potential difficulties if you're trying to deliver functionality to your customers with "what seems like should be a simple thing to do".
This is not Servoy functionality.
This is JPedal functionality.
And, unless you're prepared to write and test some nice JPedal wrapper code to guarantee for yourself that you get the behaviour you want, use the dedicated software.
My $0.02.
Julian