전문 관리 > 시각화 및 게시 지원 > WVS 로더 > WVS Adobe Experience Manager 서버 통합 > Adobe Experience Manager PDF 변환 유틸리티
  
Adobe Experience Manager PDF 변환 유틸리티
벌크 변환 유틸리티인 Adobe Experience Manager PDF 변환 유틸리티를 사용하여 Windchill에서 표현과 연관된 PDF 파일에 Reader Extensions를 추가할 수 있습니다. 이 유틸리티 사용을 시작하려면 Adobe Experience Manager 서버로 Windchill Visualization Services를 구성해야 합니다(위의 Adobe Experience Manager 서버 구성 참조). 시작하기 전에 유틸리티의 명령줄 도움말을 호출하여 사용 가능한 옵션을 모두 검토하십시오. 도움말을 표시하려면 Windchill 셸에서 다음 명령을 실행합니다.
windchill com.ptc.wvs.server.util.livecycle.LiveCyclePDFConversionUtility -help
유틸리티 실행은 "마크" 및 "프로세스 마크" 작업으로 이루어집니다.
마크 – 첫 번째 단계는 시스템의 특정 PDF 파일에 마크 표시기를 저장하는 마크 프로세스를 수행하는 것입니다. 마크 표시기는 "프로세스 마크" 작업을 수행할 때 Adobe Experience Manager 서버에서 Reader Extensions가 적용되도록 처리할 PDF를 식별합니다. 이 단계에서는 두 번째 단계인 프로세스 마크를 수행할 때 Experience Manager 서버에서 Reader Extensions가 적용되도록 처리할 시스템의 PDF 파일을 마크합니다. Windchill 시스템에서 표현에 연관된 PDF 파일을 모두 마크하려면 Windchill 셸에서 다음 명령을 호출합니다.
windchill com.ptc.wvs.server.util.livecycle.LiveCyclePDFConversionUtility -mark
-username=<site username> -password=<site password>
마크 작업은 특정 컨테이너의 PDF 파일을 마크하거나 수정 타임스탬프에 따라 PDF 파일을 마크하기 위한 추가 명령줄 인수를 지원합니다. 예를 들어, "데모 조직"의 표현에 연관된 PDF 파일을 모두 마크하려면 Windchill 셸에서 다음 명령을 호출합니다.
windchill com.ptc.wvs.server.util.livecycle.LiveCyclePDFConversionUtility -mark
-username=<site username> -password=<site password>
-cont_path=”wt.inf.container.OrgContainer=Demo Organization”
"데모 조직"에서 <my_product> 제품의 모든 PDF 파일을 마크하려면 Windchill 셸에서 다음 명령을 호출합니다.
windchill com.ptc.wvs.server.util.livecycle.LiveCyclePDFConversionUtility -mark
-username=<site username> -password=<site password>
-cont_path=”wt.inf.container.OrgContainer=Demo Organization\
wt.pdmlink.PDMLinkProduct=MY_PRODUCT”
Windchill 시스템에서 특정 범위의 수정 타임스탬프가 있는 PDF 파일을 모두 마크하려면 Windchill 셸에서 다음 명령을 호출합니다.
windchill com.ptc.wvs.server.util.livecycle.LiveCyclePDFConversionUtility -mark
-username=<site username> -password=<site password>
-from=08/12/2012 -to=11/12/2012
프로세스 마크 – 두 번째 단계는 유틸리티에서 처리를 위해 시스템의 모든 마크된 PDF 파일을 구성된 Adobe Experience Manager 서버로 보내도록 하는 것입니다. 최종적으로 PDF 파일에서 Reader Extensions를 사용할 수 있게 되며 변환된 PDF 파일에서 마크 표시기가 제거됩니다. 프로세스 마크 작업은 구성된 Adobe Experience Manager 서버로 PDF 파일을 보내는 다중 스레드를 지원합니다. 여러 PDF 파일 변환 요청을 동시에 지원하도록 Adobe Experience Manager 서버를 적절히 조정해야 합니다. 구성된 Adobe Experience Manager 서버에서 마크된 PDF 파일을 모두 처리하게 하려면 Windchill 셸에서 다음 명령을 호출합니다.
windchill com.ptc.wvs.server.util.livecycle.LiveCyclePDFConversionUtility
-process_marked-username=<site username> -password=<site password>
마크된 PDF 파일을 처리할 때 메소드 서버 로그에 변환의 전체 진행 상태를 보여주는 로그 메시지가 나타납니다. 변환이 실패할 경우 메소드 서버 로그에 Windchill 시스템의 PDF 파일을 식별하는 데 필요한 모든 정보를 설명하는 메시지가 표시됩니다. 다음은 메소드 서버 로그에 표시된 실패한 변환의 예입니다. 이 PDF 파일에서는 페이지 수정을 허용하지 않습니다.
[Begin processing batch #1] - Size=10
Exception: ApplicationData=wt.content.ApplicationData:118012 (Cant_Modify_Set.pdf)
DerivedImage=wt.viewmarkup.DerivedImage:118010 (cant_modify)
Representable=wt.part.WTPart:118006 (0000000099, cant_modify, A.1)
Container=wt.pdmlink.PDMLinkProduct:84802 (ProductView Demo)

Caused by: javax.xml.ws.soap.SOAPFaultException: com.adobe.livecycle.assembler.client.ProcessingException: ALC-ASM-S00-002:
Failed to execute the DDX - error messages provided.
Caused by: com.adobe.internal.pdfm.content.FormXObjectServiceException: PDFM_S06016:
Apply Watermark operation failed due to permissions on document "inDoc".
Caused by: com.adobe.internal.pdfm.util.PDFMPermissionException: PDFM_S00014: PAGE_MODIFY permission is required for this operation.;
변환을 실행한 Windchill 셸에서 Ctrl + C를 수행하여 프로세스 마크 작업을 중단할 수 있습니다. Ctrl + C를 실행하고 약 30초 후에 변환이 중단됩니다. 변환이 중단되면 유틸리티에서는 해당 기간 동안 처리된 PDF 파일 수가 나열된 몇 가지 일반 통계를 표시합니다. 이 정보는 파일 크기가 얼마나 증가할 것인지 그리고 많은 수의 PDF 파일을 처리하는 데 시간이 얼마나 걸릴 것인지를 파악하는 데 유용할 수 있습니다. 다음은 변환을 중단할 때 표시되는 내용의 예입니다.

*****************************************
Interrupting conversion - please wait
*****************************************
The LiveCycle PDF Conversion Utility has been interrupted. Conversions currently
executing have been interrupted and awaiting conversions have been aborted.


LiveCycle PDF Conversion has completed.
Total execution time: 1.248 minutes(s)
Average time to perform a single conversion: 14.762 second(s)
Number of PDFs successfully converted: 14
Number of failed conversions: 5
Number of timed out conversions: 0
Total file size of all PDFs before conversion: 2659.06 KB
Total file size of all PDFs after conversion: 3358.94 KB
Total file size increase: 699.88 KB
Percentage of total file size increase: %20.84
Average filesize increase per PDF: 49.99 KB

There are 18 remaining marked PDF file(s).