Hi Fabian,
Open wwPDF.prg in the editor and change two occurences of
SET PRINTER TO (THIS.cAdobeDriver)
to
SET PRINTER TO Name (THIS.cAdobeDriver)
and
SET PRINTER TO
to
SET PRINTER TO DEFAULT
Let me know if it helps.
BTW, my name is Sergey. :)
>Hello Sergei:
> I try with your cade and this function perfectly but with my report this program i don't make the PDF file.
> Are there some restrictions on the reports ?
>
>
>*****************************************
>SET PROCEDURE TO ..\clases\WWAPI ADDITIVE
>SET PROCEDURE TO ..\clases\WWPDF ADDITIVE
>
>oPDF=CREATE('wwPDF40')
>
>*** Filter condition
>use xfactu
>
>llResult = oPDF.PrintReport('lst12041.frx','c:\temp\lst12041.pdf')
>******************************************************************
>
>Thanks in advance
--sb--