Click here to Skip to main content
15,881,812 members
Articles / Desktop Programming / MFC

Setting the Default Printer Programmatically in an MFC Application

Rate me:
Please Sign up or sign in to vote.
4.84/5 (20 votes)
11 Jun 2002CPOL2 min read 241.4K   4.1K   50  
How to change the default printer in MFC and save/restore this setting to/from the registry

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

No alternatives have been posted.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior) Sirius Analytical Instruments
United Kingdom United Kingdom
A research and development programmer working for a pharmaceutical instrument company for the past 17 years.

I am one of those lucky people who enjoys his work and spends more time than he should either doing work or reseaching new stuff. I can also be found on playing DDO on the Cannith server (Send a tell to "Maetrim" who is my current main)

I am also a keep fit fanatic, doing cross country running and am seriously into [url]http://www.ryushinkan.co.uk/[/url] Karate at this time of my life, training from 4-6 times a week and recently achieved my 1st Dan after 6 years.

Comments and Discussions