>Is there any way of obtaining the windows default printer name and also setting the default printer without using GetProfileString() - I would prefer to avoid INI files. I have obtained the printer details via APRINTER() but just need to be able to set default, do my printing, then set back again. Any ideas?
Can you use GETPRINTER for the first part of the question and SET PRINTER TO for the second?
HTH,
William Chadbourne
Senior Programmer/Analyst
State of Maine - DAFS App Team
Oracle - When you care enough to use the very best!!