Solved

URGENT! Printing PDF's from Coldfusion

Posted on 2004-08-05
5
194 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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
how to enable php7 module in nginx configuration file 8 404
Use System DSN 6 87
ColdFusion Rereplace 3 80
web & database SERVERS -- PHYSICAL & VM ? 5 56
Have you ever sent email via ColdFusion and thought of tracking this mail to capture the exact date and time when the message was opened ?  If yes, then this article is for you ! First we need a table user_email with columns user_id , email , sub…
Objective of This Article In 1990’s, when I was a budding software professional, I had a lot of confusion about which stream or technology, I had to choose to build my career. In those days, I had lot of confusion like whether to choose System so…
The purpose of this video is to demonstrate how to manually back up a WordPress Database. This will be demonstrated using a Windows 8 PC. The Host used will be IPage.com Log into your Hosting account. IPage will be used for demonstration : Locat…
The purpose of this video is to demonstrate how to Import and export files in WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Click on Too…

777 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