>>FYI: Not that it helps you, but they did get it right in 3.0b. This version of VFP had a getprinter() function that looked the same as sys(1037) and it of course returned the name of the printer. Strange that they would actually remove functionality from a function.
>
>Figures. But thats just what I'm trying to avoid. Removing functionality. Our users have gotten used to seeing where a report is going before actually printing. Oh, well...
Hmmm...I'm thinking in theory all this info has to be stored in the registry. If so, in theory you could modify the default printer and it's settings, print the report, then set them back. I'll test my theory tomorrow if I get a chance. I wonder if there's a document somewhere that covers all the standard registry entries.
kenweber
GCom2 Solutions
Microsoft Certified Professional