Solved

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

Posted on 2003-11-16
3
295 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
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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

760 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

23 Experts available now in Live!

Get 1:1 Help Now