From what you describe, I am going to say you are going to be at the mercy of the activex control. The best you might be able to do is change the default windows printer, if the control prints to it - but you would still have to prompt for the file/location.
-w-
>Hi everybody,
>
>Is there any way to access printer parameters inside VFP? Basically, I would like to redirect the printer output to a file ,then, print to “filename” on “foldername”. I would like to do all of them programmatically. I do not want to show the operator any dialog box even for filename and foldername.
>
>BTW, I can not use "set printer" command because I am printing with a method within an ActiveX control.
>
>Thank you very much,
>Ali
Wayne Myers, MCSD
Senior Consultant
Forte' Incorporated
"The only things you can take to heaven are those which you give away" Author Unknown