Printing a Oracle PDF Report from within a Oracle Form on Linux

Is there a command I can use in Oracle Forms to invoke a shell script to open a PDF output report stored on a physical location on the Linux server and print it to the printer?
What I'm currently trying to do is send a Report called within Oracle Forms 10g to "DESTYPE=FILE DESFORMAT=PDF DESNAME=directory/filename.pdf". I'm storing all the information about the file and printer information prior to it being run with the RUN_REPORT_OBJECT. What I want to happen is as soon as it finishes generating the file, I want (behind the scenes) is it to locate the file, open, and print it automatically, but never show the output to the user on the screen.
I know with the "DESTYPE=cache DESNAME=filename DESFORMAT=PDF" that it puts the info in the Reports Server / Cache directory, but also opens it in a separate browser window of which you can select the printer at that point. I don't want to do that in this option.
I previously tried to use the "DESTYPE=printer" option but, the issue with it has to deal with fonts. I do not want to store fonts on every printer, given the different types of printers our users have. I can print to the printer but the fonts are all messed up so, not an option.
So, basically I'm trying to replace that option with generating to a PDF, then I don't have to worry about fonts, since I have them all working, then I can just open the PDF file on the server and send to the printer. I was wondering if that is an option available in Oracle Forms when calling reports. I figured that when someone sends the option of "DESTYPE=printer" that it must be calling some shell script on Linux that handles this. I'm just not seeing it.
Any help is appreciated.
Chris

Ok, one final question because I want to see how far this can go.
Can I issue this command via the HOST inside the form? Basically I'm telling it to open and send the file to the printer. The vFileName is the directory/filename stored on the Linux Server. I can execute this command on the command line of Linux and it works
HOST( 'lpr -P gt-ybs-ps /u11/app/as10g/tools/web/html/pc_rp00120100210035258.pdf');
I promise this is my last quesion.
Chris

Similar Messages

  • Create PDF report with APEX and Oracle 11g doesn't work

    Hi everyone,
    I have a problem with the downloading of PDF reports from APEX with Oracle 11g.
    When I try to download a PDF, Acrobat Reader says it can not open the file.
    I have done the same test in an environment with APEX and Oracle 10g and it works perfectly.
    Does anyone know if there is a known bug for version 11g.
    Thank you very much.

    Hi Munky,
    I open the generated file the Notepad++ I can read the next message:
    *<HTML><HEAD><TITLE>500 Internal Server Error</TITLE></HEAD><BODY><H1>500 Internal Server Error</H1>OracleJSP:*
    An error occurred. Consult your application/system administrator for support. Programmers should consider setting the init-param <code>debug_mode</code> to "true" to see the complete exception message.</BODY></HTML>
    I have not idea can I solve the problem.
    Have you got any solution for this problem??
    Thank you so much.
    Victor Muñoz.

  • Creating a PDF report from a Form

    Hi all,
    Is it possible to create a PDF REPORT from a table based Form?
    Thanks,
    Maurice Niezen

    You can NOT use FOP and the BI Publisher RTF editor to make templates for PDF output.. You need an XML style sheet editor to format the report layouts..: http://www.java4less.com/fopdesigner/fodesigner.php
    Thank you,
    Tony Miller
    Webster, TX
    Never Surrender Dreams!
    JMS
    If this question is answered, please mark the thread as closed and assign points where earned..

  • Can u call a BIP Report from within Oracle Forms?

    Hi,
    We want to use BIP as a reports solution for a Forms 10g Application. Currently we use oracle Reports. I would be very grateful if anybody can show us how to do the following as I could not find it in any documentation. Of course, I get the feeling that these cannot be done, but I want to double-check.
    (1.) How to call a BIP report with a input parameters from within an Oracle 10g Menu? i.e. when the user clicks on the menu item, BIP should be started and it should run the report within the BIP.
    -- So we also need a way to pass parameters to the BIP
    -- Also BIP has a different username/password also
    Is this possible or NOT POSSIBLE( i.e. U have to ask the user to login to BIP and then run the report)?
    Thanks & Regards,
    CS

    Hi,
    Have a look in this document to get an idea how to do:
    http://www.oracle.com/technology/products/xml-publisher/docs/Forms_BIP_v22.pdf
    Regards
    Rainer

  • Generatation of 4 PDF Reports from One Oracle reports 10 G

    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;

    Abhishek,
    Please post your question in the Reports forum. This forum is for Forms related questions.
    Craig...

  • How to Print  a PDF file from within a ABAP ( from gui input)

    Hi champions,
    This is Client requirement:
    "We need to print a PDF file from within a ABAP"
    We first need to test whether it is even feasible, and then if it 
    is, then write a small test ABAP which can accept a PDF file
    name as input (from GUI) and then print it to a SAP print
    device (printer).”
    Please Can any body help me on this.......
    It's urgent
    Thanks
    Basu

    Check following blog for PDF output from SAP
    /people/thomas.jung3/blog/2005/04/28/setting-up-an-adobe-writer-for-abap-output
    anya

  • 4 PDF reports from Single report in reports 10G

    Hi All,
    i want to generate 4 PDF report from one oracle report in reports 10G.
    from the same query i want to generate 4 PDF with different order and result set based upon the query parameter at a single time.
    exp: query fetch Some eng/spanish provider and client data. requirement is i want to spilt into 4 PDF:
    Provider wise Eng.
    Provider wise spanish.
    Client wise english.
    Client wise spanish.
    Can anybody please help on this?
    Regards
    Abhishek

    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
    Edited by: user651239 on Sep 22, 2008 10:16 PM

  • What is the best way to call a report from within a report

    What is the best way to call a report from within a report(master / Detail concept)
    A type of drill down report
    Oracle Database 10g
    Forms 10.1.2.0.2
    Report Builder 10.1.2.0.2

    Hi
    Have a look in this link, certainly you will get fix, if not just post a comment on blog, will get reply soon
    http://windows7bugs.wordpress.com/?s=oracle+10g+bug

  • Start a BO report from within a web-application.

    Hi,
    An enuser want to start a BO report from within a web-application.
    The BO report ideally should not prompt for a login. The fact that we are using BO for reporting purposes should be transparent to the end users. The report should produce its output directly in Excel (pdf?) format. In WebI i can do a 'Save As' to obtain this, but it should go automatically so that the end users get their response directly in Excel
    the report should be parametrized. These parameters will be added to the URL by the calling application.
    To do a basic test of the Opendocument.jsp i created a number of test reports in WEBI, and i use the following URLs to execute them directly
    http://s-olaf-vtst150:8080/OpenDocument/opendoc/openDocument.jsp?&sPath=[My reports]&sDocName=tmsd1&sType=rep&sRefresh=Y
    http://s-olaf-vtst150:8080/OpenDocument/opendoc/openDocument.jsp?&sPath=[My reports]&sDocName=Yearselection&sType=rep&sRefresh=Y&lsSYear:=2002
    So this covers points 1 & 4
    What are the options for points 2 & 3?
    Kind regards,
    Johan

    The BO XI 3.1 environment works quite well now.
    Two more questions:
    1. When a user being member of the Readers group, still sees the Edit button in Webapplication - Infoview. Is it possible to hide or disable that Edit button ?
    2. Is it possible to make a user only seeing a part of the data in the universe ? When a query is run with a parameter, the user ses the parameter in the left column ... but in that way a normal user can change the value of that parameter giving him the possibility to see things he should not see. Making a separate query per user is overkill and too much work to do. Is BO XI 3.1 able to offer this possibility and how ?
    Rgds,
    Johan

  • Calling Oracle Discoverer Report from Apex

    How to call Oracle Discoverer Report from apex application?
    Thanks!

    The report is on a different data base ... need to create a process to get the data into the view behind the report and then materialized view in Apex etc .Then recreate the same report in Apex. But I am trying use the disc report url to invoke the report directly from apex.
    Any suggestions or thoughts are greatly aprreciated.

  • Open a PDF report from a PDF report

    I would like to open a PDF report from a PDF report, but in a new IE window.
    I have the following code attached to an item in the report:-
    function F_RECONFormatTrigger return boolean is
    begin
    IF trim(:btch_ref) = 'PL' and trim(:recon) is not null and trim(:recon) <> ' ' then
    srw.set_font_weight(srw.bold_weight);
    srw.set_font_style(srw.underline_style);
    srw.set_text_color('blue');
    srw.set_hyperlink_attrs('onMouseover "window.status="Click here to see what is in your shopping basket"; return true"'||'onMouseout ="window.status=" "; return true"');
    srw.set_hyperlink('/reports/rwservlet?cmdkey=famis+desformat=pdf+report=FAMREP011+p_orderno='||trim(:recon));
    srw.set_hyperlink_attrs('target=_blank');
    -- srw.set_hyperlink_attrs('target="_blank"');
    END IF;
    return (TRUE);
    end;
    All of the commands work except for the 2 srw.set_hyperlink_attrs commands. The "onMouseover" and the "target" seem to have no effect. Can anyone help?
    Thanks in advance
    Michael

    The built in srw.set_hyperlink_attrs does not work , if the report format is PDF. There is no way to open another PDF report from a PDF report in a seperate window. Also think there is no way to hide URL which apperars when the mouse pointer moves over the hyperlink.
    In other report formats like HTML, the built in srw.set_hyperlink_attrs works.
    Kranthi

  • How to add entire new row at the top of table in pdf report from c# windows forms using iTextSharp

    Hi for past 3 days i was thinking and breaking my head on how to add entire new at top table created in pdf report from c# windows forms with iTextSharp.
    First: I was able to create/export sql server data in form of table in pdf report from c# windows forms. Given below is the code in c#.
    using System;
    using System.Collections.Generic;
    using System.Configuration;
    using System.Text;
    using System.Data;
    using System.IO;
    using System.Data.SqlClient;
    using System.Windows.Forms;
    using iTextSharp.text;
    using iTextSharp.text.pdf;
    namespace DRRS_CSharp
    public partial class frmPDFTechnician : Form
    public frmPDFTechnician()
    InitializeComponent();
    private void btnExport_Click(object sender, EventArgs e)
    Document doc = new Document(PageSize.A4.Rotate());
    var writer= PdfWriter.GetInstance(doc, new FileStream("Technician22.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(7);
    table.TotalWidth=585f;
    table.LockedWidth = true;
    PdfPTable inner = new PdfPTable(1);
    inner.WidthPercentage = 115;
    PdfPCell celt=new PdfPCell(new Phrase(new Paragraph("Institute/Hospital:AIIMS,NEW DELHI",FontFactory.GetFont("Arial",14,iTextSharp.text.Font.BOLD,BaseColor.BLACK))));
    inner.AddCell(celt);
    Paragraph para = new Paragraph("DCS Clinical Report-Technician wise", FontFactory.GetFont("Arial", 14, iTextSharp.text.Font.BOLD, BaseColor.BLACK));
    para.Alignment = iTextSharp.text.Element.TITLE;
    iTextSharp.text.Image png = iTextSharp.text.Image.GetInstance("logo5.png");
    png.ScaleToFit(95f, 95f);
    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 t.technician_id,td.Technician_first_name,td.Technician_middle_name,td.Technician_last_name,t.technician_dob,t.technician_sex,td.technician_type from Techniciandetail td,Technician t where td.technician_id=t.technician_id and td.status=1", conn);
    conn.Open();
    SqlDataReader dr;
    dr = cmd.ExecuteReader();
    table.AddCell("ID");
    table.AddCell("First Name");
    table.AddCell("Middle Name");
    table.AddCell("Last Name");
    table.AddCell("DOB" );
    table.AddCell("Gender");
    table.AddCell("Designation");
    while (dr.Read())
    table.AddCell(dr[0].ToString());
    table.AddCell(dr[1].ToString());
    table.AddCell(dr[2].ToString());
    table.AddCell(dr[3].ToString());
    table.AddCell(dr[4].ToString());
    table.AddCell(dr[5].ToString());
    table.AddCell(dr[6].ToString());
    dr.Close();
    table.SpacingBefore = 15f;
    doc.Add(para);
    doc.Add(png);
    doc.Add(inner);
    doc.Add(table);
    doc.Close();
    The code executes well with no problem and get all datas from tables into table in PDF report from c# windows forms.
    But here is my problem how can i align Title(DCS Clinical Report-Technician wise) center of pdf report with image named:logo5.png immediately coming to it's right?.
    As the problem i am facing is my title or Header(DCS Clinical Report-Technician wise) is at top of my image named:logo5.png and not coming to it's center position of my image.
    Second the problem i am facing is how to add new entire row to top of existing table in pdf report from c# windows form using iTextSharp?.
    given in below is the row and it's data . So how do i add the given below row and it's data to my top my table in pdf report from c# windows forms using itextsharp?
    as you can see how i create my columns in table in pdf report and populate it with sql server data. Given the code below:
    Document doc = new Document(PageSize.A4.Rotate());
    var writer= PdfWriter.GetInstance(doc, new FileStream("Technician22.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(7);
    table.TotalWidth=585f;
    table.LockedWidth = true;
    Paragraph para = new Paragraph("DCS Clinical Report-Technician wise", FontFactory.GetFont("Arial", 14, iTextSharp.text.Font.BOLD, BaseColor.BLACK));
    para.Alignment = iTextSharp.text.Element.TITLE;
    iTextSharp.text.Image png = iTextSharp.text.Image.GetInstance("logo5.png");
    png.ScaleToFit(95f, 95f);
    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 t.technician_id,td.Technician_first_name,td.Technician_middle_name,td.Technician_last_name,t.technician_dob,t.technician_sex,td.technician_type from Techniciandetail td,Technician t where td.technician_id=t.technician_id and td.status=1", conn);
    conn.Open();
    SqlDataReader dr;
    dr = cmd.ExecuteReader();
    table.AddCell("ID");
    table.AddCell("First Name");
    table.AddCell("Middle Name");
    table.AddCell("Last Name");
    table.AddCell("DOB" );
    table.AddCell("Gender");
    table.AddCell("Designation");
    while (dr.Read())
    table.AddCell(dr[0].ToString());
    table.AddCell(dr[1].ToString());
    table.AddCell(dr[2].ToString());
    table.AddCell(dr[3].ToString());
    table.AddCell(dr[4].ToString());
    table.AddCell(dr[5].ToString());
    table.AddCell(dr[6].ToString());
    dr.Close();
    table.SpacingBefore = 15f;
    doc.Add(para);
    doc.Add(png);
    doc.Add(table);
    doc.Close();
    So my question is how to make my column headers in bold?
    So these are my questions.
    1. how can i align Title(DCS Clinical Report-Technician wise) center of pdf report with image named:logo5.png immediately coming to it's right?.
    2. how do i add the given below row and it's data to my top my table in pdf report from c# windows forms using itextsharp?
    3.how to make my column headers in bold?
    I know that i have to do some modifications to my code but i dont know how to do it. Can anyone help me please.
    Any help or guidance in solving this problem would be greatly appreciated.
    vishal

    Hi,
    >>1. how can i align Title(DCS Clinical Report-Technician wise) center of pdf report with image named:logo5.png immediately coming to it's right?.
    2. how do i add the given below row and it's data to my top my table in pdf report from c# windows forms using itextsharp?
    3.how to make my column headers in bold?<<
    I’m sorry for the issue that you are hitting now.
    This itextsharp is third party control, for this issue, I recommended to consult the control provider directly, I think they can give more precise troubleshooting.
    http://sourceforge.net/projects/itextsharp/
    Thanks for your understanding.
    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.

  • How to run a batch file from within an Oracle 9i Form?

    Hi, I would like to execute a batch file from within an oracle form - I'm assuming there's some PLSQL command I can use? I am not allowed to use any third party libraries, and I'm hoping I can get away without having to progam any C or Java to do it. I don't want to run my java program from my form, but my lecturer is insisting on it.
    Can anyone help?
    Thanx
    Adam

    Can u give me an example
    I need to run a batch files that does a series of step doing dir ( in 3 different folders)
    after each one it shows on screen with a pause & user press enter
    can this work out ?

  • Possibility to execute Acrobat Pro's "Combine files into PDF" function from within SAP?

    Good day.
    Presently, a company uses Acrobat Pro to manually combine files such as *.pdf, *.jpg, *.doc, which have been downloaded from SAP's Document Management System, into one pdf file. I would like to know if it is possible to automatically execute Acrobat Pro's "Combine files into PDF" function from within SAP (ECC 6.0) application system. I'm wondering if this could be achieved from a program via OLE (Object Linking and Embedding) or RFC (remote function call).
    Thanks in advance for your thoughts and inputs.

    Yes, you can combine PDF files via IAC/COM methods.

  • Invoking Oracle stored procedures from within a JDBC channel for PI 7.1

    Hi ,
    Can anybody tell me that is it possible to invoke Oracle stored Procedure from within a JDBC  sender channel for PI 7.1.
    Its working in XI3.0 and XI 7.0 for Oracle DBMS versions >= 10.2.x. But I am not sure,whether it will work for PI 7.1 also.
    Thanks & Regards,
    Saru

    HI,
    refer below link,there is no much difference in PI7.1 ,executing stored procedure is same .
    http://help.sap.com/saphelp_nwpi71/helpdata/EN/44/7b72b2fde93673e10000000a114a6b/content.htm
    Regards,
    Raj

Maybe you are looking for

  • Download: Scripting in a Box

    <b>Scripting in a Box v0.0.1</b> /people/sap.user72/blog/2006/04/06/scripting-in-a-box-v001 Interested in PHP or Perl? Tired of fighting with getting a development environment setup and not knowing which version of what to work with? I decided to dev

  • How to upload a video on Keynote since IOS 8

    Since the IOS 8 update I have not been able to find my videos to add to a presentation. Before the update all videos were in the 'media' section of Keynote app but now it just shows 'Photos'. The 'Video' file is synced in the same file as all the pho

  • How to use iphone as a Multitouch Trackpad for my mac?

    Hi, I have an old macbook white with SnowLeo which doesn't have the multi touch gesture trackpad but I have an iPhone 4 and I tought maybe there's a way to use it as a trackpad. Does anybody know any good apps for this purpose?

  • Unable to bootstrap transaction group 7845 when attempting to fix harddrive with disk utility

    Hello, I recently tried burning a cd from the Mac. I pressed cancel because do forgot to put it at the right speed. So I kept clicking cancel them eventually shut it down. I started it up and I got a "prohibited" sign. The topic title is their error

  • Online and Offline capabilities

    Our goal is to build an application with accessible in both browser and desktop but having the same UI code base. The browser will save data to a database via a Java backend. The desktop app will save to a local database mostly and be able to sync to