Printing Images

I am trying to print the attached image using the following code:


pd2.DefaultPageSettings.Margins = new System.Drawing.Printing.Margins(0, 0, 0, 0);
pd2.OriginAtMargins = true;
pd2.DefaultPageSettings.Landscape = false;

pd2.PrintPage += (sender, args) =>
{
System.Drawing.Image i = System.Drawing.Image.FromFile(“C:\6\BubbleForm.tif”);
System.Drawing.Rectangle m = args.MarginBounds;

if ((double)i.Width / (double)i.Height > (double)m.Width / (double)m.Height) // image is wider
{
m.Height = (int)((double)i.Height / (double)i.Width * (double)m.Width);
}
else
{
m.Width = (int)((double)i.Width / (double)i.Height * (double)m.Height);
}
args.Graphics.DrawImage(i, m);

};

pd2.Print();

In your experience will the bubble image print the same to any printer so that the location of the bubble forms will be the same?

Scott
Hi Scott,

Thank you for your inquiry.

Yes you can say that settings of every device can affect the printed page but the overall change will be very slight and resultant printed pages will look like identical.