PDF Print / Print Setting

Hi,

Is it possible to create two buttons (btn1 and btn2) in my winform so that when I press

btn1:

A print dialogue appears and allows me to change the print settinng.

btn2:

Print the document according to the print setting I set in btn1.

I have taken a look at the PrintDialog class, with PrintDialog I need to use PrintDocument. But seems with PrintDocument, I need to play with the Graphics object and now I want to print PDFs....

Any tutorials/links/resources will be great.

Michael


Answer this question

PDF Print / Print Setting

  • Matt... THW

    Thanks. I wrongly assume printing in .NET is trivial stuff.
  • bhavin.desai

    We use a product from http://www.wpcubed.com/ that will programatically print PDFs - much cheaper than the equivalent license from Adobe.

    Alternatively, launch the document in Acrobat, and the user then uses normal Acrobat print functions to print it. This assumes the user has the freeware Acrobat reader installed.

  • Samir Bolton

    To change print settings, you are right, you will need to use PrintDialog class.  However, .NET does not support printing PDF's.  You will need a third party product.



  • PDF Print / Print Setting