Printing issue with pdftops for XML publisher reports.

Hi All,
We have recently upgraded from 11.5.10 to R12.1.3.
We are facing a strange issue for some of the seeded reports that were converted to type XML after R12 upgrade.
First, the reports were printed with junk / xml character while submitting the requests from application (e.g. Account Analysis Report)
We made the following changes.
- Added PDF Publisher style with required flag set to yes to the  Account Analysis Report.
- Set proifle option "FND: Default Template Output Type"  to PDF   (it was blank)
- The pasta_pdf.cfg is configured to use pdftops for conversion
- Restarted the manager.
After this, the above report is priting fine and pdftops is converting it to correct format before printing.
But one of the printer that Oracle EBS is configured is getting stuck specifically for this postscript based request.  The same report prints well on another printer.
The 'lpstat -t' shows the following status for the failing printer.
=============
printer PRT1 is idle.  enabled since Tue 23 Jul 2013 03:24:40 PM EDT
        /usr/lib/cups/filter/pstoraster failed
=============
The printer queue logs on the application servers shows the following details for the failing printer.
=========================================
I [22/Jul/2013:15:00:48 -0400] [Job 137] Queued on "PRT1" by "appldfin".
I [22/Jul/2013:15:00:48 -0400] [Job 137] Started filter /usr/lib/cups/filter/pdftops (PID 13530)
I [22/Jul/2013:15:00:48 -0400] [Job 137] Started filter /usr/lib/cups/filter/pstoraster (PID 13531)
I [22/Jul/2013:15:00:48 -0400] [Job 137] Started filter /usr/lib/cups/filter/hpcups (PID 13532)
I [22/Jul/2013:15:00:48 -0400] [Job 137] Started backend /usr/lib/cups/backend/socket (PID 13533)
E [22/Jul/2013:15:00:48 -0400] [Job 137] Job stopped due to filter errors.
==========
The printer that works fine on the same application server has the following message.
==========
I [22/Jul/2013:15:16:44 -0400] [Job 139] Queued on "PRT2" by "appldfin".
I [22/Jul/2013:15:16:44 -0400] [Job 139] Started filter /usr/lib/cups/filter/pdftops (PID 15825)
I [22/Jul/2013:15:16:44 -0400] [Job 139] Started backend /usr/lib/cups/backend/socket (PID 15826)
I [22/Jul/2013:15:16:44 -0400] [Job 139] Completed successfully.
==============
It only goes through 2 filters and prints just fine
The system admin team has tried to re-install the printer driver but no luck.
Any idea what could be the cause and how can fix it?
Any pointers will be highly appreciated.
Thanks
Sunil Bhavsar

Thanks Hussein.
I will check the 2 options you recommended. At the same, I would like to test the direct print from the OS using pdftops utility.  But not sure how can I do that?
The concurrent request creates the .tmp file under APPLTMP and pass that as the parameter while printing such requests. But if we need to test the .PDF output using pdftops directly, what should be the syntax? Or I would say, what should be the input file and output file?
e.g.
pdftops {infile} {outfile}
I have got the .PDF output under $APPLCSF/$APPLOUT. But from one of the failed request logs, I see the system passes both as .tmp. If we need to test this directly, is there any way?
In the meantime, I will check the debug logs option and update if it provides any additional information.
Regards,
Sunil

Similar Messages

  • Getting OPP LOG Error for XML Publisher report

    Hi Experts
                               We are facing warning message for Xml Publisher report  please advise how can we avoid this warning message.
    {code}
    Post-processing of request 12345678 failed at <sysdate> with the error message: The Output Post-processor is running but has not picked up this request. No further attempts will be made to post-process this request, and the request will be marked with Warning status. Setting the profile option Concurrent: OPP Response Timeout to a higher value may be necessary
    {code}
    We have increased the Profile value for
    Concurrent: OPP Process Timeout  from 120 to 240 still we are facing the issue even we have  stop and restart the OPP for the change to be implemented but no luck please advice me
    Thanks
    AT

    Hi,
    Please see the following notes:
    The Output Post-processor Is Running But Has Not Picked Up This Request. (Doc ID 1547102.1)
    Concurrent Requests Fail Due to Output Post Processing (OPP) Timeout (Doc ID 352518.1)
    Report Output Error: The XML page cannot be displayed. Cannot view XML input using style sheet. (Doc ID 753620.1)
    Output Post Processor (OPP) Manager Not Working Error: APPLTMP Environment Variable is not Set (Doc ID 1381474.1)
    R12: Troubleshooting Known XML Publisher and E-Business Suite (EBS) Integration Issues (Doc ID 1410160.1)
    Thanks &
    Best Regards,

  • Getting OPP  Error for XML Publisher report

    Hi Experts
                               We are facing warning message for Xml Publisher report  please advise how can we avoid this warning message.
    {code}
    Post-processing of request 12345678 failed at <sysdate> with the error message: The Output Post-processor is running but has not picked up this request. No further attempts will be made to post-process this request, and the request will be marked with Warning status. Setting the profile option Concurrent: OPP Response Timeout to a higher value may be necessary
    {code}
    We have increased the Profile value for
    Concurrent: OPP Process Timeout  from 120 to 240 still we are facing the issue even we have  stop and restart the OPP for the change to be implemented but no luck please advice me
    Thanks
    AT

    Hi,
    Please see the following notes:
    The Output Post-processor Is Running But Has Not Picked Up This Request. (Doc ID 1547102.1)
    Concurrent Requests Fail Due to Output Post Processing (OPP) Timeout (Doc ID 352518.1)
    Report Output Error: The XML page cannot be displayed. Cannot view XML input using style sheet. (Doc ID 753620.1)
    Output Post Processor (OPP) Manager Not Working Error: APPLTMP Environment Variable is not Set (Doc ID 1381474.1)
    R12: Troubleshooting Known XML Publisher and E-Business Suite (EBS) Integration Issues (Doc ID 1410160.1)
    Thanks &
    Best Regards,

  • FO processing for XML Publisher Report Bursting Program

    Hello,
    I am facing the following problem: if i try to burst a report using XML Publisher Report Bursting Program special characters like (ş,ţ,ă, etc.) in the resulting PDF look strange. I have tried running the report without bursting it and the characters appear just fine (after i've set the FO Processing Font Mapping). My guess is that XML Publisher Report Bursting Program is not using the right font mapping. Have you faced this problem before? Do you have any idea how to set the right font mapping for XML Publisher Report Bursting Program.
    Thank you.

    So the answer was to make sure the location in the bursting file (location="xdo://schema.template_code.en.US) exactly matches the language/country setting in the uploaded Definition. Then make sure the fonts have been added to the xdo.cfg file matching what your Font Mappings are:
    <font family="Cambria" style="normal" weight="normal">
    <truetype path="/app/erp1/applmgr/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/fonts/CAMBRIA.TTC" />
    </font>
    <font family="Cambria" style="normal" weight="bold">
    <truetype path="/app/erp1/applmgr/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/fonts/CAMBRIAB.TTF" />
    </font>
    <font family="Cambria Bold" style="normal" weight="bold">
    <truetype path="/app/erp1/applmgr/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/fonts/CAMBRIAB.TTF" />
    </font>
    <font family="Cambria Bold" style="normal" weight="normal">
    <truetype path="/app/erp1/applmgr/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/fonts/CAMBRIAB.TTF" />

  • How to print Barcode data in Oracle XML Publisher Report

    Hi,
    We have an rdf report which prints Bar code in the starting page based on a custom procedure from MarkView. It works well with Oracle Reports.
    But since the current report was a matrix report, we are changing it to a Linear report through Oracle XML Publisher Report.
    We have all the things possible in the new Oracle XML Report.. But we are unable to print the Bar code data which is BLOB in the XML Report..
    Can anyone help me on this? We have UAT dates around the corner..
    We have an RTF Template .
    Help asap.
    Thanks
    Abhilash

    Hi Abhishek,
    Bar code Registration Steps in XMLPublisher responsibility:
    1.    Go to responsibility XML Publisher Administrator
    2.    Open Administration
    3.    Open Font Files Tab
    4.    Create Font File
    5.    Give Font Name : XX_BARCODE
    6.    File : Browse Barcode file
    7.    Apply
    8.    Go to Font mapping Tab
    9.    Open Create Font Mapping Set
    10.    Give Mapping Name: XX_BARCODE
    11.    Give Mapping Code: XX_BARCODE
    12.    Type : FO TO PDF
    13.    Apply
    14.    Open Tab Create Font Maping
    15.    Font Family: Code39-Digits(This name should be exactly the font name comes in word)
    16.    Style: Normal
    17.    Weight: Normal
    18.    Target Font Type: Truetype
    19.    Continue
    20.    Font : XX_BARCODE
    21.    Apply
    1.    Go to Template Tab
    2.    Query for your template
    3.    Open Edit Configuration
    4.    Click on FO Processing
    5.    In Font Mapping set Give XX_BARCODE
    RTF Template (word):
    1.Design the RTF template
    2.Insert the barcode against reqd field
    3.Make sure to put an * before and after the barcode so that scanner understands the beginning and end
    Please send your rtf ,xml file if you are still facing issues.
    Rgds,

  • How to create editable PDF template for XML Publisher reports

    Hi,
    I have got a requirement to have some editable fields in one report whose output is in PDF format.
    I tried looking and saw this can be done using the XML Publisher report and using PDF template.
    But I got only Adobe Acrobat Reader and it does not have the facility to create Form fields.. Can you let me know what software I need in order to create the editable PDF Template.
    In the user guide, it didnot mention anything regarding this.
    Can I create editable PDF report using RTF template or do i have to got for PDF template only?
    Any help is appreciated!
    Thanks

    Hi,
    To edit PDF template , u need Acrobat writer, which is not free .
    I am still wondering what is this ?
    "" Can I create editable PDF report using RTF template ?? "".
    What is editable PDF report. ?
    i think what you tried to mention is ,
    can the PDF output from xml publisher is editable ?
    If that is the question , so here is some points,
    If you have Acrobat Writer or prof.edition, you can edit all the PDF documents irrespective of being from where it is generated.
    To make you understand more of XMLP.
    You create RTF template in word, so that , after merging with xml you can have multiple output formats like PDF, XLS, EFT,.....

  • Java.io.IOException in OPP for XML Publisher Report

    Hi,
    When we run the XML Publisher report for more data we get an exception in the OPP log as
    [9/27/10 10:26:37 AM] [UNEXPECTED] [1805143:RT102444048] java.io.IOException: There is not enough space in the file system.
    at java.io.FileOutputStream.writeBytes(Native Method)
    at java.io.FileOutputStream.write(FileOutputStream.java:266)
    at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:76)
    at java.io.BufferedOutputStream.write(BufferedOutputStream.java:89)
    at java.io.DataOutputStream.writeInt(DataOutputStream.java:191)
    at oracle.apps.xdo.generator.ProxyGenerator.writeInt(ProxyGenerator.java:613)
    at oracle.apps.xdo.generator.ProxyGenerator.setColor(ProxyGenerator.java:1161)
    at oracle.apps.xdo.template.fo.area.BorderArea.renderBorder(BorderArea.java:775)
    at oracle.apps.xdo.template.fo.area.BorderArea.outBorders(BorderArea.java:206)
    at oracle.apps.xdo.template.fo.area.BorderArea.outBorders(BorderArea.java:147)
    at oracle.apps.xdo.template.fo.area.TableArea.doOutput(TableArea.java:271)
    at oracle.apps.xdo.template.fo.area.BlockArea.doOutput(BlockArea.java:427)
    at oracle.apps.xdo.template.fo.area.NormalFlowReferenceArea.doOutput(NormalFlowReferenceArea.java:58)
    at oracle.apps.xdo.template.fo.area.SpanReferenceArea.doOutput(SpanReferenceArea.java:188)
    at oracle.apps.xdo.template.fo.area.BodyRegionArea.doOutput(BodyRegionArea.java:122)
    at oracle.apps.xdo.template.fo.area.PageArea.doOutput(PageArea.java:666)
    at oracle.apps.xdo.template.fo.area.AreaTree.doOutput(AreaTree.java:483)
    at oracle.apps.xdo.template.fo.elements.FormattingEngine.startLayout(FormattingEngine.java:243)
    at oracle.apps.xdo.template.fo.elements.FormattingEngine.run(FormattingEngine.java:121)
    at oracle.apps.xdo.template.fo.FOHandler.endElement(FOHandler.java:600)
    at oracle.apps.xdo.common.xml.XSLTHandler$EEEntry.sendEvent(XSLTHandler.java:594)
    at oracle.apps.xdo.common.xml.XSLTMerger.startElement(XSLTMerger.java:51)
    at oracle.xml.parser.v2.XMLContentHandler.startElement(XMLContentHandler.java:181)
    at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1288)
    at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:336)
    at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:303)
    at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:205)
    at oracle.apps.xdo.template.fo.FOProcessingEngine.process(FOProcessingEngine.java:307)
    at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:1045)
    at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5926)
    at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3458)
    at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3547)
    at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:259)
    at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:172)
    [9/27/10 10:26:37 AM] [1805143:RT102444048] Completed post-processing actions for request 102444048.

    Check the error: There is not enough space in the file system.

  • Error for fetching long text in xml tag for xml publisher report

    My requirement is to fetch a large document which is in text format in XML output which can be printed in PDF format by using RTF method to generate PDF.But during XML ouput i got the following error-
    The XML page cannot be displayed
    Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh
    button, or try again later.
    The following tags were not closed: XXBG_EAMWRREP_V1, LIST_G_WO_ACTIVITY_CODE, G_WO_ACTIVITY_CODE, LIST_G_MEDIA_ID1,
    G_MEDIA...
    XXBG_EAMWRREP_V1 is the rdf and LIST_G_WO_ACTIVITY_CODE, G_WO_ACTIVITY_CODE, LIST_G_MEDIA_ID1, G_MEDIA are the groups name. In the group
    G_MEDIA i am fetching long_text from attahcment in application. In Database table the datatype of the text attachment is 'long' and there is a huge text
    data loaded in large data editor of that column. If the text data volume is small enough then there is no problem for fetching the xml output.
    If we change the output format as HTMl then there is no problem for fetching the output for long text but for xml output format we are unable to fetch the data
    in xml tag.
    One thing to mention the oracle report is the copy of Maintenance Work Order Detail Report. The seeded report is HTML format in 11i. The requirement is to make it in xml report.
    Please help.

    Hi,
    Actually clob datatype is not available in oracle report builder datatype lov. Could you pls tell the other ways of converting that to clob in oracle report...

  • No output for XML Publisher Report using CASE/DECODE in Where Clause

    Hi,
    I've a business requirement to modify an existing report which has two input parameters,
    -> p_statcode (Closed Status) which can have values 'Y' or 'N'
    -> p_overdue (Overdue Flag) which can have values 'Y' or 'N'
    The Overdue Flag is an evaluated column having values of Y/N and it is evaluated as follows,
    ONTF_MOD_VAL(NVL (
                                         (TRUNC (SYSDATE)
                                          - (TO_DATE (oe_order_lines.attribute18,
                                                      'DD-MON-RRRR')
                                             + TO_NUMBER (fnd_lookup_values.meaning))),
                                         0
                            overdue_flagThe user requirement now is they needs to be a third option for parameter p_overdue called ALL,
    passing which the output should include records having
    p_statcode is Y ELSE p_statcode is N AND p_overdue is Y OR p_overdue is N
    In other words records having both Y and N vlaues for Overdue Flag have to be returned irrespective of the value given to Closed Status.
    Original where clause in the Data Definition file is as follows,
    WHERE Closed_Status = nvl(:p_statcode,Closed_Status)
                       AND overdue_flag = nvl(:p_overdue,overdue_flag)My modified code is as follows,
    WHERE   Closed_Status = NVL (:p_statcode, Closed_Status)
             AND overdue_flag = (CASE
             WHEN :p_overdue = 'Y' THEN 'Y'
             WHEN :p_overdue = 'N' THEN 'N'
             ELSE overdue_flag
             END)
    OR
    WHERE   Closed_Status = NVL (:p_statcode, Closed_Status)
             AND overdue_flag = DECODE (:p_overdue, 'Y', 'Y', 'N', 'N',overdue_flag)Both approaches have the same problem.
    The output is in EXCEL format. The modified query works fine for p_overdue as Y or N but when p_overdue is passed as ALL it returns an empty EXCEL sheet with just the report output column headers.
    Any help as to why this is the case ?? What is wrong in my approach ?
    Regards,
    Vishal

    not clear about p_overdue = ALL
    which values needed for p_overdue = ALL ?
    try smth like
    WHERE   Closed_Status = NVL (:p_statcode, Closed_Status)
    AND (
       overdue_flag = DECODE (:p_overdue, 'Y', 'Y', 'N', 'N',overdue_flag) and :p_overdue != 'ALL'
       or
      :p_overdue = 'ALL' and (overdue_flag = 'Y' or overdue_flag = 'N')
    )for overdue_flag which has more then 'Y', 'N' values
    if overdue_flag only in ('Y','N') then
    WHERE   Closed_Status = NVL (:p_statcode, Closed_Status)
    AND (
       overdue_flag = DECODE (:p_overdue, 'Y', 'Y', 'N', 'N',overdue_flag) and :p_overdue != 'ALL'
       or
      :p_overdue = 'ALL'
    )

  • Freeze Pane Property of Excel in RTF template for XML Publisher Report

    Hi all,
    I have created RTF template and it's output type is Excel.
    I want to apply Freeze Pane Property of Excel in rtf template so that it can be applied to Excel Output.
    Please let me know any information regarding this ASAP.
    Thanks,
    P.A.

    This is the Oracle Reports forum. Better post this in the BI Publisher forum.

  • Error when using FND FORMAT_CURRENCY for XML Publisher report

    XML_REPORTS_XENVIRONMENT is :
    /apps01/applclone/erpcloneora/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
    XENVIRONMENT is set to /apps01/applclone/erpcloneora/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    _AMERICA.UTF8
    stat_low = B
    stat_high = 0
    emsg:was terminated by signal 11
    Program was terminated by signal 11
    Concurrent Manager encountered an error while running Oracle*Report for your concurrent request 3125762.
    Review your concurrent request log and/or report output file for more detailed information.
    Edited by: user11972592 on 20-May-2010 02:30
    Edited by: user11972592 on 20-May-2010 02:46

    I just tried:
    substr(to_timestamp(svs_date, 'dd-mon-yy'),1,9)which crops it but then the interactive searches dont work again so its basically the same as Date. :(
    Mike

  • Excel's Freeze Pane Property  in RTF template for XML Publisher Report

    Hi all,
    I have created RTF template and it's output type is Excel.
    I want to apply Freeze Pane Property of Excel in rtf template so that it can be applied to Excel Output.
    Please let me know any information regarding this.
    ta,
    P

    I am looking for the same functionality. Did you ever got answer for this?

  • How to avoid blank page in xml publisher report

    hi,
    i have a xml report, it shows 7 rows in one page. the question is: if there are just 7 rows , when previews with pdf, it will generate 2 pages, the first page shows 7 rows, and the second page is blank.
    anyone can help?
    you can get the rar file that contains the .rtf and then .xml file at this site: [http://www.4shared.com/file/azhdqCp_/DELIVERY.html]

    I am running a report in xml publisher. The output of the report prints 2
    pages, one page with correct report output and other page is a blank page
    with header details.
    I want to avoid this blank page. Is there something wrong? Please help to fix this issue!Is the issue with this specific XML Publisher report only?
    Do you have all the patches in (Overview of Available Patches for Oracle XML Publisher embedded in the Oracle E-Business Suite [ID 1138602.1]) applied? -- Search for "blank page".
    Thanks,
    Hussein

  • Can we use xml Publisher reporting for sql* Plus in EBS

    Hello All,
    The current report is designed in Sql* Plus Executable report and the output is in txt format, Now the requirement is to have the output in Excel format.
    So is it possible to use the xml reporting and make the output as Excel from the word template we design from MSword as we do for rdf(I have done few reports created in rdf to xml publisher reports in EBS and stand alone as well.).
    Do the same procedure will suit for Sql*Plus reports tooo or Is there any work around to achieve this.
    Thanks and Regards
    Balaji.

    Hi
    Thanks for the reply..
    I tried to do the follwoing
    1. changed the output to xml in the conc. prog.
    2. ran the same report but i am getting the follwoing error in the output file
    The XML page cannot be displayed
    Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
    Invalid at the top level of the document. Error processing resource
    Other reports which are using the Oracle Reports(rdf) as source, i am able to generated the xml as expected....
    So my question is whether we can use sql* reports executable and generate xml in the conc.prog.
    if any one has used the sql*reports for xml publisher reporting... please let me know, so that if its possible i will check my sql needs some validation or tuning...
    thanks in advance
    Balaji.

  • XML publisher report works fine in English environment but NOT in Dutch

    We are using Oracle Reports to generate XML file which will be input for XML Publisher report . Our requirement is to generate report in Dutch (Netherlands) language.
    We developed a report which is working fine in English. Then we copied this RDF file to NL directory also registered concurrent program in dutch language but then it stopped working and gives error.
    Basically it doesn't create any XML output .
    Please help . Its URGENT.
    Thanks in Advance.
    Manoj

    Hi Norman,
    Thanks for the reply, actually my query was failing as it was trying to compare English date format (1-MAY-2007) which was stored in a DFF with Dutch date (1-MIE-2007) database format ,so it was not generating any xml output.
    We have resolved this issue but now we are facing few other issue which are ,
    I have created a template which has a current date field. I inserted current date in Dutch format i,e, (1-juni-2007), but concurrent program output appears with english date format (1-June-2007).
    Same template has the customer name with 'Title' and this also appear in english i.e.Sir , in place of dutch title (Dhr.)
    Is it possible to display .pdf output with
    portrait (first page - Letter to customer)
    and landscape(second page - Invoice data details) styles for multiple customers in one request?
    We can do it for one customer by passing customer id so letter part (portrait output) is out of grouping and only data details (landscape) appear with multiple lines , but when we try to run it for multiple customers in one go , WITHOUT specifying a customer , it FAILS .
    Any help will be highly appreciated.
    Thanks - Manoj, Utrecht

Maybe you are looking for