Hi John,
First of all, I will be really surprised if printer name is hard coded in any of your programs. Normally you select the printer from a list when you are running your program. So I don't see any particular need to replace the printer names in the program directly. Or may be I didn't understand your requirement fully?
With regards,
Gokul