How to get the PrintDocumentImageableArea for a given PrintQueue without going through PrintDialog?
- by Patrick Klug
From MSDN (link):
The type PrintDocumentImageableArea
has no public constructor. Hence, the
variable documentImageableArea must be
declared and assigned to Nothing and
only then passed to the method. This
method displays a PrintDialog
requiring input from the user. After
the user has selected a printer, paper
size, and…