03-08-2007 11:30 AM
03-09-2007 09:48 AM
Hi James,
I was able to reproduce your problem on my DIAdem 10.1 with your code. I was not able to identify a simple parameter change to fix your code, though I tried a good bit. What I was able to do is get the result you are after with the PicPDFExport() command.
PrintLeftMarg = 0.0
PrintTopMarg = 0.0
PrintWidth = 11.0
PicRatio = 8.5/PrintWidth
PrintOrient = "landscape"
PDFFile = "C:\test.pdf"
Call PicPDFExport(PDFFile)
Let me know if this doesn't do what you want,
Brad Turpin
DIAdem Product Support Engineer
National Instruments
03-09-2007 10:23 AM
09-14-2007 08:05 AM
I'm having the exact same problem.
I found a solution in another thread, as posted by "Twigeater".
Add a call to PrintMaxScale just before the Call PicPrint("WinPrint").
It fixed my issue.
11-12-2007 01:14 PM
11-13-2007 08:08 AM
11-15-2007 02:22 PM