I'm using code as below in my print doc, theres more but that's just an example of how i'm rendering the invoice from the form:
private void printDocument1_PrintPage(object sender, System.Drawing.Printing.PrintPageEventArgs e)
{
//maybe do something here to import background image then print below over the top?
using (Font font = new Font("Arial", 10))
e.Graphics.DrawString(companynameTextBox.Text, font,
SystemBrushes.WindowText, e.PageBounds.X + 80, 240);
using (Font font = new Font("Arial", 10))
e.Graphics.DrawString(address_1TextBox.Text, font,
SystemBrushes.WindowText, e.PageBounds.X + 80, 260);
}
VulpesPosted Mar 22, 2012, 3:42 PM
e.Graphics.DrawImage(img, e.PageBounds);
mike DelvottiPosted Mar 23, 2012, 4:27 AM