DIAdem에서 다중 페이지 테이블을 리포트에서 출력하려면 어떻게 해야합니까?



주요한 소프트웨어:
주요한 소프트웨어 버전: 9.1
문제가 해결된 소프트웨어 버전: N/A
부차적인 소프트웨어: N/A

문제점: DIAdem 리포트에서 테이블 길이를 "자동확장" 으로 설정한 다중 페이지 테이블을 생성하였습니다. 전체 테이블을 자동으로 출력할 수 있는 방법이 있습니까?

솔루션:

DIAdem에서 자동으로 다중페이지 테이블을 출력할 수 있는 기능은 제공되고 있지 않으나, DIAdem VBScript를 통해서는 출력 가능합니다. 다중 페이지 테이블이 구성되어있는 특정 Sheet에 하기와 같이 변수를 선언하게 되면, 테이블이 출력되는 모든 페이지를 출력 하실 수 있습니다.

' Set these variables to the sheet that contains your multi-page table.
PrintRangeType = "PageEnums"
PrintFromPage = 1
PrintToPage = 1

Call PicMaxPageCalc
For i=1 to MaxYPage  ' Print all pages of the table
  CurrYPage = i
  PicPrint("WinPrint")  ' Print to the Windows printer
Next

추가적으로 하기의 VB Script 를 사용하게 되면, 리포트에 구성된 Sheet 개수를 확인하여 모든 Sheet 출력이 가능합니다.

Call GraphSheetInfos
For j = 1 to GraphSheetCount

  ' Set these variables to the current sheet we're going to print.
  PrintRangeType = "PageEnums"
  PrintFromPage = j
  PrintToPage = j

  ' Show the current sheet we're going to print,
  ' so that PicMaxPageCalc will know which one it is calculating for.
  Call GraphSheetNGet(j)
  Call GraphSheetShow(GraphSheetName)
 
  ' Calculate how many pages this sheet will take.
  Call PicMaxPageCalc

  For i=1 to MaxYPage  ' Print all pages of the table
    CurrYPage = i
    PicPrint("WinPrint")  ' Print this page to the Windows printer
  Next
Next

 

 



관련 링크:

첨부:





리포트 날짜: 06/09/2004
마지막 업데이트: 12/01/2014
문서 번호: 3A8H166E