A
ayoubahmed
Hi,,
Im trying to print invoices in VB.net, and the invoice is 8.5 x 8.5 inches.
Now i have to specify the new height, but when i do specify it using the
following commands
------------------------------------------------
PrintDocument1.DefaultPageSettings.PaperSize.Height = 8.5
PrintDocument1.DefaultPageSettings.PaperSize.Width = 8.5
PrintDocument1.Print()
------------------------------------------------
it tells me that i cann't do this because the Page's kind is not custom.
What can to print the invoices using these widths.
Thank you
Ahmed
Im trying to print invoices in VB.net, and the invoice is 8.5 x 8.5 inches.
Now i have to specify the new height, but when i do specify it using the
following commands
------------------------------------------------
PrintDocument1.DefaultPageSettings.PaperSize.Height = 8.5
PrintDocument1.DefaultPageSettings.PaperSize.Width = 8.5
PrintDocument1.Print()
------------------------------------------------
it tells me that i cann't do this because the Page's kind is not custom.
What can to print the invoices using these widths.
Thank you
Ahmed