SYS(2015) is not safe either, SUBSTR(SYS(2015,3)) is safe AFAIK.
>I didn't know VFP 9 support that with SYS(1037,2), thank you.
>
>A small advice: Don't use sys(3) for temporary file names. If you do that in a shared folder, it can be reason filename violation problems. You might use sys(2015) instead of sys(3)
>
>
>
>>Have you ever wanted to change printer properties like duplex mode or the printer tray programmatically? I have a program available in a file called SetPrtProps.zip available for download from my site at
www.peisch.com/downloads.html that can do this for you. It comes with a sample program of how to call the class that changes the orientation, paper tray, number of copies and duplex mode.
>>
>>Please note: This program requires VFP 9.
>>
>>I'd really love to get some feedback on this.