I'm trying to read a registry value, but ReadValue wont work for no reason that I can determine.

Heres my code
 Code:
$DPrinter = ReadValue("HKEY_LOCAL_MACHINE\Software\BrewsterWalsh" , "Printer")

If @ERROR=0
	? "Default Printer Selection is $DPrinter"
	If SetDefaultPrinter ("$DPrinter") = 0
		? "Default Printer Sucessfully Set To $DPrinter"
	Else
		? "Failed to Set Default Printer to $DPrinter" ? @error "," @serror
	EndIf
Else
	? "Failed to read default printer from registry" ? @error "," @serror
EndIf


Permissions on the key are fine, the error spat out by @serror is 'The system cannot find the file specified.'

What stupid and obvious-to-everyone-but-me thing have I done here?