F
Flavio Zanellato
Hello,
anybody has worked with the
DEVMODE structure
and the page settings properties ?
I've not seen a way to
- get the actual DEVMODE data from a default printer
- change any setting
- copy back to the DEVMODE structure to the default printer
For example :
Dim DEVMODE As New DEVMODE
Dim pd As New PrintDocument
pd.DefaultPageSettings.CopyToHdevmode(DEVMODE) <---- error, accept only
IntPtr
Thanks to all.
anybody has worked with the
DEVMODE structure
and the page settings properties ?
I've not seen a way to
- get the actual DEVMODE data from a default printer
- change any setting
- copy back to the DEVMODE structure to the default printer
For example :
Dim DEVMODE As New DEVMODE
Dim pd As New PrintDocument
pd.DefaultPageSettings.CopyToHdevmode(DEVMODE) <---- error, accept only
IntPtr
Thanks to all.