Jump to content

Printing PDF file using PHP without prompting print dialog


wint.thaw

Recommended Posts

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

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

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)

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?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.