Solved

URGENT! Printing PDF's from Coldfusion

Posted on 2004-08-05
5
193 Views
Last Modified: 2013-12-24
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
0
Comment
Question by:Plucka
5 Comments
 
LVL 17

Expert Comment

by:anandkp
ID: 11732905
Use CFX_PDF ... or HTML2PDF
0
 
LVL 18

Author Comment

by:Plucka
ID: 11733030
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
 
LVL 21

Expert Comment

by:pinaldave
ID: 11733240
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
 
LVL 11

Expert Comment

by:hart
ID: 11733910
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
 
LVL 5

Accepted Solution

by:
Seth_Bienek earned 500 total points
ID: 11734918

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

Featured Post

Save on storage to protect fatherhood memories

You're the dad who has everything. This Father's Day, make sure your family memories are protected. My Passport Ultra has automatic backup and password protection to keep your cherished photos and videos safe. With up to 3TB, you have plenty of room to hold the adventures ahead.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This is a guide to setting up a new WHM/cPanel Server to be used for web hosting accounts. It is intended for web hosting company administrators and dedicated server owners. For under $99 per month (considering normal rate of Big Data Cetnters like …
Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
The purpose of this video is to demonstrate how to create a Printer Friendly PDF on a WordPress Page. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome Screenshot” Google Chrome Extension, and SmallPDF.com Log…
The purpose of this video is to demonstrate how to exclude a particular blog category from the main blog page. This is can be used when a category already has its own tab, or you simply want certain types of posts not to show up on the main blog. …

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now