Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FAXING from within VFP5
Message
From
30/11/1999 13:40:45
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
FAXING from within VFP5
Miscellaneous
Thread ID:
00297021
Message ID:
00297021
Views:
62
I'm trying to fax a letter from within VFP 5
I use the set printer to command, it's not a report.
It works fine going to a printer.

Can someone help me with re-directing the printer to the fax: device?
I have quicklink installed, I can install MS Fax if necessary.

I would like to be able to pass parameters also, but I would really like to see it work first. I was told that mapi should also work, I don;t know how to attempt it!

Any help would be great!
The following is an example of my current code.
lok=Printer_On(3,cFax)
? " "
? "Printed on Fax Printer ==> "+cFax
? " Trailer Quote System Faxing Option Test "
? "This is a sample Test Print Out for Faxing!"
? "This is a sample Test Print Out for Faxing!"
? "This is a sample Test Print Out for Faxing!"
? "This is a sample Test Print Out for Faxing!"
? "This is a sample Test Print Out for Faxing!"
? "This is a sample Test Print Out for Faxing!"
? "This is a sample Test Print Out for Faxing!"
? " Trailer Quote System Faxing Option Test "
? "Printed on : "+ctod(date()) + " @ "+time()
? " "
lok=newpage()
lok=Printer_Off(3,cFax)
=======================================
Function Printer_On
PARAMETERS nMODE,cFILE
If nMode=3
SET ALTERNATE TO &cFile
SET ALTERNATE ON
SET CONSOLE OFF
endif
End Function
=======================================
End Code
Reply
Map
View

Click here to load this message in the networking platform