Using PrintDocument to print PDF files

Is it possible to print PDF files using PrintDocument?
The only solution I have found is to create a process to print them.

I would prefer to use PrintDocument.
I'm batch printing hundreds of PDF files.
LVL 8
JRockFLAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
AndyAinscowConnect With a Mentor Freelance programmer / ConsultantCommented:
The printdocument class is used to print out the contents of your form to the printer.  
http://msdn.microsoft.com/en-us/library/system.drawing.printing.printdocument%28v=vs.110%29.aspx
Reading your question it sounds like you want to print an existing pdf file.  If that is the case then the answer to your question is no, you can not print pdf files with printdocument.

(If you were coding some sort of pdf viewer and displaying the file contents on screen then it might be possible).
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.