0 Replies Latest reply on Dec 24, 2012 3:55 AM by Indisader

    Export errors in placed PDF and AI images

    Indisader

      Hy

       

      I´m having an issue with InDesign exporting to PDF/HTML a document with images.

      The document is allways  exported without any error message, but sometimes it´s exported with empty (blank) images corresponding to a incrusted PDF and Adobe Ilustrator images. The images do are exported, but empty.

      I´m using a script to export multiple docs at once (50 to 70 docs) and, without doing any changes, sometimes required 2 or 3 attempts to get the proper export with all the images.

       

      I don´t know exactly when and why this happends, but after son tests I found that:

      - Once a doc fail, all the next fails too, i.e., if the doc 30 fails, then the next 40 docs will be exported with empty images.

      - If during the exporting, when inDesign is running the script, you click in the window (it´s not active, because the scripts has the control), this casue it always fails.

        But this is not the only cause, because, althought you don´t do this, sometimes it fail anyway.

      - Jpeg images are always exported

       

       

      I have an script to export all doc properties (based on reflection) and checkin the differences between a correct and a wrong exportation, I get this:

       

      Export OK

       

      
      description - State: Initializing
      
      Database: 7 nodes; 8 links; 278572 bytes
      Performance: 
      0.0 ms setting up; 
      0.0 ms expanding nodes; 
      0.0 ms visiting nodes; 
      0.0 ms invalidating due to changes; 
      0.0 ms compacting database; 
      0.0 ms total (includes misc). 
      
      
      
      
      
      length - 252
      
      
      
      
      __proto__ - 
      
      
      
      
      processResults - No errors yet; still looking.
      
      
      
      
      
      
      length - 31
      
      
      
      
      __proto__ - 
      
      
      
      
      processInventory - Documento
      
      
      
      
      
      
      length - 11
      
      
      

       

      Export fail

       

       

      
      description - State: Results complete
      
      Database: 135 nodes; 223 links; 278572 bytes
      Performance: 
      0.1 ms setting up; 
      5.1 ms expanding nodes; 
      21.6 ms visiting nodes; 
      0.0 ms invalidating due to changes; 
      0.0 ms compacting database; 
      26.9 ms total (includes misc). 
      
      
      
      
      
      length - 262
      
      
      
      
      __proto__ - 
      
      
      
      
      processResults - Errors Found (1):
      
      
            Gráfico incrustado (R=1)
      
      
      
      
      
      length - 56
      
      
      
      
      __proto__ - 
      
      
      
      
      processInventory - Documento
      
         Pliego 1
            Capa
               Elemento de página
            Capa
               Marco gráfico
                  Gráfico incrustado
                     Gráfico incrustado
                        Gráfico incrustado (R=1)
               Marco gráfico
                  Gráfico incrustado
                     Gráfico incrustado
                        Gráfico incrustado (R=1)
                           Gráfico incrustado (R=1)
               Marco gráfico
                  Gráfico incrustado
                     Gráfico incrustado
                        Gráfico incrustado (R=1)
                           Gráfico incrustado (R=1)
               Marco gráfico
                  Gráfico incrustado
                     Gráfico incrustado
                        Gráfico incrustado (R=1)
                           Gráfico incrustado (R=1)
               Marco gráfico
                  Gráfico incrustado
                     Gráfico incrustado
                        Gráfico incrustado (R=1)
                           Gráfico incrustado (R=1)
      
               Marco gráfico
                  Gráfico incrustado
                     Gráfico incrustado
                        Gráfico incrustado (R=1)
         Pliego 2
         ..... /* repeted */
      
      
      
      length - 17833
      
      
      
      
      __proto__ - 
      
      
      
      
      aggregatedResults - Documento3.indd,[Básico],1,TEXTO (1),,,,2,Fuente no disponible (1),,,,3,CourierNew (1),,,,4,Gráfico incrustado,1,Problema: Fuente no disponible
      
      Reparar: Edite el archivo de origen para aplicar una fuente diferente.,Problema,Fuente no disponible,Reparar,Edite el archivo de origen para aplicar una fuente diferente.
      
      
      
      
      0 - Documento3.indd
      
      
      
      
      1 - [Básico]
      
      
      
      
      2 - 1,TEXTO (1),,,,2,Fuente no disponible (1),,,,3,CourierNew (1),,,,4,Gráfico incrustado,1,Problema: Fuente no disponible
      
      Reparar: Edite el archivo de origen para aplicar una fuente diferente.,Problema,Fuente no disponible,Reparar,Edite el archivo de origen para aplicar una fuente diferente.
      
      
      
      
      length - 3
      
      
      
      
      __proto__ - 
      
      
      

       

       

       

      Tech. details:

      - InDesign CS5 V7.0.4

      - Windows 7, tested y 64 and 32 bits

      - The images are incrusted

      - Some images bellow to a master page (header and footers) and others are part of the doc.

      - Some images are incrusted PDFs, other jpeg, jpg, etc...

       

      In order to export to PDF I use:

      doc.exportFile(ExportFormat.pdfType, ficheroPDF,  false, myPDFExportPreset);

       

       

      Any help will be very apreciated

      Thanks