Hello all together...
maybe some of you had the same problem, cause I read about the pdf-creating problem...however, I'm not sure if they do it the same way I do, so I post my source code here:
I want to create a pdf-file with docStart, for this I set the three variables:
PrintRangeType = "AllPages"
PrintName = "winspool,DIAdem PDF Export,LPT1:"
PrintFile = reportFolder & "report.pdf"
Now I
Call PicLoad(file)
Call PicUpdate
' append tdr-file to pdf-doc
Call PicPrintNoDlg("WinPrint")
for all tdr-files I want in my pdf-document.
At least I DocEnd this function, but don't get a document, the reason is, diadem don't know where to create the pdf-file.
How I know? - If i do same with a dialog, I get the document, cause I have to put in path and filename. If I have done this ones, diadem will always write the pdf in this file...
So my question:
How can I control the name of the pdf-file , isn't it with PrintFile???
Thank you for help...maybe all the other have the same problem...
I'm using DIAdem 10.0
greetings