Printer setup dialog

  • Thread starter Thread starter Zach
  • Start date Start date
Z

Zach

The printer setup dialog allows selecting the paper size (-:), however,
I need the dialog window to show A4 as the preselected paper size. Q:
How do I accomplish that? (I am aware of the code to select paper size,
without using the dialog.)

Thank you,
Zach.
 
The printer setup dialog allows selecting the paper size (-:), however,
I need the dialog window to show A4 as the preselected paper size. Q:
How do I accomplish that? (I am aware of the code to select paper size,
without using the dialog.)

Thank you,
Zach.

Should I conclude that what I want to do is impossible?

Zach.
 
The printer setup dialog allows selecting the paper size (-:), however,
I need the dialog window to show A4 as the preselected paper size. Q:
How do I accomplish that? (I am aware of the code to select paper size,
without using the dialog.)

Examine the properties of the PrintDialog type, specifically its
Document property. Then examine the Document object's
DefaultPageSettings property's PageSize property.
e.g.
PrintDialog.Document.DefaultPageSettings.PaperSize

A little RTFM goes a long way.

regards
A.G.
 
Examine the properties of the PrintDialog type, specifically its
Document property. Then examine the Document object's
DefaultPageSettings property's PageSize property.
e.g.
PrintDialog.Document.DefaultPageSettings.PaperSize

A little RTFM goes a long way.

regards
A.G.
A.G.,

Zach.
 
I would not say that's a logically sound conclusion, no.

Maybe it it's possible, maybe it's not. But the lack of a response by a
relatively limited audience does not provide any sort of reliable
indicator.

Pete

Your remark reflects statistically sound thinking :)

Zach.
 
Back
Top