Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Assembler and PDF/A ??

Avatar

Level 3

We have Adobe LC ES2 SP2 and froms Server service license.

Well, we need to convert PDF to PDF / A, we are trying to use the Assembler service.

In the documentation "in Acrobat 9 and PDF/A-1 LiveCycle ES" (http://www.adobe.com/content/dam/Adobe/en/devnet/livecycle/pdfs/readercomp_pdfa.pdf), page 2, "Available tools ", there is a table where it says:

Source / Tool / ---- Function ----- Usage --- 1a -1b

LC ES / Assembler / conversion / automated / no / yes

LC ES / Assembler / validated -/ automated / no / yes

From this we can deduce that using the Assembler service can convert and validate PDF/A-1b.

However, the tests we have made ??in this regard, by IVS utility not seem to work, and server-side errors are generated.

We are trying to validate (using the Assembler service) a very simple PDF, which also meets PDF/A-1b know that, which we found through:

DDX: [<DDX xmlns="http://ns.adobe.com/DDX/1.0/">

<DocumentInformation result="info" source="doc1" />

</DDX>]

Response: [<?xml version="1.0" encoding="UTF-8"?>

<DocInfo xmlns="http://ns.adobe.com/DDX/DocInfo/1.0/">

  <Title/>

  <Author>Javier Padrn Mrida</Author>

  <CreatedDate>2012-01-23T15:05:31Z</CreatedDate>

  <ModifiedDate>2012-01-23T15:06:21Z</ModifiedDate>

  <Creator>Acrobat PDFMaker 8.1 para Word</Creator>

  <Producer>Acrobat Distiller 8.1.0 (Windows)</Producer>

  <Version>1.4</Version>

  <NumPages>1</NumPages>

  <PDFAConformance isCompliant="notValidated" compliance="PDF/A-1b"/>

  <FormType>NotAForm</FormType>

  <PageSizes>

    <PageSize pages="1-1" width="595.22pt" height="842.0pt"/>

  </PageSizes>

  <PageRotations>

    <PageRotation pages="1-1" rotate90="0"/>

  </PageRotations>

  <PageLabels>

    <PageLabel pages="1-1" start="1" format="Decimal"/>

  </PageLabels>

</DocInfo>]

As expected PDFAConformance is PDF/A-1b ... But if we modify the DDX for detailed validation:

DDX: [<DDX xmlns="http://ns.adobe.com/DDX/1.0/">

<DocumentInformation result="info" source="doc1">

<PDFAValidation

ignoreUnusedResources="true"

resultLevel="Detailed"/>

</DocumentInformation>

</DDX>]

Response: [[object Object]

null]

We tested with different types of PDF and in any case the Assembler service seems to be able to process the labels "PDFAValidation" or "PDFAProfile", the server side we get:

[com.adobe.livecycle.assembler.client.OperationException: ALC-ASM-S00-002: Failed to execute the DDX - error messages provided. Caused by: com.adobe.internal.ddxm.ValidationException: DDXM_S00003: The DDX did not pass validation against the specification. Check the job log for details.; nested exception is:

com.adobe.livecycle.assembler.client.OperationException: ALC-ASM-S00-002: Failed to execute the DDX - error messages provided.

at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)

...

faultDetail: com.adobe.internal.ddxm.ddx.DDX.logInvalidMessage DDXM_S23001: Element PDFAValidation is invalid since document conversion is not enabled.]

So finally the question is: Is it possible to generate any type of PDF / A using only the Assembler service?

7 Replies

Avatar

Level 3

Hello? 2 months and nobody has been able to give an answer? 

Avatar

Employee

Hi,

As I can infer from your post that you want to test PDF files for validation using the Assembler service. The second DDX that you have used is faulty as indicated by the server logs. Please use the following DDX to test PDF for validation against PDF/A-1b.

<DDX xmlns="http://ns.adobe.com/DDX/1.0/" >

   

    <DocumentInformation result="info.xml" source="doc1">

    <PDFAValidation compliance="PDF/A-1b" resultLevel="Detailed"/>

   

    </DocumentInformation>

   

</DDX>

For converion of PDF files to PDF/A-1b use the following DDX

<DDX xmlns="http://ns.adobe.com/DDX/1.0/" >

    <PDF result="result.pdf" pdfa="pdfa1bProfile" >

        <PDF source="doc1" />

    </PDF>

    <PDFAProfile name="pdfa1bProfile" compliance="PDF/A-1b" resultLevel="Detailed" verify="true" />

</DDX>

Avatar

Level 1

Do the opposite, ie PDF/A to PDF?

I need to know if it is possible to merge PDF/A files into a single PDF normally using DDX.

Thanks

Avatar

Employee

Conversion from PDF/A to PDF is not possible?

Yes you can merge PDF/A files in to a single PDF using DDX.

Regards,
Sufyan

Avatar

Level 1

I succeeded through CFPDF but not with DDX..can I have an example?

Avatar

Employee

You can combine two PDFs (whether PDFA compliant or not) by using the following simple DDX.

<DDX xmlns="http://ns.adobe.com/DDX/1.0/">

<PDF result="output.pdf">

   <PDF source="doc1"/>

   <PDF source="doc2"/>

</PDF>

</DDX>

If both the input PDFs are PDFA compliant, then th resultant file is also PDFA compliant.

For more information on how to design DDX for different tasks please refer this document http://help.adobe.com/en_US/livecycle/9.0/ddxRef.pdf

Avatar

Level 1

In ColdFusion if I use CFPDF action="processddx" I have this error: "Print process error failed: null",

and if I use CFPDF action="merge" everything works.

No matter, it's just a curiosity..

I read well the reference guide of LiveCycle.

Thank you!