A
Anne DeBlois
Hi,
I want to programatically set the paper size of a print document. I created
a class that inherits PrintDocument, so I can print some database records on
8" x 10" paper.
I added this line to my class constructor:
Dim customPaperSize As New Printing.PaperSize("8x10", 800, 1000)
But now I am looking for the proper code lines so that any instance of my
class sends the proper size information to the printer, without user
intervention. How do I do it with VB.NET (with .NET 2.0)?
Thank you in advance,
Anne
I want to programatically set the paper size of a print document. I created
a class that inherits PrintDocument, so I can print some database records on
8" x 10" paper.
I added this line to my class constructor:
Dim customPaperSize As New Printing.PaperSize("8x10", 800, 1000)
But now I am looking for the proper code lines so that any instance of my
class sends the proper size information to the printer, without user
intervention. How do I do it with VB.NET (with .NET 2.0)?
Thank you in advance,
Anne