By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,192 Members | 1,276 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,192 IT Pros & Developers. It's quick & easy.

Printing PDF programmatically using 6.0

P: n/a
Hi there...

I have Acrobat Reader 6.0 installed (yes, I know it's old, but that's
what my company is using) on my machine and I have been trying to get
the following C# code (and other similar code) working in VS 2005 but
it throws an exception when loading the file. For the record, I have
added pdf.ocx as a reference to the C# project.

PdfLib.Pdf myPdf;
myPdf = new PdfLib.PdfClass();
myPdf.LoadFile(fileName);
myPdf.Print();

Any insight on what I am doing wrong?

After a little bit of researching, my impression is that this code will
not work without the Acrobat SDK or at least Acrobat installed. Is that
the case?

If that is the case and I successfully get this code working on my
developer machine with the Acrobat SDK, will it run on a machine that
only has Acrobat Reader 6.0 installed on it?

If I can run this executable on a machine with only Acrobat 6.0
installed, do I need to all need to distribute any other assemblies?

If I need to distribute any other assemblies, is it within the SDK
license to do so.

Thanks in advance

Ray

Mar 14 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.