Printer setup dialog

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.
 
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.

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

Zach.
 
R

Registered User

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.
 
Z

Zach

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.
 
Z

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top