title: Generate a report from oracle forms into PDF format
body: <p>I have a report that I called from  Oracle Forms 6i.
  My issue is that I want generate the report directly into a PDF format without demand me which output format I want.</p>
  
  <p>below the code used to call and generate the report from Oracle forms (trigger WHEN_BUTTON_PRESSED):</p>
  
  <pre><code>DECLARE 
  p_list PARAMLIST;
  BEGIN
  p_list :=CREATE_PARAMETER_LIST('TEMP');
  ADD_PARAMETER(p_list,'PARAMFORM',TEXT_PARAMETER,'YES');
  ADD_PARAMETER(p_list,'ep',TEXT_PARAMETER,':exer');
  ADD_PARAMETER(p_list,'cc',TEXT_PARAMETER,':code');
  ADD_PARAMETER(p_list,'op',TEXT_PARAMETER,':ordr');
  ADD_PARAMETER(p_list,'nume',TEXT_PARAMETER,':nume');
  ADD_PARAMETER(p_list,'DESTYPE',TEXT_PARAMETER,'SCREEN');
  RUN_PRODUCT(REPORTS,'D:\Reports\MyReport6i.RDF',SYNCHRONOUS,RUNTIME,FILESYSTEM,p_list,null);
          IF NOT(ID_NULL(p_list)) THEN
  DESTROY_Parameter_List(p_list);
  END IF;
  END;
  </code></pre>
  
  <p>Can you give more suggestions to generate the report into PDF file.
  Thanks in advance</p>