logo

New Response

« Return to the blog entry

You are replying to:

    • avatar
    • Patrick
    • Posted on Mon 14 Feb 2005 11:15

    Hi Jake...

    What you could try is using DHTML to do this. Instead of copying the contents of the rich text fields into the new rich text field, you instead do this.

    1) Web Query Open Agent.

    i) Pass in the UNID's of all the pages you want to print.

    ii) Loop through all the UNID's and create a hidden iframe (used to load the document) and a print "DIV" (used to display the document contents) with an "ID" equal to the UNID of it's specific document.

    2) Print Form

    i) Displays all the print DIV's created by the WQO agent. You can format how to print them (also using CSS you can put a page break between each document).

    ii) Let each of the hidden IFrames load with their specific documents. When they load, all they do is replace the HTML of it's specific print "DIV".

    Once all the Iframes have loaded, all you need to do is call the Print command!

    You can add fancy routines to inform the user that all is loading and check to see if all DIV's have loaded!

    This way you will get around the Image link problem and will be able to print as many documents as you want!

    Let me know what you think?

    Later

    Patrick

Your Comments

Name:
E-mail:
(optional)
Website:
(optional)
Comment: