You also have a second problem. Find a keyboard withouot a stuck Capslock key...
If your application printed to PRN:, it should work with whatever your default printer is. If it printed to some special driver, see if it can be redirected to print to the PRN: default printer vice a special printer, for example by setting it to a 'generic' printer vice its custom printer driver.