>>>I'm trying to use WSH to get the name of the current default printer, so I can temporarily set it, then reset it back.
>>>
>>>I'm doing this in NT 4.0. I'm refering to the WROX WSH book. They have an example of how to retrieve the name from the registry. However, the location doesn't exist.
>>>
>>>Does anyone know where I might find the printer name?
>>>
>>
>>
>>Do you know about
>>
>>?SET("PRINTER", 2)
>>
>>and SET PRINTER?
>
>Neither works inside WSH without a VFP session, guy!
I thought the only reason he was using WSH in the first place was to look in the registry to find the current printer. If you can do it with VFP, you don't need WSH- right?
Erik Moore
Clientelligence