George,
I have another question. Set('PRINTER',2) works perfectly well. But I have a code that check if the default printer is equal to "default printer name" then I'll do something. But if the user changed the printer name in the Windows95 Printer properties..., I got a problem :(.
How can I get the default printer name or ID no directly from the printer and not from Windows 95. This is because the printer name in the Windows 95 can be modified.
Thanks,
Charlotte
>Thanks a lot, George!
>
>>>How can I get programatically the default printer? I don't want to use the getprinter() function. Pls. help.
>>>
>>Hi Charlotte,
>>
>>SET('PRINTER', 2) returns the name of the default printer.
Charlotte M. Nulud
Analyst / Programmer
Banco Filipino Savings & Mortgage Bank