Re: How are you persisting PrinterSettings?? by MikeinParadise
MikeinParadise
Wed Nov 10 09:14:04 CST 2004
Thanks for the Reply....
I have pretty much finished it now, and I am using binary Serialization to
save every thing. Just seemed like a lot of work and I figured there should
have been an easier way.
"RBischoff" wrote:
> Hello Mike,
> I have ran into this as well. I think it is better to implement your own serialization, it would be more effecient . Depending on what will need to read the settings, you could chose to use binary ser. for better performance over xml. As far as an easier way, no I don't think so.
>
> Best of luck!
>
> Your C# ally ,
> RBischoff
>
>
> MP> Is there an easy of persisting printer settings???
> MP>
> MP> Most of the PrinterSettings and related objects are not marked a
> MP> serializable so they can not be serialized with an application.
> MP>
> MP> So far what I am doing is wrapping all the properties for these
> MP> objects in Objects that are Serializable so I can persist the new
> MP> objects with an application file and then I recreate the
> MP> PrinterSettings and Related objects from the new objects when
> MP> printing is requested.
> MP>
> MP> Is there an easier way to do this??
> MP>
>
>