Solved

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

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

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…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

816 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

8 Experts available now in Live!

Get 1:1 Help Now