Displaying a pdf

25 views
Skip to first unread message

Rick Weiser

unread,
Jan 24, 2019, 10:20:28 AM1/24/19
to DesignBais-Forum
Hi Guys,

I am looking for suggestions on how to display a multi-page pdf on a designbais form.

Thanks,

Rick

Marcelo Escallon

unread,
Jan 24, 2019, 1:09:10 PM1/24/19
to designba...@googlegroups.com
Hi Rick
I never use the designbais option in order to generate pdf's, I prefer to handle all the pdfs reports using Basic programming
Just generate an html output ( it needs css knlowledge ) and then with a OS procedure call Execute an script and i use a princeXML to convert the HTML to PDF .

Hope it helps.


--
You received this message because you are subscribed to the Google Groups "DesignBais-Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to designbais-for...@googlegroups.com.
To post to this group, send email to designba...@googlegroups.com.
Visit this group at https://groups.google.com/group/designbais-forum.
For more options, visit https://groups.google.com/d/optout.


--

Marcelo Escallón M. | CEO
Euphorianet SAS | Calle 74a #22-31 Oficina 301 | Bogotá
T +57 (1) 540 82 81 | C +57 316 833 8270
euphoria-net.com |@euphorianet | skype: marcelo.escallon

Martyn Parlane

unread,
Jan 24, 2019, 2:36:53 PM1/24/19
to DesignBais-Forum
Hi Rick

Could you use a DBWORK output field and populate it with <embed src="urlForMy.pdf" /> ?

Martyn

David Knight

unread,
Jan 25, 2019, 2:41:37 AM1/25/19
to DesignBais-Forum
Hi Marcello,
I think Rick want to display a pdf, not create one.

David Knight

unread,
Jan 25, 2019, 2:44:49 AM1/25/19
to DesignBais-Forum
I think Martyn's suggestion would work, or is very close to a solution.

In essence I bevel you have to push out an iframe into which you would show the url of the pdf. Of course, that requires the browser to be able to display a pdf; and I suspect some browsers would rather display it the way IT wants; not neatly I'm guessing the way you want. Presumably neatly in a box of some form?

Otherwise you need somekind of pdf display solution you control at your end. I've not heard of one that would do that.

Sorry.
Reply all
Reply to author
Forward
0 new messages