Home » Developer & Programmer » Reports & Discoverer » Generate report into PDF programmatically
Generate report into PDF programmatically [message #206139] Tue, 28 November 2006 22:46 Go to next message
skkazmi
Messages: 44
Registered: April 2006
Member
Hi All,

Is their any option to generate oracle report into PDF programmatically or have any command to generate it.
Without using the generate to file option in oracle 6i.

Khurram
Re: Generate report into PDF programmatically [message #206181 is a reply to message #206139] Wed, 29 November 2006 01:36 Go to previous message
javed.khan
Messages: 340
Registered: November 2006
Location: Banglore
Senior Member

Khurram,
Although u can do it but b4 that do tell me wether u need an Preview or not.without a Preview its Simple Just make DESTYPE as File and DESFORMAT as PDF in Before Report Parameter Trigger and it will by Default save ur Document in a PDF format or Whatever the valid Format Supported by Reports in ur BIN Path.

Code for BeforParameter
-----------------------
function BeforePForm return boolean is
begin
:destype:='file';
:desformat:='pdf';
:desname:='C:\policy.pdf';/*path where you want to save the Document*/
return (TRUE);
end;
-----------------------
Previous Topic: custom fonts in Oracle Reports 10g
Next Topic: Report Out put
Goto Forum:
  


Current Time: Sun Nov 03 23:02:08 CST 2024