Pdf report problem

hi every body,
I have problem with pdf extension in my report
all the others extensions working very well except pdf :)
I got this error
java.lang.StringIndexOutOfBoundsException: String index out of range: 54
     at java.lang.String.substring(Unknown Source)
     at oracle.apps.xdo.svg.obj.SVGText.getRealTranscodedObject(Unknown Source)
     at oracle.apps.xdo.generator.pdf.PDFGenerator.drawSVGObjects(Unknown Source)
     at oracle.apps.xdo.generator.pdf.PDFGenerator.drawSVGObjects(Unknown Source)
     at oracle.apps.xdo.generator.pdf.PDFGenerator.drawSVG(Unknown Source)
     at oracle.apps.xdo.generator.ProxyStreamGenerator.drawSVG(Unknown Source)
     at oracle.apps.xdo.template.fo.area.InstreamForeignObjectArea.doOutput(Unknown Source)
     at oracle.apps.xdo.template.fo.area.LineArea.doOutput(Unknown Source)
     at oracle.apps.xdo.template.fo.area.BlockArea.doOutput(Unknown Source)
     at oracle.apps.xdo.template.fo.area.RegionArea.doOutput(Unknown Source)
     at oracle.apps.xdo.template.fo.area.PageArea.doOutput(Unknown Source)
     at oracle.apps.xdo.template.fo.area.AreaTree.doOutput(Unknown Source)
     at oracle.apps.xdo.template.fo.elements.FormattingEngine.startLayout(Unknown Source)
     at oracle.apps.xdo.template.fo.elements.FormattingEngine.run(Unknown Source)
     at oracle.apps.xdo.template.fo.FOHandler.endElement(Unknown Source)
     at oracle.apps.xdo.common.xml.XSLTHandler$EEEntry.sendEvent(Unknown Source)
     at oracle.apps.xdo.common.xml.XSLTMerger.startElement(Unknown Source)
     at oracle.xml.parser.v2.XMLContentHandler.startElement(XMLContentHandler.java:167)
     at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1182)
     at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:301)
     at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:268)
     at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:149)
     at oracle.apps.xdo.template.fo.FOProcessingEngine.process(Unknown Source)
     at oracle.apps.xdo.template.FOProcessor.generate(Unknown Source)
     at RTF2PDF.runRTFto(RTF2PDF.java:629)
     at RTF2PDF.runXDO(RTF2PDF.java:439)
     at RTF2PDF.main(RTF2PDF.java:289)
any openion?
BR,
Alaa

Hi,
Seems like its trying to render something that becomes larger than the page size. try commenting out any table/ image that may be the cause of this, to eliminate this being a possibility.
-Domnic

Similar Messages

  • LMS 4.2 Syslog PDF Report problem

    Hi,
    when I generate a Syslog 24 hour report and export the result to pdf the font size of the pdf is much too big so I get one page per line.
    The same thing happens when I send the report via email attachment (pdf).
    So the reports are not usable.
    Can I change the settings? (fontsize?)
    Other pdf-reports are ok, e.g. inventory etc.
    regards
    Notker          

    Hi,
    when I generate a Syslog 24 hour report and export the result to pdf the font size of the pdf is much too big so I get one page per line.
    The same thing happens when I send the report via email attachment (pdf).
    So the reports are not usable.
    Can I change the settings? (fontsize?)
    Other pdf-reports are ok, e.g. inventory etc.
    regards
    Notker          

  • Report fonts mapping and PDF output problem(Easten European languages)

    Hi experts,
    I have such a problem.
    If i run oracle reports(10g) via reports builder all layouts looks fine.
    When i run them in PDF format via application server - report text and numbers strech out off frames, also textfields and text itself becomes bigger in size.
    Aplication server runs over windows OS.
    Uifont.ali file looks:
    [ PDF:Subset ]
    Arial..Italic.Bold.. = "Arialbi.ttf"
    Arial...Bold.. = "Arialbd.ttf"
    Arial..Italic... = "Ariali.ttf"
    Arial..Plain... = "Arial.ttf"
    Arial..... = "Arial.ttf"
    "Times New Roman"...Bold.. = "TIMESBD.TTF"
    "Times New Roman"..Italic... = "TIMESI.TTF"
    "Times New Roman"..... = "TIMES.TTF"
    I think the problem is with Lithuanian(baltic) letters in the text. If i do not map fonts in uifont.ali file i get PDF report without the
    lithuanian alphabet letters, but in this case it looks fine(The same as in report builder)
    After fonts mapping, i get my lithuanian alphabet letters, but text and numbers strech out off frames, changes the size and etc.
    I put the example of my report uotput:
    http://pirmas.50webs.com/index.html
    What else can i do to solve this problem?
    Thanks for any suggestions
    Sky_lt

    Vangel
    For the html output issue , there is a patch available on top of 9021. Please contact your Oracle support representative to get a 90211 patch nd apply the one-off patch of Bug 2472932.
    For PDF, please ensure that you are setting the NLS_LANG in the server config file using the dynamic environment switch feature introduced in 90 patch 1 (9021). Please see the patch 1 release notes for the details
    Thanks
    The Oracle Reports Team

  • PDF Report file download problem

    Hi,
    I am using ApEx 3.1 and Oracle 10g and XSL-FO
    I have a problem in downloading a PDF file:
    (1) I have a report query (produced an xml file), report template, and report layout.
    After I linked the new PDF report into my application, when I click on the button, the PDF “File Download” popup shows only two buttons (“save” and “cancel”) with a warning message “The file you are downloading cannot be opened by the default program. It is either corrupted or it has an incorrect file type. As a security precaution, it is recommended that you cancel the download”, and the file name shows up as “f.pdf”. I am able to open the saved file (f.pdf) in Adobe Acrobat and it looks fine.
    (2) In “Home>Application Builder>Application xxx >Shared Components>Report Queries>Edit Report Query”, when I click on the “Test Report” button, the “File Download” popup shows with all three buttons, (“open”, “save”, “cancel”) --- it shows the correct name of the file, and, no warning message! At this point, the file can be opened with the “open” button”, or, be saved to the disk. The saved file opens with Adobe Acrobat and the contents are identical to that of the file “f.pdf”.
    (3) I created another application (within the same workspace) with just one page, linked the PDF report in this application, and clicked on the button, and got the same response as in (2).
    It looks like I could try to create a new application by copying page by page from the application quoted in (1), and see if that would solve the problem. It is time consuming, the outcome is uncertain, and also could create some other problems
    What could be the cause of this problem? Any alternatives? I would appreciate any help.
    Thanks
    Vasan

    We experienced the exact same problem as the OP (including corrupt files named "f.pdf" and the browser dialog box he documented). Don't know if his environment is similar, but here is how we fixed our issue:
    Our app uses an Authentication Scheme that includes under "Page Session Management" a "Session Verify Function" called like this: "return timeout_pkg.check_timeout;". This timeout_pkg I think came from code originally posted here, it works well so thanks to the original coder. However it does present a small issue in that it rewrites the mime headers in the server response in one use case. Since it is rewriting the headers to "text/html" even though we are sending back a report where the mime header should be "application/pdf", the client gets confused and the result is the symptoms the OP posted.
    So if we change the timeout package and body so the signature is like this: "function check_timeout (p_request IN VARCHAR2 DEFAULT null) return boolean;"
    And change the call in the "Session Verify Function" to pass the request as a parameter like: "return timeout_pkg.check_timeout(:REQUEST);"
    And change the body of the timeout_pkg.check_timeout function to use the correct mime type when calling a report:
    elsif not g_cookie_already_sent then
    if (p_request is not null and INSTR(p_request, 'PRINT_REPORT') != 0) then
    owa_util.mime_header('application/pdf', FALSE);
    else
         owa_util.mime_header('text/html', FALSE);
         end if;
    then we solve our particular problem... I hope this saves somebody else some time, remember this was our specific solution to the exact symptoms documented by the OP, however as a general rule I would say if you are experiencing problems with pdf printing from Apex, watch out for anything your app might be doing with the owa_util pkg in particular and mime headers in the server response in general.
    Edited by: cmcneil on Sep 5, 2008 11:45 AM
    Edited by: cmcneil on Sep 5, 2008 11:59 AM

  • PDF report font problem

    Dear all,
    All our reports are developed by reports builder 10g (under windows) and deployed on an Application Server 10g (on Linux).
    We had a problem with displaying the arabic letters, but this was solved by following the steps in the metalink doc no 726205.1 for generating arabic pdf reports on unix.
    Now, the problem is that the font used in the reports is ARIAL, but when the reports are displayed (in PDF format) the font is TAHOMA. This font conversion happens in both Arabic and English reportsl.
    I wonder how can I correct this behaviour.
    Thanks in advance for your time.
    Naglaa

    I am not sure if this may be the solution, but I think you need to use font-subsetting.
    Please have a look at the following documents:
    Generating a Unicode PDF File - 11g Release 1 (11.1.1)
    Building a Report with Multibyte Characters for PDF Output - 11g Release 1 (11.1.1)
    Regards
    Markus

  • Problems with PDF report generation on WEB application

    Hi friends.
    I have the following problem.
    I heve many reports running on a client/server system. But we decide to move one by one, the menu options of the system to the WEB, using iAS. Most of the reports works just fine, but some of them works wrong.
    But I am not talking about the data or something like that, I am talking about the layout format. All of them out a grey rectangle in all the pages of the PDF reports. The report doesn't have any color inside, but when we move the file, to the UNIX server and test it, it is generated not in a white normal report but grey and white colors.
    anyone have an idea what is it happend?
    thank you folks....
    abdel.

    hi shivanjali..
    the problem may be due to your local system settings..
    try this..
    open internet explorer.-> click on tools menu-> click on internet options-> select connections tab-> press lan settings-> uncheck the proxy address if you have any and press ok....
    now try your web report.. hope it will help your concern..

  • PDF reports generation problem from single oracle reports in 10G

    Hi All,
    i am generating 4 PDF reports from one Oracle reports in 10 G.
    i used RUN_REPORT_OBJECT built in 4 times with some different parameter list at a single time.
    some time it generates but some time it generate 2 or 3 out of 4.
    Can you anyone help me on this issue.
    Regards,
    Abhishek
    Code that i used for generation of report:
    on key-F0:
    DECLARE
    PL_ID PARAMLIST;
    PL_NAME VARCHAR2(10) := 'REP';
    USRNM VARCHAR2(50);
    pl_id2 paramlist;
    pl_name2 varchar2(10):= 'REP';
    usrnm2 varchar2(50);
    pl_id3 paramlist;
    pl_name3 varchar2(10):= 'REP';
    usrnm3 varchar2(50);
    pl_id4 paramlist;
    pl_name4 varchar2(10):= 'REP';
    usrnm4 varchar2(50);
    BEGIN
    USRNM := GET_APPLICATION_PROPERTY(USERNAME);
    PL_ID := GET_PARAMETER_LIST(PL_NAME);
    IF NOT ID_NULL(PL_ID) THEN
    DESTROY_PARAMETER_LIST(PL_ID);
    END IF;
    PL_ID := CREATE_PARAMETER_LIST(PL_NAME);
    IF ID_NULL(PL_ID) THEN
    MESSAGE('Error Creating Parameter List ');
    END IF;
    ADD_PARAMETER(PL_ID, 'P_PRNT_C_FAM_ID', TEXT_PARAMETER, :PRNT_C_FAM_ID);
    ADD_PARAMETER(PL_ID, 'P_NOTICE_DATE', TEXT_PARAMETER, TO_CHAR(:FRONT_END.NOTICE_DATE,'MM/DD/RRRR'));
    ADD_PARAMETER(PL_ID, 'P_REDET_DATE', TEXT_PARAMETER, TO_CHAR(:FRONT_END.REDET_DATE,'MM/DD/RRRR'));
    ADD_PARAMETER(PL_ID, 'USR_NM', TEXT_PARAMETER, USRNM);
    ADD_PARAMETER(PL_ID, 'SCHEDULE', TEXT_PARAMETER, :RUN_TIME);
    ADD_PARAMETER(PL_ID,'P_PRNT_PROV',TEXT_PARAMETER,'PRNT');
    ADD_PARAMETER(PL_ID, 'P_ENG_SP', TEXT_PARAMETER,'N');
    REDET_REPORT('506',PL_ID,'CT506_Parent_FamId_Eng'||To_Char(sysdate,'MMDDRRRR-HHMISS'));
    USRNM2 := GET_APPLICATION_PROPERTY(USERNAME);
    PL_ID2 := GET_PARAMETER_LIST(PL_NAME2);
    IF NOT ID_NULL(PL_ID2) THEN
    DESTROY_PARAMETER_LIST(PL_ID2);
    END IF;
    PL_ID2 := CREATE_PARAMETER_LIST(PL_NAME2);
    IF ID_NULL(PL_ID2) THEN
    MESSAGE('Error Creating Parameter List');
    END IF;
    ADD_PARAMETER(PL_ID2,'P_PRNT_C_FAM_ID',TEXT_PARAMETER,:PRNT_C_FAM_ID);
    ADD_PARAMETER(PL_ID2,'P_NOTICE_DATE',TEXT_PARAMETER,TO_CHAR(:FRONT_END.NOTICE_DATE,'MM/DD/RRRR'));
    ADD_PARAMETER(PL_ID2,'P_REDET_DATE',TEXT_PARAMETER,TO_CHAR(:FRONT_END.REDET_DATE,'MM/DD/RRRR'));
    ADD_PARAMETER(PL_ID2,'USR_NM',TEXT_PARAMETER,USRNM2);
    ADD_PARAMETER(PL_ID2,'SCHEDULE',TEXT_PARAMETER,:RUN_TIME);
    ADD_PARAMETER(PL_ID2,'P_PRNT_PROV',TEXT_PARAMETER,'PRNT');
    ADD_PARAMETER(PL_ID2,'P_ENG_SP',TEXT_PARAMETER,'Y');
    REDET_REPORT('506',PL_ID2,'CT506_Parent_FamId_Sp'||To_Char(sysdate,'MMDDRRRR-HHMISS'));
    USRNM3 := GET_APPLICATION_PROPERTY(USERNAME);
    PL_ID3 := GET_PARAMETER_LIST(PL_NAME3);
    IF NOT ID_NULL(PL_ID3) THEN
    DESTROY_PARAMETER_LIST(PL_ID3);
    END IF;
    PL_ID3 := CREATE_PARAMETER_LIST(PL_NAME3);
    IF ID_NULL(PL_ID3) THEN
    MESSAGE('Error Creating Parameter List');
    END IF;
    ADD_PARAMETER(PL_ID3,'P_PRNT_C_FAM_ID',TEXT_PARAMETER,:PRNT_C_FAM_ID);
    ADD_PARAMETER(PL_ID3,'P_NOTICE_DATE',TEXT_PARAMETER,TO_CHAR(:FRONT_END.NOTICE_DATE,'MM/DD/RRRR'));
    ADD_PARAMETER(PL_ID3,'P_REDET_DATE',TEXT_PARAMETER,TO_CHAR(:FRONT_END.REDET_DATE,'MM/DD/RRRR'));
    ADD_PARAMETER(PL_ID3,'USR_NM',TEXT_PARAMETER,USRNM3);
    ADD_PARAMETER(PL_ID3,'SCHEDULE',TEXT_PARAMETER,:RUN_TIME);
    ADD_PARAMETER(PL_ID3,'P_PRNT_PROV',TEXT_PARAMETER,'PROV');
    ADD_PARAMETER(PL_ID3,'P_ENG_SP',TEXT_PARAMETER,'N');
    REDET_REPORT('506',PL_ID3,'CT506_Prov_ProvId_Eng'||To_Char(sysdate,'MMDDRRRR-HHMISS'));
    USRNM4 := GET_APPLICATION_PROPERTY(USERNAME);
    PL_ID4 := GET_PARAMETER_LIST(PL_NAME4);
    IF NOT ID_NULL(PL_ID4) THEN
    DESTROY_PARAMETER_LIST(PL_ID4);
    END IF;
    PL_ID4 := CREATE_PARAMETER_LIST(PL_NAME4);
    IF ID_NULL(PL_ID4) THEN
    MESSAGE('Error Creating Parameter List');
    END IF;
    ADD_PARAMETER(PL_ID4,'P_PRNT_C_FAM_ID',TEXT_PARAMETER,:PRNT_C_FAM_ID);
    ADD_PARAMETER(PL_ID4,'P_NOTICE_DATE',TEXT_PARAMETER,TO_CHAR(:FRONT_END.NOTICE_DATE,'MM/DD/RRRR'));
    ADD_PARAMETER(PL_ID4,'P_REDET_DATE',TEXT_PARAMETER,TO_CHAR(:FRONT_END.REDET_DATE,'MM/DD/RRRR'));
    ADD_PARAMETER(PL_ID4,'USR_NM',TEXT_PARAMETER,USRNM4);
    ADD_PARAMETER(PL_ID4,'SCHEDULE',TEXT_PARAMETER,:RUN_TIME);
    ADD_PARAMETER(PL_ID4,'P_PRNT_PROV',TEXT_PARAMETER,'PROV');
    ADD_PARAMETER(PL_ID4,'P_ENG_SP',TEXT_PARAMETER,'Y');
    REDET_REPORT('506',PL_ID4,'CT506_Prov_ProvId_Sp'||To_Char(sysdate,'MMDDRRRR-HHMISS'));
    Message('Notice Submitted For Printing');
    EXIT_FORM;
    END;
    Program unit:
    PROCEDURE REDET_REPORT(rep_name in Varchar2,plist in ParamList,rep_pdf_name in Varchar2)IS
    filecode varchar(2);
    Repnm varchar(30);
    report_id REPORT_OBJECT;
    report_id_hear REPORT_OBJECT;
    report_prop VARCHAR2(20);
    v_rep VARCHAR2(100);
    rep_status VARCHAR2(200);
    bat_loc varchar2(200);
    time_slot varchar2(100);
    rep_folder_name varchar2(100):='Redet Notice for Packets Sent\';
    BEGIN
    Filecode := init.GetFileNmCode;
    if filecode 'FL' then
    if upper(substr(rep_name,1,2)) ='CC' then
    RepNm := filecode||substr(rep_name,3);
    else
    if rep_name != 'viewerr' then
    RepNm := filecode||rep_name;
    else
    RepNm := rep_name;
    end if;
    end if;
    end if;
    Begin
    begin
    report_id := find_report_object(RepNm);
    if error_code = '41219' then
    Message('Unable to execute : '|| RepNm);
    Raise FORM_TRIGGER_FAILURE;
    end if;
    end;
    set_report_object_property(report_id, REPORT_FILENAME, RepNm);
    set_report_object_property(report_id, REPORT_SERVER, init.Appl_Repserver);
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_EXECUTION_MODE, BATCH);
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_COMM_MODE,SYNCHRONOUS);
    set_report_object_property(report_id, REPORT_DESFORMAT,'PDF');
    select rprm_param_val||rep_folder_name||rep_pdf_name||'.pdf' into bat_loc from rprm where rprm_param_name = 'BAT_LOC';
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESTYPE,FILE);
    SET_REPORT_OBJECT_PROPERTY(REPORT_ID,REPORT_DESNAME,'"'||bat_loc||'"');
    begin
    v_rep := RUN_REPORT_OBJECT(report_id,plist);
    exception when others then
    Message('Error While executing running reports ::'||error_code);
    end;
    end;
    END;

    Thanx Frank
    Well one solution is that i can decrease the length of my report name and the problem does not occur than.
    any ways thanx ..but where to get the patch from.
    Kindly provide me with the link if possible.
    Thanx,
    Qaiser Qayyum Malik.
    [email protected]

  • Problem: Bar Codes Font Embed in PDF Report

    Hi folks.
    I'm having a few problems with Reports 9i.
    Fact: Oracle 9iAS Release 2 with Red Hat Linux 7.3
    I'm trying to print a PDF report that uses a Type 1 Barcode Font (X317349A) using the new PDF EMBED feature of Reports Server 9i.
    Following the doc:210318.1 of Metalink i did the following things:
    - Put the X317349A.afm, X317349A.pfa and X317349A.pfb in the $ORACLE_HOME/reports/samples/demo
    - Put the myreport.rdf in the $ORACLE_HOME/reports/samples/demo.
    - Put the the following line in section [ PDF:Embed ] of uifont.ali file:
    X317349A = "X317349A.afm X317349A.pfa"
    This fonts works with a sequence of "w" and "n" to form the bar code, and acrobat reader is showing just w and n sequence instead of the bar codes.
    Does anybody have a suggestion of what else can i do??
    Thank you all.
    Marcus Santos ([email protected])

    Hello,
    First, generate an output with DESFORMAT=HTML and check the font name used in the output.
    Then, check that the file QUICASB_.TTF exists in a directory of REPORTS_PATH (take care to the case sensitivity on UNIX)
    Check that the file uifont.ali is ok (use the utilty mfontchk)
    Check the "precedence" in the file uifont.ali
    See the comment in the file uifont.ali itself :
    # NOTES ON PRECEDENCE OF PDF SECTIONS:
    Regards

  • Problem with deleting PDF report in "Vew Log / Trace" Section

    Hello everyone I just hired as a peoplesoft programmer :)
    I have a question when I try to code a report generating program
    I need to delete the PDF file (report) in "View Log/Trace"Section after the AE program executed.
    (Actually I just want to hide it at "View Log/Trace" Section, so that user will not be able to see it).
    The following program is my code
    &xmlStr = &inXMLDoc.GenXmlString();
    &strFilePath = %FilePath | "PAYSLIP_" | ZH_GPR068_AET.CAL_RUN_ID | "__" | ZH_GPR068_AET.PROCESS_INSTANCE | ".xml";
    &FileCS = GetFile(%FilePath | "PAYSLIP_" | ZH_GPR068_AET.CAL_RUN_ID | "__" | ZH_GPR068_AET.PROCESS_INSTANCE | ".xml", "W", "UTF8", %FilePath_Absolute);
    sRptDefn = "GPR0688_B";
    &oRptDefn = create PSXP_RPTDEFNMANAGER:ReportDefn(&sRptDefn);
    &oRptDefn.Get();
    &oRptDefn.UseBurstValueAsOutputFileName = True;
    &oRptDefn.SetRuntimeDataXMLFile(&strFilePath);
    &ftp = GetURL(URL.ZH_GPR068_PAYSLIP);
    &oRptDefn.ProcessReport("", &sLangCd, &AsOfDate, &sFileExt);
    &oRptDefn.ZHPrintOutput(%FilePath);
    &Return_Value = PutAttachment(GetURL(URL.ZH_GPR068_PAYSLIP), &sss | ".pdf", %FilePath | &sss | ".pdf");
    &conFileLog.WriteLine("PutAttachment Return Value:" | &Return_Value);
    If &Return_Value = 0 Then
    Local Record &ZH_PSLP_EE;
    &ZH_PSLP_EE = CreateRecord(Record.ZH_PSLP_EE_DATA);
    &ZH_PSLP_EE.EMPLID.Value = ZH_GPR068_AET.EMPLID;
    &ZH_PSLP_EE.CAL_RUN_ID.Value = ZH_GPR068_AET.CAL_RUN_ID;
    &ZH_PSLP_EE.ATTACHSYSFILENAME.Value = &ATTACHSYSFILENAME;
    &ZH_PSLP_EE.ATTACHUSERFILE.Value = &ATTACHUSERFILE;
    &ZH_PSLP_EE.Insert();
    End-If;
    /*Delete(hide) the report file*/
    Local JavaObject &javaFile;
    &javaFile = CreateJavaObject("java.io.File", %FilePath);
    &javaFile.delete();
    &tmpfile1 = GetFile(%FilePath | &ATTACHSYSFILENAME, "W", "UTF8", %FilePath_Absolute);
    &tmpfile1.Delete();*
    /*Delete(hide) the report file*/
    After the program executed, the pdf report still exist and not being removed in "View Log/Trace" Section
    &ATTACHSYSFILENAME already contain the PDF extension.
    I am hoping someone can help me to find out what's wrong with my program results in cannot delete the PDF file in the "Vew Log / Trace" Section
    Thank you so much
    Edited by: 969461 on Nov 5, 2012 1:41 AM

    Maybe there's something I don't get very well, but that's quite strange to make a user able to run a process without making him able to see the report, or at least the log.
    Anyway, I think it should be better to solve it through the config rather than changing code.
    Have a look to the red-paper below, page 57 :
    http://download.oracle.com/peopletools/documents/Securing_PSFT_App_Environment_May2010%20v4.pdf
    I may be wrong, but I'd tend to have a look first on the process definition, "Process Security", or on permission list (process monitor)...
    Nicolas.
    Edited by: N Gasparotto on Nov 5, 2012 12:51 PM

  • Fonts problems with PDF reports and Lexmark printers

    Hi,
    since yesterday we use Oracle Reports Services 10.1.2.3.0 as our productive reports services.
    When we print PDF reports on one of the following printers, the fonts size isn't correct (in the report defined as font size 8, on the paper the font size is about 16!).
    - Lexmark T620 PS3
    - Lexmark W820 PS3
    The printers work correct if I print out a PDF file via Adobe Acrobat Reader.
    Best regards
    Flo

    Hi,
    I'm afraid that this was a couple of years ago so I can't remember the font we used.
    If memory serves then I think it is something to do with True Type fonts.
    Have you searched Metalink? I think that's where I originally got some advice about the fonts in PDF documents.

  • How to make column headers in table in PDF report appear bold while datas in table appear regular from c# windows forms with sql server2008 using iTextSharp

    Hi my name is vishal
    For past 10 days i have been breaking my head on how to make column headers in table appear bold while datas in table appear regular from c# windows forms with sql server2008 using iTextSharp.
    Given below is my code in c# on how i export datas from different tables in sql server to PDF report using iTextSharp:
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using System.Windows.Forms;
    using System.Data.SqlClient;
    using iTextSharp.text;
    using iTextSharp.text.pdf;
    using System.Diagnostics;
    using System.IO;
    namespace DRRS_CSharp
    public partial class frmPDF : Form
    public frmPDF()
    InitializeComponent();
    private void button1_Click(object sender, EventArgs e)
    Document doc = new Document(PageSize.A4.Rotate());
    var writer = PdfWriter.GetInstance(doc, new FileStream("AssignedDialyzer.pdf", FileMode.Create));
    doc.SetMargins(50, 50, 50, 50);
    doc.SetPageSize(new iTextSharp.text.Rectangle(iTextSharp.text.PageSize.LETTER.Width, iTextSharp.text.PageSize.LETTER.Height));
    doc.Open();
    PdfPTable table = new PdfPTable(6);
    table.TotalWidth =530f;
    table.LockedWidth = true;
    PdfPCell cell = new PdfPCell(new Phrase("Institute/Hospital:AIIMS,NEW DELHI", FontFactory.GetFont("Arial", 14, iTextSharp.text.Font.BOLD, BaseColor.BLACK)));
    cell.Colspan = 6;
    cell.HorizontalAlignment = 0;
    table.AddCell(cell);
    Paragraph para=new Paragraph("DCS Clinical Record-Assigned Dialyzer",FontFactory.GetFont("Arial",16,iTextSharp.text.Font.BOLD,BaseColor.BLACK));
    para.Alignment = Element.ALIGN_CENTER;
    iTextSharp.text.Image png = iTextSharp.text.Image.GetInstance("logo5.png");
    png.ScaleToFit(105f, 105f);
    png.Alignment = Element.ALIGN_RIGHT;
    SqlConnection conn = new SqlConnection("Data Source=NPD-4\\SQLEXPRESS;Initial Catalog=DRRS;Integrated Security=true");
    SqlCommand cmd = new SqlCommand("Select d.dialyserID,r.errorCode,r.dialysis_date,pn.patient_first_name,pn.patient_last_name,d.manufacturer,d.dialyzer_size,r.start_date,r.end_date,d.packed_volume,r.bundle_vol,r.disinfectant,t.Technician_first_name,t.Technician_last_name from dialyser d,patient_name pn,reprocessor r,Techniciandetail t where pn.patient_id=d.patient_id and r.dialyzer_id=d.dialyserID and t.technician_id=r.technician_id and d.deleted_status=0 and d.closed_status=0 and pn.status=1 and r.errorCode<106 and r.reprocessor_id in (Select max(reprocessor_id) from reprocessor where dialyzer_id=d.dialyserID) order by pn.patient_first_name,pn.patient_last_name", conn);
    conn.Open();
    SqlDataReader dr;
    dr = cmd.ExecuteReader();
    table.AddCell("Reprocessing Date");
    table.AddCell("Patient Name");
    table.AddCell("Dialyzer(Manufacturer,Size)");
    table.AddCell("No.of Reuse");
    table.AddCell("Verification");
    table.AddCell("DialyzerID");
    while (dr.Read())
    table.AddCell(dr[2].ToString());
    table.AddCell(dr[3].ToString() +"_"+ dr[4].ToString());
    table.AddCell(dr[5].ToString() + "-" + dr[6].ToString());
    table.AddCell("@count".ToString());
    table.AddCell(dr[12].ToString() + "-" + dr[13].ToString());
    table.AddCell(dr[0].ToString());
    dr.Close();
    table.SpacingBefore = 15f;
    doc.Add(para);
    doc.Add(png);
    doc.Add(table);
    doc.Close();
    System.Diagnostics.Process.Start("AssignedDialyzer.pdf");
    if (MessageBox.Show("Do you want to save changes to AssignedDialyzer.pdf before closing?", "DRRS", MessageBoxButtons.YesNoCancel, MessageBoxIcon.Exclamation) == DialogResult.Yes)
    var writer2 = PdfWriter.GetInstance(doc, new FileStream("AssignedDialyzer.pdf", FileMode.Create));
    else if (MessageBox.Show("Do you want to save changes to AssignedDialyzer.pdf before closing?", "DRRS", MessageBoxButtons.YesNoCancel, MessageBoxIcon.Exclamation) == DialogResult.No)
    this.Close();
    The above code executes well with no problem at all!
    As you can see the file to which i create and save and open my pdf report is
    AssignedDialyzer.pdf.
    The column headers of table in pdf report from c# windows forms using iTextSharp are
    "Reprocessing Date","Patient Name","Dialyzer(Manufacturer,Size)","No.of Reuse","Verification" and
    "DialyzerID".
    However the problem i am facing is after execution and opening of document is my
    column headers in table in pdf report from
    c# and datas in it all appear in bold.
    I have browsed through net regarding to solve this problem but with no success.
    What i want is my pdf report from c# should be similar to following format which i was able to accomplish in vb6,adodb with MS access using iTextSharp.:
    Given below is report which i have achieved from vb6,adodb with MS access using iTextSharp
    I know that there has to be another way to solve my problem.I have browsed many articles in net regarding exporting sql datas to above format but with no success!
    Is there is any another way to solve to my problem on exporting sql datas from c# windows forms using iTextSharp to above format given in the picture/image above?!
    If so Then Can anyone tell me what modifications must i do in my c# code given above so that my pdf report from c# windows forms using iTextSharp will look similar to image/picture(pdf report) which i was able to accomplish from
    vb6,adodb with ms access using iTextSharp?
    I have approached Sound Forge.Net for help but with no success.
    I hope anyone/someone truly understands what i am trying to ask!
    I know i have to do lot of modifications in my c# code to achieve this level of perfection but i dont know how to do it.
    Can anyone help me please! Any help/guidance in solving this problem would be greatly appreciated.
    I hope i get a reply in terms of solving this problem.
    vishal

    Hi,
    About iTextSharp component issue , I think this case is off-topic in here.
    I suggest you consulting to compenent provider.
    http://sourceforge.net/projects/itextsharp/
    Regards,
    Marvin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • PDF Exaprom, problem with multitext in one header

    Problem is,that according to my simply thiking when I connect two elements Append Text HF one by one serialy with some text in header, and in their properties I set alligment both of them at left- MIDDLE in my opinion it suppose to overwrite one text on secand. When I set one text at left-MIDDLE and secont text in center-MIDDLE is should firstly create one text at left side, another at the middle. I doesn't.... When you try to combine with alligment of text,you easly notice,that when it's creating first text at the left side,it devide page on 3 and locate it at 1 collumn, and then when you pass this PDF Report to second Append Text HF this subVI divide not the same lenght of the side, but those 2-3 columnt whose left!!!! In effect text wich suppose to be at center of document is the center of 2-3 parts of document. 
    Do I doing something wrong or is it program bug? 
    Attachments:
    pdf_report_test.vi ‏53 KB
    Report.pdf ‏20 KB

    Now I see,
    I just haven't know about this specyfication of that subvi.
    I managed to deal with that, but unfortanatly I have another problem.
    In help context of create table.vi you can read that in cell can be eiter text or pictures. I want to add 2D array of pictures and it show mistake. Do I ones again don't understand description or I have to do it in other way? I just wanted to create table ona the page,which will contain pictures, let's say 2x2 size table, picture in each cell. Is it possible to using this program? 
    Attachments:
    pdf_report Folder.zip ‏2270 KB
    pdf report.JPG ‏402 KB
    pdf_report Folder.zip ‏2270 KB

  • Report Logo - Displays on HTML, not on PDF report

    Hello once again Gurus.
    We have a system environment setup where we have BI Publisher Enterprise and Apex 3.1.2 talking together to create PDF reports on a Oracle 10g database (R2 I think, I'm uncertain). As part of a business requirement, depending on what project you are looking at within our apex application, when printing a report you see a logo specific to the project. We have already developed this using a RTF template with a dummy image embedded, and +url:{concat(.//URL,.//PROJECT_ID)}+ in the Alternative Text field of the Web tab of the Format Picture dialogue.
    This worked fine when using the RTF templates as Report Layouts within Apex and as templates within a BI Publisher report.
    However, now logos aren't appearing.
    I am not sure if we have upgraded the version of BI Publisher, but we are running Apex 3.1.2.00.02 on Dev and Apex 3.1.1.00.09 on test and prod, however none of these environments are outputting logos in the PDF reports.
    Curiously, if I go into the BI Publisher interface and ask for the report to be outputted as HTML, the image shows. Running the HTML version of the report from Apex also shows the logo -- but the logo isn't showing in the PDF reports.
    As I continue trouble shooting, any assistance would be greatly appreciated.
    Edit: We are on BIP 10.1.3.2

    If anyone could give us any insight on this, it would be appriciated.
    I'm unsure if its a permissions problem with the PDF seeing the image, or something related to server setup. We currently have a redirect in place to production that doesn't include the :7777 in the URL, and for some reason, if the G_URL for the image is changed to this portless URL, the image is embedded. However, this redirect was in place for another application, and will soon be locked down, so is not available for a long term solution to this problem

  • Report Logo - Displays on HTML, not on PDF report  (Apex report_)

    Hi Gurus.
    I thought I'd report this here, as we are having a BI Publisher error, and I'm not getting any help on the Apex subforum.
    +We have a system environment setup where we have BI Publisher Enterprise and Apex 3.1.2 talking together to create PDF reports on a Oracle 10g database (R2 I think, I'm uncertain). As part of a business requirement, depending on what project you are looking at within our apex application, when printing a report you see a logo specific to the project. We have already developed this using a RTF template with a dummy image embedded, and url:{concat(.//URL,.//PROJECT_ID)} in the Alternative Text field of the Web tab of the Format Picture dialogue.+
    This worked fine when using the RTF templates as Report Layouts within Apex and as templates within a BI Publisher report.
    However, now logos aren't appearing.
    We are on  BIP 10.1.3.2 according to the Help File, and we are running Apex 3.1.2.00.02 on Dev and Apex 3.1.1.00.09 on test and prod, however none of these environments are outputting logos in the PDF reports.
    Curiously, if I go into the BI Publisher interface and ask for the report to be outputted as HTML, the image shows. Running the HTML version of the report from Apex also shows the logo -- but the logo isn't showing in the PDF reports.
    As I continue trouble shooting, any assistance would be greatly appreciated.

    If anyone could give us any insight on this, it would be appriciated.
    I'm unsure if its a permissions problem with the PDF seeing the image, or something related to server setup. We currently have a redirect in place to production that doesn't include the :7777 in the URL, and for some reason, if the G_URL for the image is changed to this portless URL, the image is embedded. However, this redirect was in place for another application, and will soon be locked down, so is not available for a long term solution to this problem

  • Displaying both Hindi and Arabic numerals in Oracle 10g PDF report

    Hi….
    Oracle experts told us to ask “In how many ways we can do it in oracle?” instead of asking “Can we do it in Oracle?” , I need ONE way to solve the following problem, it toke to much time and I don’t know if it can be solved !
    The problem:
    Can we print in - Oracle 10g reports - a PDF report with BOTH Hindi and Arabic numerals?
    Well, at design time everything is fine, you can use right-to-left, left-to-right and the print preview is showing BOTH Hindi/Arabic numerals fine, but when I tried to produce it as a PDF, unfortunately its not, means its either all Hindi or all Arabic numerals !
    I tried everything possible, environment variables: NLS_LANG, REPORTS_BIDI_ALGORITHM, and REPORTS_ARABIC_NUMERLS, setting Digit substitution to Context in windows regional settings, uifont.ali is modified properly according to metalink note, but nothing solved this issue!
    I noticed something, when I used the DESTYPE=printer and DESNAME=PDF995 (one of the PDF printers) , it worked fine , means the problem could be in the generic PDF generator of the Oracle reports server,
    But even with PDF995 you still need to feed the file name, which is not suitable for multi-user environment that need the report to be displayed via web browser.
    Does anybody face this before?
    Edited by: khaled.w on May 24, 2010 7:29 AM
    Edited by: khaled.w on May 24, 2010 7:35 AM

    Don't tell so much.
    Check the following link
    1. PDF Reports in Unicode / Arabic &amp;amp; English | Oracle Community
    2. OraFAQ Forum: Reports &amp; Discoverer &raquo; Report in Arabic(pdf) (merged)
    3. Arabic Report generated to text file giving Jun... | Oracle Community
    Hope this helps
    Hamid

Maybe you are looking for

  • Cannot start Virtual Machine - OVMAPI_4010E Attempt to send command: dispat

    1. Instaleed Virtualbox on Windows 7 2. Installed OracleVM-Manager-3.1.1-build365.ova and OracleVM-Server-3.1.1-build365.ova 3. Completed repository and server pool. They are all runing fine. 4. Crated a Virtual Machine for Linux and tried to start t

  • SAP Add On memory usage

    Hi, we are having issues with the and add on consuming more than 100MBs , some cases more than this. It happens on company connection. Any ideas on what could be a problem? . Others add ons take 30 MB Regards

  • MIDI STUDIO doesn't work on MacBookPro Retina, it crashes with message: MIDI Server can not be opened... help???

    I was working for many years with midi software, since I changes to Mac os x Mountain Lion  nothing works anymore - SIBELIUS (annotation software) doesnt work properly - Ivory II doesnt work properly they all gave me MIDI initilization problem messag

  • Partition/Data Affinity

    Hi, I need to implement "*Partition Affinity*" concept, any one have a sample piece of code for that. How to get and put the values. For example I have two objects like Employee and Address and I want to put both the objects in the same cluster node.

  • FI Data Extraction

    Hi guys, I am sorry to post again this very widely discussed topic again, i have gone through various discussions even but nothing is very much clear to me about FI extraction ? how it happens ? what is the exact procedure to do FI full & delta. In g