URGENT! Printing PDF's from Coldfusion

Posted on 2004-08-05
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
Question by:Plucka
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 17

Expert Comment

ID: 11732905
LVL 18

Author Comment

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.
LVL 21

Expert Comment

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.
LVL 11

Expert Comment

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


i am sure u already know abt this..


Accepted Solution

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: (save as printpdf.bat)

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

That should do it, any questions just holler.


Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Tool to email me when a website changes 29 138
PHP Register global 21 105
Website URL redirection 10 80
Best practices for sharing large amounts of data 9 107
Lease-to-own eliminates the expenditure of hardware replacement and allows you to pay off the server over time. Usually, this is much cheaper than leasing servers. Think of lease-to-own as credit without interest.
What You Need to Know when Searching for a Webhost Provider
The purpose of this video is to demonstrate how to connect a WordPress website to Google Analytics. This will be demonstrated using a Windows 8 PC Go to your WordPress login page. This will look like the following: :…
The purpose of this video is to demonstrate how to automatically show related posts at the bottom of a blog post in WordPress. This will be demonstrated using a Windows 8 PC. Plugin “Yet Another Related Posts Plugin” will be used. Go to your…

735 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