Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Winfax 10 with both attachment and printfrom app
Message
From
04/08/2003 11:22:37
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Third party products
Title:
Winfax 10 with both attachment and printfrom app
Miscellaneous
Thread ID:
00816512
Message ID:
00816512
Views:
67
I have problems sending a fax with one file attached and then printing a report. The code i'm using is like this:

objfax = createobject("winfax.sdksend")
objfax.setsubject("Concursos")
objfax.enablebillingcodekeywords(1)
objfax.setkeywords(m.keywords)
objfax.setbillingcode(clientes.codigo)
objfax.showsendscreen(.f.)
objfax.setareacode("")
objfax.setcountrycode("")
objfax.setnumber(m.fax)
objfax.setto(cliser.attn)
objfax.setcompany(allt(clientes.nombre))
set date to american
objfax.setdate(dtoc(m.datellam))
set date to french
objfax.settime(m.horallam)
objfax.settype(0)
objfax.addrecipient()
objfax.addattachmentfile("") && always
objfax.addattachmentfile(m.filename)
objfax.setprintfromapp(1)
objfax.send(.f.)
do while objfax.isreadytoprint() != 1
...
enddo
...
report form envios to printer noconsole
objfax.enablebillingcodekeywords(0)
release objfax

Something i am fogetting?
Saludos,
A.G.P.
---------
Next
Reply
Map
View

Click here to load this message in the networking platform