Hi,
 
Thanks to Paolo Soares for replying to my query.
 
"If you're looking for a html->pdf converter iText may or may not be the
best options depending on what kind of html you have. iText can really
help you if the report is directly created in pdf."
 
This is what Paolo has replied. I dont mind creating the report directly in pdf. But I have to do it from jsp (writing java code) and the program must automatically open the pdf in the user screen after the report is completed.
 
Is this functionality achievable through iText.
 
Thanks and Regards
Neil Banerjee

Paulo Soares <[EMAIL PROTECTED]> wrote:


> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Nilabhra Banerjee
> Sent: Monday, October 09, 2006 11:45 AM
> To: iText-questions@lists.sourceforge.net
> Subject: [iText-questions] Can I use iText effectively to fix
> my problem?
>
> Hi Everybody,
>
> I am encouraged by various discussion groups on the web to
> look into iText. I have following problem, for which I need a
> solution. Do you think I can use iText to solve it?
>
> Problem
>
> My client needs to print a report their "registered users"
> details from the web. Currently The function is like this
>
> Flow
> i) Clerk selects a number of users from a list in a jsp and submits.
> ii) The servlet processes the request and gives all the
> information to print.jsp
> iii) Print.jsp uses java and html tags to build a html
> document dynamically.
> (Apart from text data, the document contains gif images)
> iv) Print.jsp has a document.print() command which prints the
> document.
>
> This far is simple. But as I have told, the document will
> contain details of several "registered users" and detail for
> each "registered user" may take two or three pages. So client
> wants header showing "user" name so that pages don't get mixed.
>
> In the code I can add header on the first page for each user
> (for loop), but I cannot identify the page breaks.
>
> Currently I am calculating the number of lines by a very
> tedious process. When the number of lines exceeds a certain
> number, I am forcing a page break.
>
> I have tried to use htmldoc and fop. But htmldoc needs cgi
> perl coding while my client wont allow me any coding outside
> jsp and servlet/java.
>

So you want to convert an html page into a pdf.

> The FOP, I found needs a xml parser which is not a freeware.

Yes it is. Java even comes with one.

> I am not in position to ask the client to buy anything until
> I have a solution .
>
> My Question
>
> Can I write a jsp(or something similar) which can dynamically
> create a pdf.
>

If you're looking for a html->pdf converter iText may or may not be the
best options depending on what kind of html you have. iText can really
help you if the report is directly created in pdf.

Paulo

> Thanking you in advance
>
> With Regards
> Neil banerjee


Aviso Legal:
Esta mensagem é destinada exclusivamente ao destinatário. Pode conter informação confidencial ou legalmente protegida. A incorrecta transmissão desta mensagem não significa a perca de confidencialidade. Se esta mensagem for recebida por engano, por favor envie-a de volta para o remetente e apague-a do seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de usar, revelar ou distribuir qualquer parte desta mensagem.

Disclaimer:
This message is destined exclusively to the intended receiver. It may contain confidential or legally protected information. The incorrect transmission of this message does not mean the loss of its confidentiality. If this message is received by mistake, please send it back to the sender and delete it from your system immediately. It is forbidden to any person who is not the intended receiver to use, distribute or copy any part of this message.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions


Yahoo! Photos – NEW, now offering a quality print service from just 8p a photo.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to