Solved

Using PrintDocument to print PDF files

Posted on 2013-12-05
1
4,690 Views
Last Modified: 2013-12-05
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
Comment
Question by:JRockFL
1 Comment
 
LVL 44

Accepted Solution

by:
AndyAinscow earned 500 total points
ID: 39698931
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

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
EF5: Question about Metadata Artifact Processing 4 23
What Does This C# Code Block Do? 5 57
abstract class C# 1 31
Please explain purpose of GZIP 4 36
Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question