Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: wjhdiz on April 26, 2008, 01:27:50 PM

Title: Help: Print pictures in post can not be printed and also pdf print.
Post by: wjhdiz on April 26, 2008, 01:27:50 PM
Hi,

This has been a problem in the previous feature as the pictures in post can not be printed. Is there a mod that does the work?

Also, can print directly print a pdf file?

Thanks.
Jimmy
Title: Re: Help: Print pictures in post can not be printed and also pdf print.
Post by: Aleksi "Lex" Kilpinen on April 29, 2008, 05:26:15 AM
I do remember pictures in print -view has been a topic of discussion here at some point,
can't remember if it got ever resolved somehow... Search might help.

But for printing a pdf -file, there are drivers that you can install as a virtual printer, that you use just like you'd be printing out to a real printer, but it just makes a .pdf instead.
I've used one driver like this at some point myself, but am sorry to say I can't remember where I got it...

EDIT:

One such driver http://www.cutepdf.com/Products/CutePDF/writer.asp
( I have no connection to this particular vendor, and have not tested this. So just the link is just to illustrate a point. )
Title: Re: Help: Print pictures in post can not be printed and also pdf print.
Post by: wjhdiz on April 29, 2008, 09:31:59 AM
Thanks LexArma.

Is the pdf writer a server site or client site? I would like to see a server site writer.

Jimmy
Title: Re: Help: Print pictures in post can not be printed and also pdf print.
Post by: Aleksi "Lex" Kilpinen on April 29, 2008, 10:06:08 AM
Those are client side drivers. Don't know of a way to implement it server side.
Title: Re: Help: Print pictures in post can not be printed and also pdf print.
Post by: Rumbaar on May 06, 2008, 03:59:28 AM
For the print to display your images, you can try a modification to the $source/Printpage.php

Find:
'body' => parse_bbc($row['body'], 'print'),
Change to:
'body' => parse_bbc($row['body']),

Initial testing shows it works, but I'm not sure of other implications in the Print preview page.
Title: Re: Help: Print pictures in post can not be printed and also pdf print.
Post by: wjhdiz on May 06, 2008, 10:02:26 PM
Great! this definitely shows light for the solution and encouraging. I will give a try.

Thanks.