URGENT! Printing PDF's from Coldfusion

What is the easiest way to print a PDF document to a printer connected to the server. Using either COM or a Tool or other?

I need this urgently
LVL 18
PluckaAsked:
Who is Participating?
 
Seth_BienekConnect With a Mentor Commented:

If you are wanting to print from the server, then first you'll need to install Acrobat Reader on the server.

Next drop Rob can der Woude's PrintPDF.bat batch file onto your server, preferrably somewhere outside your web root:

http://www.robvanderwoude.com/files/printpdf_nt.txt (save as printpdf.bat)

Lastly, just call printpdf.bat from your CF template using <cfexecute>!

That should do it, any questions just holler.

Seth
0
 
anandkpCommented:
Use CFX_PDF ... or HTML2PDF
0
 
PluckaAuthor Commented:
I believe these create PDF's not print PDF's, I create the PDF's I just want to send them to a printer defined on the server.
0
 
pinaldaveCommented:
last year I had unsucessful attempt of using javascript and PDF. Though my another programmer friend claimed that they have used it sucessfully. This is not your answer but may be this will give you some thoughts.
http://www.planetpdf.com/developer/article.asp?ContentID=6103
Regards,
---Pinal
0
 
hartCommented:
ok if you have created your pdf...
then the person who is viewing it will view it using acrobat reader and in that it self you have print option...

but if u have given a button on ur site saying print pdf...
then you will have to pop up a window with the conetents that are there in the pdf and then just use javascript  command...

window.print();

i am sure u already know abt this..

Regards
Hart
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.