Solved

Printing PDF's from delphi app WITHOUT viewing them 1st

Posted on 2003-11-16
3
303 Views
Last Modified: 2010-04-05
I need an existing delphi application to print pdf files that reference an fdf file WITHOUT viewing the pdf in a third party reader such as Adobe Acrobat Reader on a windows platform. I am not a Delphi developer however I am researching this for a developer. Right now the Adobe reader is embedded in our application but we have issues with  it. We want to get away from depending on an third party element within our app. For example ... in windows if you right click on the pdf file and select print it opens adobe minimized on the task bar but not the pdf file itself which is acceptable. But it also still pulls in the fdf field values that fills out the form....so even though I didn't open the pdf directly it still pulled the field values and printed the form filled out with those values. If possible I need confirmation that this can or cannot be done. If it can I need code examples. TIA!
0
Comment
Question by:RyanAllen
[X]
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
3 Comments
 
LVL 5

Accepted Solution

by:
snehanshu earned 400 total points
ID: 9761736
>>For example ... in windows if you right click on the pdf file and select print it opens adobe minimized on the task bar but not the pdf file itself which is acceptable.

One way you could do this as is from this previously asked question:
http://www.experts-exchange.com/Programming/Programming_Languages/Delphi/Q_20463972.html

HTH
...Shu

Accepted Answer from Madshi
Date: 01/20/2003 01:19AM IST
 Accepted Answer  

Are you serious? Do you know how complicated the pdf format is? I don't think you'll find sources for that.

Please either use the ActiveX control or alternatively use:

ShellExecute(0, 'print', 'c:\example.pdf', nil, nil, SW_SHOWNORMAL);

Regards, Madshi.  

0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

690 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