Hello Dear
public PrintingExample()
{
PrintDocument PD = new PrintDocument();
PD.PrintPage += new PrintPageEventHandler(PrintDocument_PrintPage);
PD.Print();
}
private void PrintDocument_PrintPage(object sender, PrintPageEventArgs e)
{
Bitmap Bmp = new Bitmap(this.DesktopBounds.Width,
this.DesktopBounds.Height);
this.DrawToBitmap(Bmp, this.DesktopBounds);
e.Graphics.DrawImage(Bmp, 0, 0);
}