We are trying to use PDFBox to open a print dialog box using a stream. I works, however the dialog box that opens is actually on the server.
Has anyone used this before and managed to get it to work?
Here's an example from the Ranch's FAQ: http://www.coderanch.com/how-to/java/ImageServlet. It looks like it's talking about images but if you scroll down a bit you'll see how it can be used to stream any file to the browser. (Including PDF of course.)
It doesn't tell you how to write that PDF so that it pops up a print dialog when it opens in the browser, but maybe that's already been done. And I don't know if that was your question anyway.
Stan F Smith
Joined: Jun 28, 2011
That URL example doesn't seem to open.
I am using wicket not servlets, would it work the same way?