This is my first post, so forgive my inexperience with the forum. I'm a VFP programmer that is temporarily supporting a FPW 2.6 app until we rewrite. I have read through similar postings, but not found an answer (maybe this isn't possible in FPW 2.6?). I can accomplish this in the VFP world.
I would like to have a field (called "printtype" or something), with a value of 1 for Print, 2 for Fax, or whatever. When we process a bunch of groups, we would like to then either fax the report or print it, as derived from this field.
I am running Win 2k and our Fax print driver is called "MM Fax Print Driver" and the port is called FAXSRVR (which is checked for MM Fax Printer Driver) OR FAXSRVR: (which is not checked, and indicated as Local Port).
If I do a SYS(1037), select the driver and print, it brings up our Faxing software, which is what I want. However, trying to:
SET PRINTER TO FAXSRVR:
SET PRINTER ON
gives me the "printer not ready" error
SET PRINTER TO FAXSRVR just creates a file called FAXSRVR
SET PRINTER TO "FAXSRVR:" seems to do nothing...
Is there any way to do this??? Do I HAVE to run an external command to set the default windows printer?
Your help would be MUCH appreciated. Thanks!
I would like to have a field (called "printtype" or something), with a value of 1 for Print, 2 for Fax, or whatever. When we process a bunch of groups, we would like to then either fax the report or print it, as derived from this field.
I am running Win 2k and our Fax print driver is called "MM Fax Print Driver" and the port is called FAXSRVR (which is checked for MM Fax Printer Driver) OR FAXSRVR: (which is not checked, and indicated as Local Port).
If I do a SYS(1037), select the driver and print, it brings up our Faxing software, which is what I want. However, trying to:
SET PRINTER TO FAXSRVR:
SET PRINTER ON
gives me the "printer not ready" error
SET PRINTER TO FAXSRVR just creates a file called FAXSRVR
SET PRINTER TO "FAXSRVR:" seems to do nothing...
Is there any way to do this??? Do I HAVE to run an external command to set the default windows printer?
Your help would be MUCH appreciated. Thanks!