wint.thaw Posted May 7, 2007 Share Posted May 7, 2007 Dear all PHP guru I would like to print pdf file store in my server without prompting user. The scenario is I had generate PDF files through cronjob php file. Another page is display all the pdf generated files. User select the pdf file and click on print button. What I would like PHP to do is, to print the pdf file is using client default printer without prompting print dialog. Any help is appreciate. If you have something better in mind that can fulfill, please kindly help me to post here. Thanks Guys. Wint Quote Link to comment https://forums.phpfreaks.com/topic/50358-printing-pdf-file-using-php-without-prompting-print-dialog/ Share on other sites More sharing options...
benjaminbeazy Posted May 7, 2007 Share Posted May 7, 2007 correct me if i'm wrong ppl, but i don't believe that's possible Quote Link to comment https://forums.phpfreaks.com/topic/50358-printing-pdf-file-using-php-without-prompting-print-dialog/#findComment-247296 Share on other sites More sharing options...
MadTechie Posted May 7, 2007 Share Posted May 7, 2007 lookup javascript in PDF's you can create one to print on opening and then have the pdf opened via a frame. this would then automatically print. Quote Link to comment https://forums.phpfreaks.com/topic/50358-printing-pdf-file-using-php-without-prompting-print-dialog/#findComment-247320 Share on other sites More sharing options...
igor berger Posted May 7, 2007 Share Posted May 7, 2007 Mad, do you charge for your advise or do you give it out for free? Quote Link to comment https://forums.phpfreaks.com/topic/50358-printing-pdf-file-using-php-without-prompting-print-dialog/#findComment-247359 Share on other sites More sharing options...
MadTechie Posted May 7, 2007 Share Posted May 7, 2007 LOL, Oh yeah thats $2 please heeehee i'm happy to help Quote Link to comment https://forums.phpfreaks.com/topic/50358-printing-pdf-file-using-php-without-prompting-print-dialog/#findComment-247371 Share on other sites More sharing options...
wint.thaw Posted May 10, 2007 Author Share Posted May 10, 2007 Dear Mad Thanks for sharing the information. But unfortunately the pdf files are not possible to put javascript because it is using for other purpose as well. Just want to print something like ghostscript printing but ghostscript printing is using server network printer. Is there anyother way to print out using client resource? Regards Wint Quote Link to comment https://forums.phpfreaks.com/topic/50358-printing-pdf-file-using-php-without-prompting-print-dialog/#findComment-249655 Share on other sites More sharing options...
MadTechie Posted May 10, 2007 Share Posted May 10, 2007 Theirs no other way i can think of.. infact i am surprised that adobe allow printing without promoting (but it can be disabled) sorry but please if you find a way please share the info options: Maybe ActiveX, Maybe Flash, Maybe Java, Create your own browser (ok this is getting silly) Quote Link to comment https://forums.phpfreaks.com/topic/50358-printing-pdf-file-using-php-without-prompting-print-dialog/#findComment-249672 Share on other sites More sharing options...
fou2enve Posted May 10, 2007 Share Posted May 10, 2007 I know you can do it in VB because ive done with with network printers but that was not an ActiveX control tho. In theory you could write it in VB as an ActiveX and then integrate that into a page. Are you trying to print on the client or server btw? Quote Link to comment https://forums.phpfreaks.com/topic/50358-printing-pdf-file-using-php-without-prompting-print-dialog/#findComment-249811 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.