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?
--sb--