The simplest way to do this is to use an INI file to store the data - look in the manual for the ReadProfileString() function.

Using INI files to store configuration data like printer mappings is very common. Try searching the board for posts, you will find a lot of mature examples that you can use instead of rewriting the code.

If you have difficulty finding the results post again and we'll give you a hand.