Hi Lisa,
I get the error when I instantiate the COM object from the VFP IDE. Would the user context issue apply in that situation? I thought it applied when using IIS, COM+, or DCOM, but I'm not sure how I would change it in my case.
>It's likely that the user context in which you are running the COM object doesn't have any printer setups defined for it.
>
>You can change that or you can customize Listener.GetPageHeight() and .GetPageWidth() to return values -- that should be all you need if I remember correctly.
>
>Also as always in VFP 9 you are best off removing the saved printer environment, if you haven't already done so.
>
>>L<