By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,771 Members | 1,448 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,771 IT Pros & Developers. It's quick & easy.

Saving PrinterSettings

P: n/a
If I want to have a default printer for my app (to eliminate the need for
PrintDialog all the time), what is the information I need to store.

I can serialize the the PrinterSettings to a file (I guess), but if I want to
store the info in the registry, what should I save and what steps should I take
to retrieve it ?
May 16 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Actually, all I need is the printer name I think and setting this into
PrintSettings and calling IsValid sets it up

Ian Semmel wrote:
If I want to have a default printer for my app (to eliminate the need
for PrintDialog all the time), what is the information I need to store.

I can serialize the the PrinterSettings to a file (I guess), but if I
want to store the info in the registry, what should I save and what
steps should I take to retrieve it ?

May 16 '06 #2

P: n/a
in appconfig file you can give default printer name. other way is to set the
printer name at the time of loading after checking the default printer on
the machine.
"Ian Semmel" <is***********@NOKUNKrocketcomp.com.au> wrote in message
news:uI**************@TK2MSFTNGP03.phx.gbl...
Actually, all I need is the printer name I think and setting this into
PrintSettings and calling IsValid sets it up

Ian Semmel wrote:
If I want to have a default printer for my app (to eliminate the need for
PrintDialog all the time), what is the information I need to store.

I can serialize the the PrinterSettings to a file (I guess), but if I
want to store the info in the registry, what should I save and what steps
should I take to retrieve it ?

May 17 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.