cancel
Showing results for 
Search instead for 
Did you mean: 

HTML to PDF

Former Member
0 Kudos

Hi,

We have some information displayed as html via xmii.

The idea is to allow the user to review the page, then have a button to save the document as pdf automatically.

The pdf document is then retrieved for subsequent users.

Has anyone got any ideas on how to realise this?

thx.

Accepted Solutions (0)

Answers (1)

Answers (1)

agentry_src
Active Contributor
0 Kudos

Amrik,

I suspect that you wish the presented data to be in the PDF and not necessarily the exact same format and structure. You may be better off simply building a PDF that contains the information from the HTML page. If you are using a transaction to build the data presented in the HTML, you may want to build the PDF at the same time and simply open it up when they press the button.

Here is a pretty good post on the subject:

Good luck,

Mike

Edited by: Michael Appleby on Aug 14, 2008 2:01 PM

Edited by: Michael Appleby on Aug 14, 2008 3:04 PM

Former Member
0 Kudos

Thanks Michael,

We'll investigate the link, It looks promising.

We do really want the pdf to be a copy of the HTML we generate though.

Shame there is not an action block to do this.

regards

Amrik

agentry_src
Active Contributor
0 Kudos

Amrik,

You may be able to print to a pdf file using something like PDFCreator. I am not that familiar with any of the pdf printing programs, but I would bet you could invoke one programmatically (google 'window.print' for some ideas).

I am not sure how you would do it from within MII. There is an HTML Loader action block, but I am not sure how you would combine it with the PDF related action blocks to accomplish your desire.

Maybe someone else has done such a transaction and can chime in here?

Good luck,

Mike