Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Winfax 10 with both attachment and printfrom app
Message
From
10/08/2003 03:51:30
 
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
00816512
Message ID:
00818667
Views:
23
Thanks for answering Sergey.
Winfax sends the attached file but not the report sent to the printer.
No idea of the way to go.

>Carlos,
>
>What kind of problem do you have?
>
>>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.
---------
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform