Jump to content

Printing webpage with multiple datapages and PDF files


Recommended Posts

We have a webpage consisting of multiple datapages. Some datapages contain HTML. Some datapages contain images. Some datapages contain uploaded PDF files. The PDF files may be 1 to 15 pages long. We can print the entire webpage and the datapages with images print fine. However, we can't figure out how to print the webpage AND the PDF files with a single print button. 

Link to comment
Share on other sites

  • 4 years later...
  • 3 months later...

Hi everyone!  Caspio has new update and enhancement about PDF Documents. You can now insert PDF documents on results pages in addition to details pages. You can now as well customize the “Download PDF” action link using the associated style and localization, or create a custom display during DataPage configuration.

It is available in R31 version: https://howto.caspio.com/release-notes/caspio-31-0/

Link to comment
Share on other sites

  • 4 weeks later...

Hi all,

Feel free to use the following solution:
1. Create an HTML datapage, go to the Source mode, deploy other datapages there using an iframe deployment method, and add the code for the PDF link:
<a href="[@cbprotocol][@cbbridgeservername]/PDFGen.aspx?AppKeys=DPAppKey1,DPAppKey2" target="_blank"><img src="[@cbprotocol]static.caspio.com/bridge/images/PDF_print.png" alt="Download as PDF" border="0"/></a>


2. Replace “DPAppKey1” with the AppKey of the DataPage 1

3. Replace “DPAppKey2” with the Appkey of the DataPage 2

4. You can also choose to display a different PDF icon by replacing the default icon URL “[@cbprotocol]static.caspio.com/bridge/images/PDF_print.png” with your own icon URL

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...