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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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)

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.