Solved

how can i print a tiff file in c# through the printdialog and pass the number of copies to print?

Posted on 2011-03-21
1
1,463 Views
Last Modified: 2012-05-11
how can i print a tiff file in c# through the printdialog and pass the number of copies to print?
0
Comment
Question by:cbrune
1 Comment
 
LVL 10

Accepted Solution

by:
khan_webguru earned 500 total points
ID: 35181932
Hello Bro!

You can print .tiff image by using following code:

 
PrintDocument printDocument = new PrintImage { ImageToPrint = Image.FromFile(path) };

var ppd = new PrintDialog
{
Document = printDocument
};

if (ppd.ShowDialog() == DialogResult.OK)
{

printDocument.Print();

}

Open in new window


Following link can also be helpful for you.

http://www.snowbound.com/tech_tips/p_multi_tiff.html

Regards,

Asif Ahmed Khan
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
About delegates in c sharp 3 49
Connection String 16 61
C#  Radio button search for Date not DateTime 4 47
List<PaisEntity> - show some 1 24
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…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

803 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