Solved

Adobe Acrobat

Posted on 1997-09-14
6
550 Views
Last Modified: 2010-04-04
Does anyone know of a way to print Adobe Acrobat files within Delphi (either 1, 2 or 3) without calling Acrobat?

I would prefer a component, but anything will help.

Many thanks!
0
Comment
Question by:Stuart_Johnson
  • 3
  • 3
6 Comments
 
LVL 3

Accepted Solution

by:
KE earned 100 total points
ID: 1344852
I don't know what you mean by not calling Acrobat. If you don't want to make a PDF parser, you will need to launch Acrobat.
I've asked Adobe if they could document the "auto" print feature of Acrobat, and their answer is as follows:

-------------

The method to do what your customer wants is undocumented because it has
not been tested and therefore is unsupported. As far as I know, however, there haven't been any problems reported. The parameters are as follows.

AcroRd32.exe /t path printername drivername portname

The four parameters of the /t option evaluate to path, printername, drivername and portname (all strings). It fills out AVDocPrintParamRec struct which is documented in the Acrobat Viewer Plug-In API On-Line Reference
Manual (appended). FYI, I have also appended Distiller info that among other things describes the available command line options.

-----------------

I hope that this can help you.
0
 
LVL 6

Author Comment

by:Stuart_Johnson
ID: 1344853
Thanks for the info.  However, would it be possible to get the Distiller and Plug-In reference docos?  I will grade your answer as excellent regardless, but it would really be appreciated if you could append that information.

Cheers,

Stuart
0
 
LVL 3

Expert Comment

by:KE
ID: 1344854
When i got the answer from Adobe, it was forwarded by a Danish distributor, who i think, has omitted the distiller info. As i didn't needed that part, i just left it alone. Anyway i'll try to write back to him to get the distiller info. This was two weeks ago, so i hope he haven't trashed it.

Regards
Kenneth

PS. Thanks for the grade !!!
0
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.

 
LVL 6

Author Comment

by:Stuart_Johnson
ID: 1344855
Thanks for any further information you can provide.

Stuart
0
 
LVL 3

Expert Comment

by:KE
ID: 1344856
Hi Stuart,

Now i've got the information - it looks like it's compressed in some kind of Macintosh Style (HQX).
Well, drop your mail adress and i'll send it...

Regards
Kenneth
0
 
LVL 6

Author Comment

by:Stuart_Johnson
ID: 1344857
Thanks for that Kenneth.  Much appreciated.  My email address is stuartj@futureschool.com.au

Regards,

Stuart.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying 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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
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 video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

840 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