1

Topic: Wanting opinions, (again). :D

Just wondered whether this looked/worked okay.

URI: http://forums.bauchan.org/testforum/viewtopic.php?id=1

Click on the [pdf version] button near the top. It just makes a pdf of the printable page view. (It prompts to download instead of opening within the tab/window).

What's the opinion? Btw, that thread is just full of meaningless nonsense. big_smile


Cheers,

Matt

Re: Wanting opinions, (again). :D

Looks okay to me. smile

Re: Wanting opinions, (again). :D

http://forums.bauchan.org/testforum/mod … /index.php
I think you might be better off modifying pdfgen just to take an ID.

http://fluxbb.org

Free PunBB Hosting - lots of mods, easy to customize

4 (edited by MattF 2008-04-13 12:29)

Re: Wanting opinions, (again). :D

Smartys wrote:

http://forums.bauchan.org/testforum/mod … /index.php
I think you might be better off modifying pdfgen just to take an ID.

Good point. big_smile I'll get the old thinking gear on that one. It's a bit beta'ish in setup at the moment, big_smile as it calls the viewprintable script, and uses the output from that. I haven't set it up to use the default method of pulling info directly from the page. Wanted it as more of an archive the printable topic view option, rather than a full generate pdf of any page option.

5

Re: Wanting opinions, (again). :D

Sorted. smile How's the setup now? It still only does topics, but it has a graceful exit now. big_smile

6

Re: Wanting opinions, (again). :D

Jarkko wrote:

Looks okay to me. smile

Cheers. smile It's been an absolute bugger to get working nicely though. big_smile

It's based on this: http://tufat.com/s_html2ps_html2pdf.htm

Not exactly what one might call the lightest of software, but requires far less intensive scripting than the alternatives I've found so far.

7 (edited by MattF 2008-04-15 17:26)

Re: Wanting opinions, (again). :D

Incorporated it into the articles section too now. big_smile Does this 12x12 icon look okay, btw?

http://forums.bauchan.org/testforum/images/buttons/pdfgen.png

Or is this one better?

http://forums.bauchan.org/testforum/images/buttons/pdfgen1.png

Re: Wanting opinions, (again). :D

MattF wrote:

Incorporated it into the articles section too now. big_smile Does this 12x12 icon look okay, btw?

http://forums.bauchan.org/testforum/ima … pdfgen.png

Or is this one better?

http://forums.bauchan.org/testforum/ima … dfgen1.png

I dont like it. sad

Nick the wordpress pdf icon, thats pretty cool.

9

Re: Wanting opinions, (again). :D

Do they have a small version of that, or just the 32x32 that's in the download? Tried scaling that one down, but you can hardly tell what it is once it gets down to 12x12. big_smile

10 (edited by StevenBullen 2008-04-15 18:22)

Re: Wanting opinions, (again). :D

MattF wrote:

Do they have a small version of that, or just the 32x32 that's in the download? Tried scaling that one down, but you can hardly tell what it is once it gets down to 12x12. big_smile

Fair comment.

I hate producing small pictures.... sad They never come out like you want them too.

11

Re: Wanting opinions, (again). :D

StevenBullen wrote:

I hate producing small pictures.... sad They never come out like you want them too.

Too true. It is awfully limiting on ones artistic prowess at that size ain't it. big_smile

12

Re: Wanting opinions, (again). :D

Same topic, slightly different question. big_smile I've implemented caching on the pdf feed now. Any chance someone could double check it's feeding okay, not corrupting, etc? smile Working fine from this end, but ne'er hurts to double check. big_smile First click on the pdf icon now creates the cache and feeds from it, and the second click just feeds directly from the cached copy unless the thread/article has been updated.

13 (edited by MattF 2008-04-18 11:14)

Re: Wanting opinions, (again). :D

Well, decided to call it a day with the html2pdf, and switched over to TCPDF. Output is nowhere near as pretty, (doesn't have the CSS support), but by christ, it's a damned sight less flaky than the previous software/parser. big_smile When it decided to work smoothly, it could easily ramp up stupid amounts of memory whilst parsing/processing. Set the PHP mem limit upto 256MB at one point, and it still ditched. So, thought sod that for a lark and switched. big_smile This one, (http://www.tecnick.com/public/code/cp_d … p_dp=tcpdf), is far less intensive, but still has a fairly straight forward API that doesn't require cartloads of cryptic pointers.

14 (edited by MattF 2008-04-19 10:15)

Re: Wanting opinions, (again). :D

Okey dokey. Managed to appropriate an icon which didn't rescale too badly. big_smile What's the opinion on the first icon in that post above?