html to pdf
Posted
#1
(In Topic #1317)
Regular

I can get the page and extract the node OK into a string, what I have never tried is converting that string to a pdf object inside the program code. In short I have no idea.
The node concerned is generally text but includes html tables etc, no diagrams. Essentially I'm trying to get the "information" from the page without all the page designer's beautiful surrounding garbage, aka useless crap.
The storing it in the database is also easy-peasy. So its just the pdf stuff, without losing the formats.
BTW, this arose because some internet idiot said it cant be done. Which seemed kind of stupid as most browsers have a "print selection to pdf file" available.
tia
the other bruce
Posted
Regular

- "<COLOR color="#800000">Output</COLOR>" property of the "Printer" class
Stampare in Gambas - Gambas-it.org - Wikipedia
- by using "<COLOR color="#800000">gb.cairo</COLOR>" resources:
Creare un file PDF con le risorse del Componente gb.cairo - Gambas-it.org - Wikipedia
Europaeus sum !
<COLOR color="#FF8000">Amare memorentes atque deflentes ad mortem silenter labimur.</COLOR>
<COLOR color="#FF8000">Amare memorentes atque deflentes ad mortem silenter labimur.</COLOR>
Posted
Guru

Code (gambas)
<IMG src="https://www.cogier.com/gambas/PDF_Example.png">
</IMG>
1 guest and 0 members have just viewed this.


