Printing margins and grayscale printing in C#
I'm trying to set the current printing margins to some very low values (like 2mm, for example - 5mm AT MOST). Now, I have the following questions:
a) is this recommendable ? can the printer head get broken if I make it print so close to the paper margin ? (I'm asking this because maybe someone has done it before)
b) how do I set these margins ? I tried the following:
pdPrintDoc.DefaultPageSettings.Margins.Bottom = Convert.ToInt32(0.2*1/(2.54)*100);
pdPrintDoc.DefaultPageSettings.Margins.Left = Convert.ToInt32(0.2*1/(2.54)*100);
pdPrintDoc.DefaultPageSettings.Margins.Right = Convert.ToInt32(0.2*1/(2.54)*100);
pdPrintDoc.DefaultPageSettings.Margins.Top = Convert.ToInt32(0.2*1/(2.54)*100);
But it seems that it doesn't work!
c) how do I force the printer to print in grayscale mode from C# ?
Thank you all very much, and have a nice day!
Andrei Ismail

