Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can we fax (and control the fax number) from VFP?
Message
 
To
28/03/1999 12:02:48
Lance Crosby
Northern Sales Company of Alaska
Seattle, Washington, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00200450
Message ID:
00202839
Views:
17
I downloaded the tiffworks32 software and running some tests. A couple questions for you, as you print the DCX files how do you determine the destination fax number when do finally send them with WinFax? Also are using the tiffworks32 auto naming feature so users do not have to choose a destination file name?

Lance,

No we are not using the auto naming feature.

First I create a controlling database that lists all the places I need to create a fax for, this database also contains the fax number and contact name.

With a do while, I then print a report specific to that keynumber to the tiffworks printer. After the dcx file is created, I rename it using the keynumber convention I establish for the program. This is done for each required fax (well each fax is actually 5 pages).

Using the same controlling database, and after all the fax images have been created and stuck in a directory, again using a dowhile loop, go through and send the images using the DDE source code that came with WinFax, substituting the correct values.

An extract from the WinFax code sample is:

retvar=DDEPoke(FaxChan,"sendfax", 'attach("C:\WINFAX\DATA\1605002.FXR")')
retvar=DDEPoke(FaxChan,"sendfax",'recipient("011444161234","11:11:11","12/12/95","Bob Dobbs","Delta Creations","Annual Budget","Budget","20321","Fax")')
** Set the fax resolution.
retvar=DDEPoke(FaxChan,"Sendfax",'resolution("HIGH")')

The only problem we had was a squashed effect on the fax, resolved by changing the resolution settings.

HtH-
Previous
Reply
Map
View

Click here to load this message in the networking platform