PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → [WD20] iDestination, iPrintDuplicate ...
[WD20] iDestination, iPrintDuplicate ...
Iniciado por guest, 01,nov. 2015 19:18 - No hay respuesta
Publicado el 01,noviembre 2015 - 19:18
Hi,

I'm trying to print a duplicate of a rather complex printout (made using iPrint-commands) not only to the printer but as well to a PDF document.

The plan is to print a duplicate into a \Temp directory first by defining it with iParameterDuplicate(..) which works well, the .dpl-file sits in the \Temp directory just as planned.

Next, I want to make the PDF from the .dpl file and this doesn't work at all .. I'd be thankful for any good ideas

DateiName = CompleteDir(fExeDir())+"PDF_Fakturenjournale\"+Today()+"_"+Left(Now(),6)+"_"+VONDAT+"_"+BISDAT+"_Fakturenjournal.PDF"
iConfigure(NoSpace(USTAMM.US_REDRUCKER))
iParameter("DEFAULT=NO")
iParameter("ORIENTATION=LANDSCAPE")
iDestination(iGenericPDF,DateiName)
iPrintDuplicate(ExtractString(iLastFile(iListDuplicate),1,CR))

The .dpl-filename is correct, the new file name for the pdf seems to be correct as well .. but the pdf doesn't show up in the destination directory ..