[EMAIL PROTECTED] wrote:

>OK
>I tried asking this before and received a rather curt answer
>  
>
Your question made me believe you haven't tried the examples
that are available in the tutorial. I can be wrong, but that's the
impression I had.

>I currently use JSP and Scriptx to generate my print.   The dilemma is;
>Scriptx does not work 100% of the time 
>
In other words you want to get rid of this product Scriptx?
I just visited this site: http://www.meadroid.com/scriptx/
It says it has a near 100% record of successful deployment ;-)
As far as I understand the explanation on the product site,
Scriptx allows you to let the end user print an HTML page
the way you want it, not the way the print options are configured
in his browser.

If I understand it well: you are not generating PDF currently.

>so  I want to use my JSP pages that
>are in reality a print page definition to generate a PDF page that can be
>reviewed and printed.  
>
The phrasing "JSP pages that are a print page definition"
sounds very odd. I would never think of using JSP to define
a layout. What you need is a PDL (a Page Description Language)
such as PDF. You can create a PDF document from a JSP page
using iText, but if you have read the documentation, you have found
plenty of reasons to drop the idea of using JSP and to use Servlets
instead. There are developers that have successfully used iText in
a JSP application, but they all admit that getting it to work was not
a sinecure.

>I am thinking I want to create the pdf on the server
>for later storage to our imaging system.
>  
>
What is keeping you?

>My question is simple;
>Is there a process or example I can review that addresses this issue.
>
Dump the JSPs, write a Servlet that uses iText to create the PDF
you want to store on the server. Serve this PDF to the client so
that he can view and print it in Adobe Reader.
If you need the file to be printed without the user having to open
a print dialog manually, use iText to add a line of JavaScript that
prints the PDF as soon as it's opened.

>I also would like to know if anyone else has used this type of process
>
I don't understand.
99% of the people on the mailinglist are using iText to create
PDF documents on the fly in a web application. If that's the
solution you are looking for, you have all the information you
need in the tutorial.
If you are looking for something that is not in the tutorial,
you will have to give it another try and give us a better
description of your requirements.

best regards,
Bruno

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to