Christopher Hujanen is a .NET Software Developer based in the Madison, Wisconsin area.
You may follow him on twitter at http://twitter.com/hugeonion.
Christopher Hujanen is a .NET Software Developer based in the Madison, Wisconsin area.
You may follow him on twitter at http://twitter.com/hugeonion.
January 5, 2012 at 9:21 am
Great article. It works very well at my, Windows 7 Enterprise, Adobe 9.2.0, MS Visual Studio 2010.
On the other hand, I’m trying to make an application (C#, Visual Studio 2010) that prints a PDF file. I found into the library COM imported, the class axAcroPDF1, that there are methods for print the PDF file just loaded, but do you know how could I do setting the paper size for the printer before print the file? I saw there is a method printWithDialog() that open the standard print dialog (and where it can chose the paper size, orientation etc etc), but I don’t want use this function. Because I’d like do make an application that reads the paper size from a textfile, and into a loop, without any external intervention, has to set the papersize for the printer and prints the pdf file with the paper set. In other words, I need a modality to use some eventually Adobe library already created that can set the printer parameters (papersize, orientation etc) and print the file.
Thx