DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with Call PicPrintNoDlg("WinPrint")

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
0 Kudos
Message 1 of 2
(3,406 Views)
Hello f-zoid!
 
Set the PdfFileName variable
 
Matthias
Matthias Alleweldt
Project Engineer / Projektingenieur
Twigeater?  
0 Kudos
Message 2 of 2
(3,404 Views)