Solved

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

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

738 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