• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 6742
  • Last Modified:

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.
0
JRockFL
Asked:
JRockFL
1 Solution
 
AndyAinscowFreelance 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.

Join & Write a Comment

Featured Post

Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now