Generate PDF with Images and Download

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
mlyons
New User
Posts: 9
Joined: Thu Jun 30, 2016 9:21 am
First Name: Michelle
Last Name: Lyons
Company Name: imPower Technologies
Contact:

Generate PDF with Images and Download

Post by mlyons »

I know how set things up to download an existing pdf file on the ifs. I am looking to generated a PDF from an image with fields overlaid on it.

I can get what I want by using window.print() and then saving as a pdf, but I would like to be able to achieve this when pressing a button on the display file. Is there a way to do this using profound? Thanks!
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: Generate PDF with Images and Download

Post by Scott Klement »

We do not have something like this built-in to our products

A quick search of NPM finds lots of free tools for converting images, you could potentially use one of these from Profound.js. I have not tried them personally.
https://www.npmjs.com/search?q=png%20to%20pdf
mlyons
New User
Posts: 9
Joined: Thu Jun 30, 2016 9:21 am
First Name: Michelle
Last Name: Lyons
Company Name: imPower Technologies
Contact:

Re: Generate PDF with Images and Download

Post by mlyons »

Thanks Scott. I am using Profound UI so I would be using RPG and a Rich Display File if that makes a difference.
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: Generate PDF with Images and Download

Post by Scott Klement »

Profound Logic does not provide tools for converting images to PDF in any of its products.

The link I provided above is for free tools that I found in a quick search that does what you're asking for. These are Node.js tools, but do not require Profound.js to use them, so you could potentially write a Node.js script that you call from your RPG program. Alternately, you could look for other tools that work in other environments.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest