Solved

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

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

911 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

22 Experts available now in Live!

Get 1:1 Help Now