You definitely do not need a WinForm print application. JUst use PrintDocument and DrawImage , and you can do something like this:
PrintDocument pd = new PrintDocument(); pd.PrintPage += (thesender, ev) => { ev.Graphics.DrawImage(Image.FromFile("Your Image Path"), //This is to keep image in margins of the Page. new PointF(ev.MarginBounds.Left,ev.MarginBounds.Top)); }; pd.Print();
Hope this helps. (I used Lambada and an anonymous delegate to handle the event, I donโt understand that please say that I will publish the regular version)
Shekhar_Pro
source share