private void btnPrintForm_Click(object sender, EventArgs e) { printDocument2.Print(); }
private void printDocument2_PrintPage(object sender, PrintPageEventArgs e) { Graphics info = e.Graphics; String infomessage = DateTime.Today.ToString("d") + "\r\n" + listView1.Items[0].SubItems[4].Text; Font infoFont = new Font("Arial", 12, System.Drawing.GraphicsUnit.Point); info.DrawString(infomessage, infoFont, Brushes.Black, 250, 200); }