Hell

In my windows application I need to save runtime printer settings to an XML file when it is shutting down
The next time the application starts I restore them

Now there is one big problem
I am not able to restore the last used values in the following cases

PrinterResolution.X and PrinterResolution.Y when PrinterResolutionKind = Custo
PaperSource.Name if PaperSourceKind = Custo

Why
PaperSource and PrinterSetting constructors are Interna
PrinterResolution.X, PrinterResolution.Y and PaperSource.Name are ReadOnly propertie

Do you have a solution/workaround for this shortcoming

RE: Save and restore Printer Settings by anonymous

anonymous
Thu Feb 26 07:41:06 CST 2004

Addendu

And there is missing a Media (or Paper) property in the PrinterSettings clas

Some inkjet printers allow to choose from media like

Plain pape
360dpi InkJet Pape
Photo Quality InkJet Pape
Matte Paper - Heavyweigh
Photo Pape
...

How can I save and restore these settings