Here is some help from the VBA guys. See if you can get this to work in VFP.
http://pubs.logicalexpressions.com/Pub0009/LPMArticle.asp?ID=101>I have a need to be able to set various properties for print jobs at runtime from within VFP6.
>
>The most important of these is a paper bin so that I can switch between plain and letterhead paper.
>
>I have found a number of examples of code that I can work with, however they all rely on working with the Windows default printer. My problem is that I can foresee a time when a user has my application open twice or opens another app like Excel.
>
>My issue is that I will set the Windows default printer, start printing, the user will switch to Excel, do something, then print, but change the printer in Excel to something else.
>
>Is there a better way of doing this? For example PRTINFO(7) returns the paper bin selected. What is the correct way to set this?
>
>TIA,
>Simon