Ringa_php Posted March 26, 2010 Share Posted March 26, 2010 Hi Guys! Is it possible to print the document directly without preview?Let me explain in detail..My client requirement is to print the online course certificate without previewing them,so that the endusers will not take the screenshot of the certificate which avoids misusing the certificate. Can anyone help on this? Note : I use php/mysql in my project. Thanks Quote Link to comment https://forums.phpfreaks.com/topic/196570-direct-print-possible-in-php/ Share on other sites More sharing options...
Zane Posted March 26, 2010 Share Posted March 26, 2010 .. this is what you call a case of .. lack of information. What document? What certificate?... the SSL certificate? a birth certificate? Quote Link to comment https://forums.phpfreaks.com/topic/196570-direct-print-possible-in-php/#findComment-1032062 Share on other sites More sharing options...
Ringa_php Posted March 26, 2010 Author Share Posted March 26, 2010 Zanus, I think I have mentioned it is an Online course certificate on my previous comment, did you read that?I think we should not deal the type of certificate, I must know whether its possible or not..If possible how can I do that? Thanks, Ringa Quote Link to comment https://forums.phpfreaks.com/topic/196570-direct-print-possible-in-php/#findComment-1032065 Share on other sites More sharing options...
Zane Posted March 26, 2010 Share Posted March 26, 2010 Yes, I read the online certificate part. It's an online class.. I realize that. But the most vital information when it comes down to getting an actual screenshot is.. what format is the "document" (slash) "certificate?" Most likely you'll have to find a PHP Class (most likely that uses the GD library) that handles creating screenshots from PDFs or DOC files. But still, the only question I got out of your OP is.. "Is this possible?" It is, but it will take a bit of research. Quote Link to comment https://forums.phpfreaks.com/topic/196570-direct-print-possible-in-php/#findComment-1032066 Share on other sites More sharing options...
trq Posted March 26, 2010 Share Posted March 26, 2010 Where do you want this certificate printed? On the client machine? Then, your question is not at all related to php. Quote Link to comment https://forums.phpfreaks.com/topic/196570-direct-print-possible-in-php/#findComment-1032067 Share on other sites More sharing options...
Ringa_php Posted March 26, 2010 Author Share Posted March 26, 2010 Yes on my client machine, after my resaerch itseems that there is a possibility to print it by hiddng the div...Anyhow I have to try...How you say that it is not related to php? Quote Link to comment https://forums.phpfreaks.com/topic/196570-direct-print-possible-in-php/#findComment-1032075 Share on other sites More sharing options...
Zane Posted March 26, 2010 Share Posted March 26, 2010 Because PHP is server side.. not client side. Now if you were wanted to cache these screenshots on the server and THEN display them client side.. that would be a different story. Quote Link to comment https://forums.phpfreaks.com/topic/196570-direct-print-possible-in-php/#findComment-1032105 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.