DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

I am using Diadem V10.1. I am trying to Export the pdf report through my script.

I am using Diadem V10.1. I am trying to Export the pdf report through my script. When I try to export individual report manullayFile -> Pdf Export it creates a proper plot in pdf. But I try to get multiple reports from script it, I can see only 1 quarter of the plot as shown in attachment. Can somebody help me how to resolve it.. FYI, I can see Diadem PDF Export Printer enabled in my machine

0 Kudos
Message 1 of 4
(4,975 Views)

Hi Sree,

 

Can you post the VBScript calls you're using to create the partial PDF file?

 

Brad Turpin

DIAdem Product Support Engineer
National Instruments

0 Kudos
Message 2 of 4
(4,927 Views)

''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''Start''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''

PrintName = "winspool,DIAdem PDF Export,LPT1:"
PDFResolution = "150 DPI"  '  "2400 DPI" ,  "default"
PDFOptimization = TRUE

PDFFontsEmbedded = FALSE
PDFJPGCompressed = "high"
Call PrintMaxScale("REPORT")

''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''End''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''

Call PicPrint("WinPrint")

0 Kudos
Message 3 of 4
(4,918 Views)

Smiley Very HappyThank you!!!

it was the problem with the unit in the general settings it was 'inch' insted of  'cm',

now i have added a new line to my script and the problem is solved.

If LENGTHUNIT <> "cm" then
  LENGTHUNIT = "cm"
  Call UPDATELENGTHUNIT()
  Call DESKSAVE()
End If

 

0 Kudos
Message 4 of 4
(4,903 Views)