Different behaviours when exporting pdf

hi,
i'm facing a strange behaviour when trying to export a pdf that is generated from db. i want to make pdfs available via dialog box. i set disposition to attachment in the response header. whereas FireFox shows the dialog box (as expected), IE renders the pdf in the same window:
   * downloads the report in the requested export format
  public String exportReport()
    String outcome ="error";
    LayoutXSLT layout = null;
    ByteArrayInputStream xslt_bais=null;
    ByteArrayInputStream xml_bais=null;
    byte[] content=null;
    ByteArrayOutputStream fosByte = new ByteArrayOutputStream ();
    String fileName = "Report";
    String disposition="attachment";  
    String contentType="application/pdf";
    FacesContext faces = FacesContext.getCurrentInstance();
    HttpServletResponse response = (HttpServletResponse) faces.getExternalContext().getResponse();
    FileExporter fex = new FileExporter();
    if (report != null && report.getRowCount()>0)
      try
        layout = accountingRemoteInterface.createXSLTLayout(userID, report.getForm().getId(), XSLT_TYPE.PDF);
      catch (UserAccountingException aex)
        messageError = errorWriter.writeUserAccountingException(rb, aex);
      if (layout != null)
        xslt_bais = new ByteArrayInputStream(layout.getXsltContent()); 
        try
          xml_bais = new ByteArrayInputStream(report.createXMLStream());
          XSLTHelper.doFOP(xslt_bais, xml_bais, fosByte, null);               
          fosByte.flush();
          fosByte.close();        
          content = fosByte.toByteArray();
          reportAvailable=1;
          outcome = fex.export(content, contentType, fileName, disposition, response);
          faces.responseComplete();
        catch (XMLWriterException xex)
          messageError = errorWriter.writeXmlException (rb, xex);
        catch (TransformerException tex)
          messageError = errorWriter.writeTransformerException(rb, tex);
        catch (FOPException foex)
          messageError = errorWriter.writeFopException(rb, foex);
        catch (IOException e)
          e.printStackTrace();
    else
      filteredItems=limitedItems=reportItems="";
      messageError=rb.getString("ERROR_NO_PDF_AVAILABLE");
    return outcome;
  public String export(byte[] cnt, String cType, String fName, String dispo,
      HttpServletResponse response) throws IOException
    String outcome = "error";
    byte[] content = cnt;
    String contentType = cType;
    String fileName = fName;
    String disposition = dispo;
    response.reset();
    response.setContentType(contentType);
    response.setContentLength(content.length);
    response.setHeader("Content-disposition", disposition + ";filename=\"" + fileName + "\"");
    response.setHeader("Cache-Control", "cache, must-revalidate");
    ServletOutputStream out = response.getOutputStream();
    out.write(content);
    outcome = "success";
    return outcome;
    }Any help appreciated!

i checked the server log and couldn't find anything excepting a warning when setting the pdf layout :
WARN  [BreakingAlgorithm] Line 1 of a paragraph overflows the available area. (fo:block, "****************")you mean i shouldn't stop the render response phase, don't you? what's the alternative? a file servlet?

Similar Messages

  • How to create a hyperlink when exporting .pdf?

    Hi guys,
    I've been doing quite a bit of research on how to make an object into a hyperlink when exporting my .ai as .pdf.
    So far I've come across guides that show the method of using Object > Slice and the Attributes' Image Map, but none of them seem to work when I open my exported .pdf.
    How do you guys create objects with links when exporting .pdf?
    Thanks in advance.

    InDesign, most probably.
    Or create the PDF in Illustrator and use Acrobat (Pro) afterwards to make links.
    Depends on what's inside the document.

  • SRVE0199E: OutputStream already obtained when exporting pdf

    Hi,
    I am have a problem when export pdf file from a web application. When I build with tomcat every works fine, but when deployed in Websphere. The problem occurred. It is that the exception stack being attached at the end of pdf file which prevents Adobe Acrobat 7 from open and displaying message like the file is damaged and could not be repaired. This is the exception stack,
    <H1>Error page exception</H1>
    <H4>The server cannot use the error page specified for your application to handle the Original Exception printed below. Please see the Error Page Exception below for a description of the problem with the specified error page.</H4>
    <BR><H3>Original Exception: </H3>
    <B>Error Message: </B>SRVE0199E: OutputStream already obtained<BR>
    <B>Error Code: </B>500<BR>
    <B>Target Servlet: </B>action<BR>
    <B>Error Stack: </B><BR>
    java.lang.IllegalStateException: SRVE0199E: OutputStream already obtained
    <BR>    
         at com.ibm.ws.webcontainer.srt.SRTServletResponse.getWriter&#40;SRTServletResponse.java&#40;Compiled Code&#41;&#41;
    <BR>    
         at org.apache.jasper.runtime.JspWriterImpl.initOut&#40;JspWriterImpl.java&#40;Inlined Compiled Code&#41;&#41;
    <BR>    
         at org.apache.jasper.runtime.JspWriterImpl.flushBuffer&#40;JspWriterImpl.java&#40;Compiled Code&#41;&#41;
    <BR>    
         at org.apache.jasper.runtime.PageContextImpl.release&#40;PageContextImpl.java&#40;Compiled Code&#41;&#41;
    <BR>    
         at org.apache.jasper.runtime.JspFactoryImpl.internalReleasePageContext&#40;JspFactoryImpl.java&#40;Inlined Compiled Code&#41;&#41;
    <BR>    
         at org.apache.jasper.runtime.JspFactoryImpl.releasePageContext&#40;JspFactoryImpl.java&#40;Compiled Code&#41;&#41;
    <BR>    
         at com.ibm._jsp._exportResults._jspService&#40;_exportResults.java:104&#41;
    <BR>    ... there is more...
    and my code that generate pdf is,
    try {
    out = res.getOutputStream();
    PdfWriter.getInstance(document, out);
    document.open();
    Paragraph para = null;
    para = new Paragraph("Title", FontFactory.getFont("Arial", 20,Font.BOLD));
    document.add(para);
    } catch (DocumentException e1) {
    e1.printStackTrace();
    } catch (IOException e1) {
    e1.printStackTrace();
    document.close();
    please help me out because this is an urgent issue. Thanks.

    I didn't put this code within JSP, but inside javax.servlet.jsp.tagext.TagSupport. Is this the same as in JSP?
    While waiting for the answer, I also find that in TagSupport, there is a member variable, pageContext, that also has pageContext.getOut() which is a JspWriter. This is used to export to excel. But for exporting to pdf, i used PdfWriter.getInstance(document, res.getOutputStream()); and res = pageContext.getResponse();
    is this the main reason?

  • Master Page page number showing up in a different location in exported PDF

    Hi everyone,
    I have been racking my brain trying to figure out what InDesign is thinking, but I can't seem to find a solution.
    I have an eight-page document with facing master pages. I put a page number on the left page and the right page of the spread in the footer area. When I export the document to PDF, one of the page numbers "moves" from where I placed it up and to the left, near the middle of the spread.
    This is driving me nuts. I have tried to use different export settings. I have tried re-building the master page and creating new text frames with the page numbers. The page number still moves. And it is only Page 3. The rest of the page numbers are in the correct locations.
    Here is a screen grab of what I see in InDesign:
    (Note my red arrow pointing out the location of the page number. That text frame is a "Current Page Number" marker on the master page.)
    Here is a screen grab of the resulting exported PDF:
    If anyone else has overcome a similar problem or if you know why InDesign is behaving this way, please help. Thanks!

    @Luke,
    ID embeds fonts automatically during export as long as they are not restricted. There's no way to turn it off, so if the font is not embedding it is because it is restricted and cannot be embedded without viloating the font license, which ID will not do.
    @Andy,
    I was hoping this might be one of the bugs that got fixed, but apparently not. An export to .idml and working with that might fix it, might not. See Remove minor corruption by exporting

  • Indesign Crashes when exporting PDF

    Hi,
    We are experiencing an issue when exporting an .indd file as .pdf. The process gets as far as a certain page (8 out of 13) and then crashes when reading a pdf image from that page. It does one of two things - it crashes or displays an 'out of memory' message. We had task manager running alongside the program to check memory usage and there are no major spikes during the export process (it doesn't even hit 80%)
    - We can export every other page in the document except this one
    - The export works without marks & bleeds enabled (not really sure of the terminology so I do apologise)
    The document is going off to print so the pdf image has to be of high resolution. Does anyone have any ideas as to how we can get around this issue?
    The INdesign package is CS4 (32bit) and the pc has 4GB of RAM
    Any assistance would be much appreciated

    Friends I'm reading all the posts, but I have the same problem. My Indesign crashes exporting a document of 60 pages into pdf.
    Can anybody help me please? The next week I have to deliver the project. Thank you!
    This is the error message:
    Process:               Adobe InDesign CS6 [2996]
    Path:                  /Applications/Adobe InDesign CS6/Adobe InDesign CS6.app/Contents/MacOS/Adobe InDesign CS6
    Identifier:            com.adobe.InDesign
    Version:               8.0.0.370 (8000)
    Code Type:             X86 (Native)
    Parent Process:        ??? [1]
    Responsible:           Adobe InDesign CS6 [2996]
    User ID:               502
    Date/Time:             2014-11-20 12:07:06.086 +0100
    OS Version:            Mac OS X 10.10.1 (14B25)
    Report Version:        11
    Anonymous UUID:        1B173797-49B9-7B44-7C5E-AEF6059371E1
    Sleep/Wake UUID:       D5A59AA4-AE79-4927-BEF0-BDE56A168D31
    Time Awake Since Boot: 89000 seconds
    Time Since Wake:       14000 seconds
    Crashed Thread:        11
    Exception Type:        EXC_CRASH (SIGABRT)
    Exception Codes:       0x0000000000000000, 0x0000000000000000
    Application Specific Information:
    [2996] stack overflow
    Thread 0:: Dispatch queue: com.apple.main-thread
    0   libsystem_kernel.dylib         0x955cba2e mach_msg_trap + 10
    1   libsystem_kernel.dylib         0x955caad0 mach_msg + 68
    2   com.apple.CoreFoundation       0x927e2ae6 __CFRunLoopServiceMachPort + 214
    3   com.apple.CoreFoundation       0x927e1ef9 __CFRunLoopRun + 1529
    4   com.apple.CoreFoundation       0x927e1696 CFRunLoopRunSpecific + 390
    5   com.apple.CoreFoundation       0x927e14fb CFRunLoopRunInMode + 123
    6   com.apple.HIToolbox           0x99328178 RunCurrentEventLoopInMode + 262
    7   com.apple.HIToolbox           0x99327eb1 ReceiveNextEventCommon + 494
    8   com.apple.HIToolbox           0x994cd798 ReceiveNextEvent + 90
    9   com.adobe.InDesign.AppFramework 0x1006eaf8 0x10060000 + 60152
    10  com.adobe.InDesign.AppFramework 0x1008d327 GetPlugIn + 12007
    11  com.adobe.InDesign             0x00001ec5 main + 341
    12  com.adobe.InDesign             0x00001d55 start + 53
    Thread 1:
    0   libsystem_kernel.dylib         0x955d1516 __psynch_cvwait + 10
    1   libsystem_pthread.dylib       0x988c7b7a _pthread_cond_wait + 842
    2   libsystem_pthread.dylib       0x988c7d9d pthread_cond_timedwait_relative_np + 47
    3   com.apple.CoreServices.CarbonCore 0x91f22316 TSWaitOnConditionTimedRelative + 167
    4   com.apple.CoreServices.CarbonCore 0x91eeddff MPWaitOnQueue + 199
    5   PMRuntime.dylib               0x005b9581 SetVSizeBaseline(unsigned long) + 1473
    6   com.apple.CoreServices.CarbonCore 0x91eee45a PrivateMPEntryPoint + 68
    7   libsystem_pthread.dylib       0x988c6ecf _pthread_body + 138
    8   libsystem_pthread.dylib       0x988c6e45 _pthread_start + 162
    9   libsystem_pthread.dylib       0x988c4f0e thread_start + 34
    Thread 2:: Dispatch queue: com.apple.libdispatch-manager
    0   libsystem_kernel.dylib         0x955d28d2 kevent64 + 10
    1   libdispatch.dylib             0x9ae4f73f _dispatch_mgr_invoke + 245
    2   libdispatch.dylib             0x9ae4f3a2 _dispatch_mgr_thread + 52
    Thread 3:
    0   libsystem_kernel.dylib         0x955cba2e mach_msg_trap + 10
    1   libsystem_kernel.dylib         0x955caad0 mach_msg + 68
    2   com.apple.CoreServices.CarbonCore 0x91f1efc4 TS_exception_listener_thread + 138
    3   libsystem_pthread.dylib       0x988c6ecf _pthread_body + 138
    4   libsystem_pthread.dylib       0x988c6e45 _pthread_start + 162
    5   libsystem_pthread.dylib       0x988c4f0e thread_start + 34
    Thread 4:
    0   libsystem_kernel.dylib         0x955d1516 __psynch_cvwait + 10
    1   libsystem_pthread.dylib       0x988c7b06 _pthread_cond_wait + 726
    2   libsystem_pthread.dylib       0x988cb1d1 pthread_cond_wait$UNIX2003 + 71
    3   com.apple.CoreServices.CarbonCore 0x91f220fa TSWaitOnCondition + 133
    4   com.apple.CoreServices.CarbonCore 0x91f22332 TSWaitOnConditionTimedRelative + 195
    5   com.apple.CoreServices.CarbonCore 0x91eeddff MPWaitOnQueue + 199
    6   com.adobe.ACE                 0x00607a69 0x5c8000 + 260713
    7   com.adobe.ACE                 0x00606d99 0x5c8000 + 257433
    8   com.apple.CoreServices.CarbonCore 0x91eee45a PrivateMPEntryPoint + 68
    9   libsystem_pthread.dylib       0x988c6ecf _pthread_body + 138
    10  libsystem_pthread.dylib       0x988c6e45 _pthread_start + 162
    11  libsystem_pthread.dylib       0x988c4f0e thread_start + 34
    Thread 5:
    0   libsystem_kernel.dylib         0x955d1516 __psynch_cvwait + 10
    1   libsystem_pthread.dylib       0x988c7b06 _pthread_cond_wait + 726
    2   libsystem_pthread.dylib       0x988cb1d1 pthread_cond_wait$UNIX2003 + 71
    3   com.adobe.InDesign.AppFramework 0x10160556 GetPlugIn + 876822
    4   com.adobe.InDesign.AppFramework 0x1015c8ff GetPlugIn + 861375
    5   com.adobe.InDesign.AppFramework 0x1015d3c5 GetPlugIn + 864133
    6   com.adobe.InDesign.AppFramework 0x1015e98e GetPlugIn + 869710
    7   com.adobe.InDesign.AppFramework 0x1015e9fa GetPlugIn + 869818
    8   com.adobe.InDesign.AppFramework 0x1015ea66 GetPlugIn + 869926
    9   com.adobe.boost_threads.framework 0x01c6a40d thread_proxy + 141
    10  libsystem_pthread.dylib       0x988c6ecf _pthread_body + 138
    11  libsystem_pthread.dylib       0x988c6e45 _pthread_start + 162
    12  libsystem_pthread.dylib       0x988c4f0e thread_start + 34
    Thread 6:
    0   libsystem_kernel.dylib         0x955d1516 __psynch_cvwait + 10
    1   libsystem_pthread.dylib       0x988c7b06 _pthread_cond_wait + 726
    2   libsystem_pthread.dylib       0x988cb1d1 pthread_cond_wait$UNIX2003 + 71
    3   com.adobe.InDesign.AppFramework 0x10160556 GetPlugIn + 876822
    4   com.adobe.InDesign.AppFramework 0x1015c8ff GetPlugIn + 861375
    5   com.adobe.InDesign.AppFramework 0x1015d3c5 GetPlugIn + 864133
    6   com.adobe.InDesign.AppFramework 0x1015e98e GetPlugIn + 869710
    7   com.adobe.InDesign.AppFramework 0x1015e9fa GetPlugIn + 869818
    8   com.adobe.InDesign.AppFramework 0x1015ea66 GetPlugIn + 869926
    9   com.adobe.boost_threads.framework 0x01c6a40d thread_proxy + 141
    10  libsystem_pthread.dylib       0x988c6ecf _pthread_body + 138
    11  libsystem_pthread.dylib       0x988c6e45 _pthread_start + 162
    12  libsystem_pthread.dylib       0x988c4f0e thread_start + 34
    Thread 7:
    0   libsystem_kernel.dylib         0x955d18fa __semwait_signal + 10
    1   libsystem_c.dylib             0x9c001c16 nanosleep$UNIX2003 + 218
    2   com.adobe.InDesign.Support for JavaScript 0x1637eacb GetPlugIn + 317883
    3   com.adobe.InDesign.Support for JavaScript 0x16363f79 GetPlugIn + 208489
    4   com.adobe.InDesign.Support for JavaScript 0x1637ee38 GetPlugIn + 318760
    5   libsystem_pthread.dylib       0x988c6ecf _pthread_body + 138
    6   libsystem_pthread.dylib       0x988c6e45 _pthread_start + 162
    7   libsystem_pthread.dylib       0x988c4f0e thread_start + 34
    Thread 8:
    0   libsystem_kernel.dylib         0x955d1772 __recvfrom + 10
    1   libsystem_c.dylib             0x9c001d32 recv$UNIX2003 + 55
    2   ServiceManager-Launcher.dylib 0x22f15733 Invoke + 47867
    3   ServiceManager-Launcher.dylib 0x22f14846 Invoke + 44046
    4   ServiceManager-Launcher.dylib 0x22f13988 Invoke + 40272
    5   ServiceManager-Launcher.dylib 0x22f13a0f Invoke + 40407
    6   ServiceManager-Launcher.dylib 0x22f0ebaf Invoke + 20343
    7   ServiceManager-Launcher.dylib 0x22f0eea7 Invoke + 21103
    8   ServiceManager-Launcher.dylib 0x22f0f685 Invoke + 23117
    9   ServiceManager-Launcher.dylib 0x22f0f8f9 Invoke + 23745
    10  ServiceManager-Launcher.dylib 0x22f122a0 Invoke + 34408
    11  ServiceManager-Launcher.dylib 0x22f123fd Invoke + 34757
    12  ServiceManager-Launcher.dylib 0x22f12c91 Invoke + 36953
    13  ServiceManager-Launcher.dylib 0x22f12db2 Invoke + 37242
    14  ServiceManager-Launcher.dylib 0x22f05656 Login + 461
    15  ServiceManager-Launcher.dylib 0x22f0909a Login + 15377
    16  ServiceManager-Launcher.dylib 0x22f13165 Invoke + 38189
    17  ServiceManager-Launcher.dylib 0x22f152eb Invoke + 46771
    18  libsystem_pthread.dylib       0x988c6ecf _pthread_body + 138
    19  libsystem_pthread.dylib       0x988c6e45 _pthread_start + 162
    20  libsystem_pthread.dylib       0x988c4f0e thread_start + 34
    Thread 9:
    0   libsystem_kernel.dylib         0x955d1516 __psynch_cvwait + 10
    1   libsystem_pthread.dylib       0x988c7b06 _pthread_cond_wait + 726
    2   libsystem_pthread.dylib       0x988cb1d1 pthread_cond_wait$UNIX2003 + 71
    3   com.adobe.InDesign.AppFramework 0x10160556 GetPlugIn + 876822
    4   com.adobe.InDesign.AppFramework 0x1015c8ff GetPlugIn + 861375
    5   com.adobe.InDesign.AppFramework 0x1015d3c5 GetPlugIn + 864133
    6   com.adobe.InDesign.AppFramework 0x1015e98e GetPlugIn + 869710
    7   com.adobe.InDesign.AppFramework 0x1015e9fa GetPlugIn + 869818
    8   com.adobe.InDesign.AppFramework 0x1015ea66 GetPlugIn + 869926
    9   com.adobe.boost_threads.framework 0x01c6a40d thread_proxy + 141
    10  libsystem_pthread.dylib       0x988c6ecf _pthread_body + 138
    11  libsystem_pthread.dylib       0x988c6e45 _pthread_start + 162
    12  libsystem_pthread.dylib       0x988c4f0e thread_start + 34
    Thread 10:
    0   libsystem_kernel.dylib         0x955d1516 __psynch_cvwait + 10
    1   libsystem_pthread.dylib       0x988c7b06 _pthread_cond_wait + 726
    2   libsystem_pthread.dylib       0x988cb1d1 pthread_cond_wait$UNIX2003 + 71
    3   com.adobe.InDesign.AppFramework 0x10160556 GetPlugIn + 876822
    4   com.adobe.InDesign.AppFramework 0x1015c8ff GetPlugIn + 861375
    5   com.adobe.InDesign.AppFramework 0x1015d3c5 GetPlugIn + 864133
    6   com.adobe.InDesign.AppFramework 0x1015e98e GetPlugIn + 869710
    7   com.adobe.InDesign.AppFramework 0x1015e9fa GetPlugIn + 869818
    8   com.adobe.InDesign.AppFramework 0x1015ea66 GetPlugIn + 869926
    9   com.adobe.boost_threads.framework 0x01c6a40d thread_proxy + 141
    10  libsystem_pthread.dylib       0x988c6ecf _pthread_body + 138
    11  libsystem_pthread.dylib       0x988c6e45 _pthread_start + 162
    12  libsystem_pthread.dylib       0x988c4f0e thread_start + 34
    Thread 11 Crashed:
    0   libsystem_kernel.dylib         0x955d169e __pthread_kill + 10
    1   libsystem_pthread.dylib       0x988c8fd5 pthread_kill + 101
    2   libsystem_c.dylib             0x9bfe1fca __abort + 187
    3   libsystem_c.dylib             0x9bfe284a __stack_chk_fail + 239
    4   com.adobe.CoolType             0x010137c9 CTInit + 1626733
    5   com.adobe.CoolType             0x01014053 CTInit + 1628919
    6   com.adobe.CoolType             0x010111ba CTInit + 1616990
    7   com.adobe.CoolType             0x0100f77e CTInit + 1610274
    8   com.adobe.CoolType             0x00f6478e CTInit + 909874
    9   com.adobe.CoolType             0x00ef40a2 CTInit + 449350
    10  com.adobe.CoolType             0x00e726ba 0xe1e000 + 345786
    11  com.adobe.PDFL                 0x2e5722e2 PDFontPSFlushIncrGlyphList + 85285
    12  com.adobe.PDFL                 0x2e987898 PDEFontGetWidthsNow + 8752
    13  com.adobe.PDFL                 0x2e987bb9 PDEFontGetWidthsNow + 9553
    14  com.adobe.PDFL                 0x2e988b13 PDEFontGetWidthsNow + 13483
    15  com.adobe.PDFL                 0x2e9899a1 PDEFontGetWidthsNow + 17209
    16  com.adobe.PDFPort             0x17267ffe PDFPortInitialize + 560298
    17  com.adobe.PDFPort             0x17268375 PDFPortInitialize + 561185
    18  com.adobe.PDFPort             0x172508f0 PDFPortInitialize + 464284
    19  com.adobe.InDesign.PDF         0x16f84f09 0x16f4f000 + 220937
    20  com.adobe.InDesign.PDF         0x16fa864d GetPlugIn + 66509
    21  com.adobe.InDesign.PDF         0x16fab0b8 GetPlugIn + 77368
    22  com.adobe.InDesign.PDF         0x16f92bb5 0x16f4f000 + 277429
    23  PublicLib.dylib               0x01701d7c Command::DoImmediate(short) + 62
    24  com.adobe.InDesign.Utilities   0x0fac5691 0xfac1000 + 18065
    25  com.adobe.InDesign.Utilities   0x0fac58a0 0xfac1000 + 18592
    26  com.adobe.InDesign.AppFramework 0x1007cbba 0x10060000 + 117690
    27  PublicLib.dylib               0x01702724 CmdUtils::ProcessCommand(ICommand*) + 48
    28  com.adobe.InDesign.PDF         0x170d2bb6 GetPlugIn + 1288502
    29  com.adobe.InDesign.PDF         0x170d6f47 GetPlugIn + 1305799
    30  com.adobe.InDesign.AppFramework 0x1015a749 GetPlugIn + 852745
    31  com.adobe.InDesign.AppFramework 0x1015bca6 GetPlugIn + 858214
    32  com.adobe.InDesign.AppFramework 0x1015c804 GetPlugIn + 861124
    33  com.adobe.InDesign.AppFramework 0x1015d3c5 GetPlugIn + 864133
    34  com.adobe.InDesign.AppFramework 0x1015e98e GetPlugIn + 869710
    35  com.adobe.InDesign.AppFramework 0x1015e9fa GetPlugIn + 869818
    36  com.adobe.InDesign.AppFramework 0x1015ea66 GetPlugIn + 869926
    37  com.adobe.boost_threads.framework 0x01c6a40d thread_proxy + 141
    38  libsystem_pthread.dylib       0x988c6ecf _pthread_body + 138
    39  libsystem_pthread.dylib       0x988c6e45 _pthread_start + 162
    40  libsystem_pthread.dylib       0x988c4f0e thread_start + 34
    Thread 12:
    0   libsystem_kernel.dylib         0x955d1516 __psynch_cvwait + 10
    1   libsystem_pthread.dylib       0x988c7b06 _pthread_cond_wait + 726
    2   libsystem_pthread.dylib       0x988cb1d1 pthread_cond_wait$UNIX2003 + 71
    3   MultiProcessor Support         0x0e451eac boost::condition_variable::wait(boost::unique_lock<boost::mutex>&) + 140
    4   MultiProcessor Support         0x0e435513 ThreadFunctor::operator()() + 99
    5   MultiProcessor Support         0x0e43525a boost::detail::thread_data<ThreadFunctor>::run() + 22
    6   MultiProcessor Support         0x0e451547 thread_proxy + 167
    7   libsystem_pthread.dylib       0x988c6ecf _pthread_body + 138
    8   libsystem_pthread.dylib       0x988c6e45 _pthread_start + 162
    9   libsystem_pthread.dylib       0x988c4f0e thread_start + 34
    Thread 13:
    0   libsystem_kernel.dylib         0x955d1516 __psynch_cvwait + 10
    1   libsystem_pthread.dylib       0x988c7b06 _pthread_cond_wait + 726
    2   libsystem_pthread.dylib       0x988cb1d1 pthread_cond_wait$UNIX2003 + 71
    3   com.adobe.ape.engine           0x379e704f APXGetHostAPI + 2633743
    4   com.adobe.ape.engine           0x3777862f APXGetHostAPI + 83439
    5   com.adobe.ape.engine           0x379e713e APXGetHostAPI + 2633982
    6   com.adobe.ape.engine           0x379e71a7 APXGetHostAPI + 2634087
    7   com.adobe.ape.engine           0x379e72c6 APXGetHostAPI + 2634374
    8   libsystem_pthread.dylib       0x988c6ecf _pthread_body + 138
    9   libsystem_pthread.dylib       0x988c6e45 _pthread_start + 162
    10  libsystem_pthread.dylib       0x988c4f0e thread_start + 34
    Thread 14:
    0   libsystem_kernel.dylib         0x955d1516 __psynch_cvwait + 10
    1   libsystem_pthread.dylib       0x988c7b06 _pthread_cond_wait + 726
    2   libsystem_pthread.dylib       0x988cb1d1 pthread_cond_wait$UNIX2003 + 71
    3   com.adobe.ape.engine           0x379e704f APXGetHostAPI + 2633743
    4   com.adobe.ape.engine           0x3777862f APXGetHostAPI + 83439
    5   com.adobe.ape.engine           0x379e713e APXGetHostAPI + 2633982
    6   com.adobe.ape.engine           0x379e71a7 APXGetHostAPI + 2634087
    7   com.adobe.ape.engine           0x379e72c6 APXGetHostAPI + 2634374
    8   libsystem_pthread.dylib       0x988c6ecf _pthread_body + 138
    9   libsystem_pthread.dylib       0x988c6e45 _pthread_start + 162
    10  libsystem_pthread.dylib       0x988c4f0e thread_start + 34
    Thread 15:
    0   libsystem_kernel.dylib         0x955d1516 __psynch_cvwait + 10
    1   libsystem_pthread.dylib       0x988c7b7a _pthread_cond_wait + 842
    2   libsystem_pthread.dylib       0x988c7d9d pthread_cond_timedwait_relative_np + 47
    3   com.adobe.ape.engine           0x379e7017 APXGetHostAPI + 2633687
    4   com.adobe.ape.engine           0x37a0020e APXGetHostAPI + 2736590
    5   com.adobe.ape.engine           0x379e713e APXGetHostAPI + 2633982
    6   com.adobe.ape.engine           0x379e71a7 APXGetHostAPI + 2634087
    7   com.adobe.ape.engine           0x379e72c6 APXGetHostAPI + 2634374
    8   libsystem_pthread.dylib       0x988c6ecf _pthread_body + 138
    9   libsystem_pthread.dylib       0x988c6e45 _pthread_start + 162
    10  libsystem_pthread.dylib       0x988c4f0e thread_start + 34
    Thread 16:
    0   libsystem_kernel.dylib         0x955d1516 __psynch_cvwait + 10
    1   libsystem_pthread.dylib       0x988c7b7a _pthread_cond_wait + 842
    2   libsystem_pthread.dylib       0x988c7d9d pthread_cond_timedwait_relative_np + 47
    3   com.adobe.ape.engine           0x379e7017 APXGetHostAPI + 2633687
    4   com.adobe.ape.engine           0x37b750c8 APXGetHostAPI + 4264072
    5   com.adobe.ape.engine           0x379e713e APXGetHostAPI + 2633982
    6   com.adobe.ape.engine           0x379e71a7 APXGetHostAPI + 2634087
    7   com.adobe.ape.engine           0x379e72c6 APXGetHostAPI + 2634374
    8   libsystem_pthread.dylib       0x988c6ecf _pthread_body + 138
    9   libsystem_pthread.dylib       0x988c6e45 _pthread_start + 162
    10  libsystem_pthread.dylib       0x988c4f0e thread_start + 34

  • Can't Choose Page Range when Exporting PDF from InDesign

    Hi!  Ever since I upgraded to CS6 via your subscription, I can't choose a page-range when exporting to PDF from InDesign (8.0.1).  Here's a video demonstration of the problem so you can see the bug in action:  http://screencast.com/t/kYR1ACtNi
    Are you aware of this bug?  If it's not a bug, how do I fix it?

    Alternate layouts are used for things like horizontal and vertical orientations of the same layout for use on tablets. I suspect there's some coverage in the Help files -- being a print guy I don't mess with them.
    It may be that you only have one layout and ID just shows you that one inthe dropdown. I can't recall that I ever used the dropdown to try to select the range -- I always just type what I need in the field.

  • Errors when Exporting PDF to various formats

    I have a 231 Page PDF that consists of text, scanned images/pages of text, metadata, comments and hidden text. The document is a company manual/handbook.  I am working on a project to pull all this into InDesign in order to make the document easily and quickly editable.  The problem is that the original PDF was created with Word with all the elements I've listed and the main problem being the scanned pages of text (from previous versions of the manual) just inserted in word before being exported.  So, I can't just copy and paste everything into InDesign because a lot of the text is actually scanned pages.
    Originally, I got around this by running the OCR Engine and then Command-A > Command-C, etc.  The problem there is that the formatting is completely messed up.  Line breaks all over, etc.  I removed all formatting (including line breaks) by copying and pasting all of the text into Safari's Google search box and then copying/pasting that back into Word (which will eventually simply serve as the file InDesign pulls the text from).  Now I'm going through adding in text formatting (paragraph breaks, etc.) by flipping pages of the original manual while hitting "Enter" in Word.
    Now, I see a feature in Acrobat 9 Pro that allows me to export to Word, RTF, etc.  However, I keep getting some errors.  I've managed to get rid of all but one - Bad Fonts.  Adobe pops up this "Bad Font" error and tells me the file has not been saved.  Additionally, I've managed to get through 116 pages of the document saving process when exporting to "Text - Accessible" and then Acrobat 9 Pro just quits.
    Any thoughts on how to get around this error or fix it?  Any other time saving tips?
    Thanks

    Hello,
    It seems that the problem is related to particular PDF file.
    1. Try running OCR on it via Tools -> Text Recognition -> In This File, and then convert the file.
    2. Print the file to Adobe PDF printer and then try to Export it into Excel.
    Regards,
    Anoop

  • Initial View set with epilogue.ps when exporting pdf from Indesign

    Hi all. After years of Quarking, Freehanding, Pagemakering and my favourite, Indesigning, i finally got down to investigating a one step solution to setting the initial view in pdfs.
    When distributing pdf 'layouts' and 'proofs' to clients i always set the pdf's initial view to fit page before emailing. It is simply the pro thing to do, and allows for a client to view the 'big picture' without having to first see a close-up of the top of a layout or design.
    In the same breath i would set a business card layout to open at 125% or 150% so they get a feel for the actual size of finished product.
    Well all these years of pdf proofing i have been hitting the old ⌘-D in Acrobat and manually setting initial view to fit page. Then ⌘-S and "bobs your uncle".
    Ready to email.
    Huge deadlines aside, this morning i woke up early, and decided to have a good look online as to what one can do to automate this small, but oh so repetitive task. Well reading about the prologue.ps and epilogue.ps, got me really excited, especially when i implemented a little postscript tweak to the epilogue.ps, and distiller saw it through beautifully.
    Alas my elation was short lived as it seems Indesign uses it's own 'distiller' so to speak and does not see the epilogue.ps.
    And i am definitely not going to start printing ps files to a 'watched folder'. I spent years distilling manually, and since Indesign and it's superb built in pdf-ing, i have never looked back.
    So looks like we are all gonna have to continue ⌘-D ing, till adobe picks this up and changes the build to accomodate.
    Just wanted to put this out there, and see perhaps if anybody has another take on this one. Am i missing something. If i am please let us all know.
    Many thanks,
    Rupert Pluck

    If you upgrade to InDesign CS5, there are two ways to export a PDF file: (1) For Print. This this does not include the option to set Initial View (2) For Interactive. For Interactive PDF's you can set the Initial View in InDesign.

  • Pictures lost when exporting pdf from Indesign.

    Hey
    I have a problem with exporting an Indesign CS4 document into pdf. In the pdf-file all pictures turn into grey boxes.
    All photos is cmyk and saved as eps-format.
    What is wrong?
    Hope someone can help.

    Subject line says you're *exporting* PDF. Are you exporting or printing to the Adobe PDF printer? Or do you mean that Acrobat is displaying perfectly good pictures as gray boxes (and you verified this by looking at the same PDF on a different machine)?
    In my Acrobat 7 (haven't installed 9 yet) I can turn off display of large pictures in Preferences > Page Display > Display large images. If this is unchecked, I can make at least some of my pictures display as gray boxes.
    Ken Benson

  • Can't display chinese language when export PDF

    Hi,
       I am using Crystal Report for Visual Studio 2010 to develop a report application.
       The database characert code is UTF-8.
        When crystal report export to RTF file, it works fine.
        but when export to PDF, the chinse character is not able to show.
        I am wonder does crystal report support Asain language or not.
        My OS server is windows 2008 sever (English).

    Hi Bobo,
    Is this a Windows or a WEB app?
    32 or 64 bit app?
    Which Font did you select, try using a Unicode True Type font like MS Ariel Unicode in the report object Font properties as a test to see if that works.
    What DB and Client are you using?
    Don

  • ID CS5 Disable background printing when exporting pdf

    Is there a way to disable background printing when exporting to pdf in InDesign CS5?
    I really prefer the way pdf-export has been done in the foreground as it has been since InDesign 1.0.
    An option where you could choose between forground and background printing would be nice since I'm pretty sure there are people out there who want background printing. Why else would Adobe all of a sudden make this, in my opinion, stupid change?

    For the record, exporting PDF has nothing to do with printing from ID. In theory it was made a background task to improve your efficiency and productivity (at the request of users, by the way), since a foregorund export stops you from doing anything else while you wait, but the background export allows you to work on things at the same time.
    Most of the time this actually works well. There was a bug that showed up under certain circumstances (squashed in the last patch), and some reports of export failure with other files as well that are not related to the bug. Though I was one of the first to report a hang during export, I've not seen one in at least six months, maybe longer, and none of the files that originally failed do so now. If the reason you want the foreground export is to see a progress bar, which I miss, you can open Window > Utilities > Background Tasks to see it.
    If you'd like this to be a user preference in a future release, file a request at Adobe - Feature Request/Bug Report Form

  • ICC error Message when Exporting PDF

    I hope someone can answer this for me, I searched the web and could not find anything like this. The Newspaper I work for had their Ink supplier create a custom ICC profile for their press. I set up Indesign to use the profile in the color settings as well as when exporting to PDF. Now when I export I get a error message stating "Version 4 ICC Profiles will be converted to Version 2 ICC profiles during PDF Export" most of the time the color on the pdfs come out fine, but there have been a few where the color changes/shifts. Does anyone know why this message appears and is there a way to fix it? I will be doing alot of testing to see if I can get the message to not come up.
    Thanks
    -Dustin Bell

    I'm not sure you'll find exactly the answer you are looking for, but there's a lot of information accessible through this search:
    http://www.google.com/search?q=%22icc+profiles%22+%22version+4%22
    It's some sort of incompatibility issue with the new standard.
    Peter

  • Anti-aliased text when exporting PDF to image

    I need to be able to batch-convert multi-page PDFs to individual bitmap images (one image for each page) with anti-aliased text.
    Photoshop works this way if you open a single PDF, allowing you to select one or more pages to rasterize as separate images, but not when batch processing (specifically, if you use the Image Processor script on a folder of images and PDFs, it will rasterize the PDFs automatically, but it will only do so with the first page of each PDF.)
    Acrobat, on the other hand, automatically creates an image for each page when exporting, and can do this in a batch sequence, but the text is not anti-aliased, making the image look like a screenshot from 1997. No matter how high an image resolution you select, the text is still jagged when you zoom in.
    So, is there a setting I'm missing that will allow the text to be anti-aliased when using Acrobat to export PDF to an image? I am using Acrobat 8, not 9, so something might have changed in the newest version.

    Not sure about Acrobat Pro 8, but in Acrobat Pro 9 (not Extended) you can Export>Image>Multiple Choice: JPEG, JPEG2000, PNG, TIFF.  I used JPEG and under the options in the export dialog box, leave the filename as is to coincide with the PDF filename and then choose Maximum Resolution under File Settings: Grayscale (JPEG, Quality:Maximum); Color (JPEG, Quality:Maximum) . . . skip down to Conversion Colorspace: Determine Automatically and Resolution choose 600pixels/inch for a letter size document.  This will result in a file size of 1.3MB per JPEG image if there is not a lot of information on the page.  I chose a simple header, footer with page numbering, and 5 lines of Lorem Ipsum text.  600dpi is overkill, you can go for 300dpi and still result in a decent image that will be able to be printed on a laser photocopier that is connected to a production computer.  Obviously if you are printing to a laser printer or a high quality inkjet 300dpi will suffice as well for a letter sized document.  But I have been told that 300dpi is not a standard rule of thumb and you must obtain specs from your printer since he/she can calculate by very strict rules the dpi you need for your content.  It depends on whether you have background images such as watermarks and also if your text body contains line-art.

  • Setting Flattener preferences when exporting PDF

    Hi everyone,
    I'm trying to define a preset when exporting to PDF to make sure that layers transparency works properly independantly from what are the current presets in inDesign.
    var app:Application = InDesign.app;
    app.pdfExportPreferences.exportLayers = false; // Setting some other export preferences, no problem here
    var flattenerPreset:FlattenerPreset = app.flattenerPresets.add();
    flattenerPreset.name = "MyCustomPreset";
    flattenerPreset.rasterVectorBalance = FlattenerLevel.LOW;
    flattenerPreset.convertAllTextToOutlines = true;
    app.pdfExportPreferences.appliedFlattenerPreset = flattenerPreset; // Crashes
    Unfortunately this doesn't work and I get a mysterious error on the last line:
    Error: The property is not applicable in the current state.
              at flash.external::HostObject/__set()
              at com.adobe.csawlib::CSHostObject/hostSet()
    Any idea what I'm doing wrong?
    Thanks in advance for your help.

    Hi Harb,
    I tried to call it as a script like this this:
    var app:Application = InDesign.app;
    var script:String = ( <![CDATA[
      var flattenerPreset = app.flattenerPresets.add();
      flattenerPreset.name = "MyCustomPreset";
      var flattenerlevel = FlattenerLevel.LOW;
      flattenerPreset.rasterVectorBalance = flattenerlevel;
      flattenerPreset.lineArtAndTextResolution = 2400.0;
      flattenerPreset.gradientAndMeshResolution = 400.0;
      flattenerPreset.convertAllTextToOutlines = true;
      flattenerPreset.convertAllStrokesToOutlines = true;
      flattenerPreset.clipComplexRegions = false;
      app.pdfExportPreferences.appliedFlattenerPreset = flattenerPreset;
    ]]> ).toString();
    app.doScript(script, ScriptLanguage.javascript);
    Is that what you ment? But I get the exact same error ( Error: The property is not applicable in the current state. )

  • The problem with the correct diagnosis sensitive when exporting PDF to RTF

    Welcome.
    I came across the following error when converting PDF files to RTF program "Adobe Acrobat XI Pro" - it happens that some files (unfortunately, they form the majority of those who support it) some letters for some reason are not properly converted - for example, instead of getting a word in capital letters word in which the first letter is small and the other large. This is just one of many examples - "POLICE" -> "pOLICE", etc.
    Can someone already encountered a similar problem?Is interesting to add that when I open this PDF in the "Adobe Reader" and choose "save as" -> "text" - the letters are incorrect.
    I apologize in advance for any spelling mistakes - the text is translated automatically :-)
    PDF:
    RTF:

    Unfortunately, this was afraid ... I understand that there is no way to get around this? I do not have any influence on how the PDF files are created - just get there already, and I bring them into a fully editable (RTF).

Maybe you are looking for

  • Explode  SD Free good  determination + BOM in sales order

    Hi! I create for material sales bom + free good material (Tcode VBN1 and I tried to explode both of them in sales order, It didn't happend. when i did order for this item, just the bom exploded, without the free good. i need to explode both of them P

  • WEP Password works on all Wireless Mac computers except Intel

    O.K. So I am not a network wonk but hear me out. I am using an SMC wireless router which works fine and I have it connected to my G4 Cube for the past 3 years via ethernet. I also have a G3 Pismo and G4 Titanium powerbooks with airport cards that see

  • HT1443 Help with iTunes 7 & upgrading!

    I need my iTunes 7 to work, but I have Mac OS X 10.5.8. and for iTunes 7, Mac OS X 10.6.8. or higher is required. What do I need to do to achieve this? Thanks

  • Workflows - badi - error message

    Hi Experts, I have a requirement in workflows...where i need to display en error after checking a condition. Is there any standard BAdI through which we can display error message on the status bar of UI..?? Any pointers shall prove really helpful. Wi

  • Lens distortion correction

    I would like to know if there is way to correct a lens distortion (Barrel Distortion) inside Lightroom. If not, how can I do it. ex. Nikon D70 lens 18-70mm