Display reports on PDF file on the client.
I'm generating reports on web enviroment.
I want to know how to display the report output on the client using a pdf file?????. Because by default the server generate an html file displayed on the web browser.
David Alarid.
Add "desformat=pdf" to your URL. Typically you're URL will look like:
http://<server>:<port>/reports/rwservlet?report=<reportName>&destype=cache&desformat=pdf&...
Similar Messages
-
Genrating Report as PDF File on the hard disk
Hi All,
I am using Oracle developer 10g, I need when I call the report from the forms to generate the report to a PDF file on the c:\ drive instead of appearing on the screen.
I set the DESFORMAT to PDF, DESTYPE set to FILE and DESNAME set to C:\filename.pdf.
ThanksHello,
When using DESTYPE=FILE , the output will be generated on the machine where the Reports Server is running .
If you want to generate the PDF file on the "Client PC" (the PC where the Forms Applet is running), you will have to transfer the PDF from the
"Application Server machine" to the "Client PC"
Webutil can be used to do that : http://www.oracle.com/technology/products/forms/htdocs/webutil/webutil.htm
Regards -
Save a report 6i PDF file onto the database server
Hello Experts,
I have a requirement, whereby I need to generate a PDF report and then send that report via Email. The problem I have is my email procedure is looking for the file which is in the directory on the server where the database is stored, While the PDF is generated on the local machine. Im using reports 6i.
I know in reports 10g the file is generated on the report server itself but Im afraid same is not the case with reports 6i.
The other problem is the local machine does not have the access to the directories on the server. I tried to change the directory path in the database to look at the C:\ but it doesn't work, it says invalid directory, I think the PDF report file needs to be on the server where the database is installed. Is there a way I can pick the PDF file from the local machine instead of the server where the database is installed?
Im not too sure what is the way forward, All I need is to generate a PDF file and mail it.
The procedure that I'm using to send the email attachment is :-
CREATE OR REPLACE PROCEDURE email_attachment(
xfilename VARCHAR2,
xloc VARCHAR2) IS
conn utl_smtp.connection;
BEGIN
conn := Send_Mail.begin_mail(
sender => '[email protected]',
recipients => '[email protected]',
subject => 'Attachment Test',
mime_type => Send_Mail.MULTIPART_MIME_TYPE);
Send_Mail.attach_text(
conn => conn,
DATA => '<b>This is a test Email.<b>',
mime_type => 'text/html');
send_mail.attach_base64_fromfile(
conn => conn,
filename => xfilename,--'test.pdf',
floc => xloc,--'File directory',
mime_type => 'application/octet',
inline => TRUE);
Send_Mail.end_attachment( conn => conn );
Send_Mail.end_mail( conn => conn );
Thanks any help would be appreciated.Hi,
in the forms 6i email with attachment can be sent only through database folder/file. From the client it can not be.
Here is one alternate solution.
1. Share the folder from db server which is used for email directory and keep changeable for everyone.
2. After generate the report like RUN_PRODUCT keep the below command.
HOST('XCOPY CLIENT_PATH\FILE_NAME SERVER_PATH');
3. This command will transfer file from client to db server. After this execute your procedure which is sending email.
Hope it will work.
-Ammad
Edited by: Ammad Ahmed on Mar 23, 2010 1:43 PM -
Open pdf file within the client's Reader, not in a browser, HOW ?
Hi All,
I have a web application written in VB in wich an user can request to open a pdf file stored on the server.
I'm looking for a script that will force the requested pdf to be opened in client's Reader and not in a browser's Reader plugin,
Thanks, YanDo you use Group Policies in an Active Directory Structure?
If yes see here:
http://www.gruppenrichtlinien.de/adm/Adobe.zip
extract, rename adobe.txt to adobe.adm
It is in German, but I explain:
Open your Group Policies Management Console.
Go to Group Policy Objects
Rightclick->New
Give an Name eg. Adobe Settings
Rightclick on the new one->edit
Go to Computer Configuration -> Administrative Templates - > rightclick -> add Templates
Browse to adobe.adm and open it.
Now you have
Computer Configuration -> Administrative Templates -> Adobe -> All Reader and Writer Versions
Go to the one(s) you need
Set "Browser Integration" to disabled or inactive.
Then connect this new Policy to your Computers-OU -
Open pdf file with the client's Reader, not in a browser, HOW ?
Hi All,
I have a web application written in VB in wich an user can request to open a pdf file stored on the server.
I'm looking for a script that will force the requested pdf to be opened in client's Reader and not in a browser's Reader plugin,
Thanks, YanThis is not a problem that can be addressed with LiveCycle Designer script. Designer or Acrobat script has context once the PDF is open, which does not help you. Perhaps a solution can be found in Windows Script Host. I have not touched WSH in a long time but I recall that is possible to do something like...
' Get a Reader instance by ProgID
Set obj = GetObject(,"AcroExch.Document")
' Check if an instance of Reader is not already running. If an instance is running, create a new instance.
If TypeName(obj) <> "Document" Then
Set obj = CreateObject("AcroExch.Document")
End If
or
' Start the application (Reader) associated with the file type
Set obj = GetObject("c:\foobar.pdf")
Steve -
" Displaying the Report in PDF file Format "
Hai Friend's,
I have Developed a Report in Web-Intelligence .My Report is having 50 Collums and 600 Rows. The Report is too big Report. when the Save the Report in PDF File format, The PDF file Format Report is Consisting of 10 Pages, The Report Output is not coming in One Page. But my user want the Report all the Field's :: Collumms,Rows in one Page.can Anybody let me know the solution.Hi Ashok,
You can change the page size and orientation in the web.xml in the following folder.
Web Intelligence default Page size Modification u2013 Follow these steps:
1. Open the defaultconfig.xml file found in the following directory:
servername\Program Files\Business Objects\Tomcat\webapps\businessobjects\enterprise115\desktoplaunch\webiApplet\AppletConfig
2. Look for the following code near the top of the page:
<KEY VALUE="page*default">
<FORMAT NAME="A4" ORIENTATION="portrait" />
</KEY>
3. Change this to:
<KEY VALUE="page*default">
<FORMAT NAME="LETTER" ORIENTATION="portrait" />
</KEY>
4. Save the file.
All the Best,
Madhu... -
How to Save pdf file in the BLOB field in the database
I have to save a pdf file which is on the client machine to save in the database column of type BLOB. How can i do that?
LostWorld wrote:
I have to save a pdf file which is on the client machine to save in the database column of type BLOB. How can i do that?PL/SQL code cannot hack across the network. break into that client machine, and read that PDF file from the client's harddrive.
There is a very fundamental client-server principle at stake here - the purpose of the client. What is the purpose of the client? Amongst others, it is to interface with the client hardware and peripherals and devices. Like reading the client keyboard and sending that to the server. Or reading data from the sever and rendering it on the client's display device. Or to receive CSV data from the server and writing it to a local file.
It's purpose is also to read a local file, like a PDF file, and submit that file's contents to the server for storage.
The following pseudo code explains the basic principle:
client
// call oracle to create a LOB
ExecuteSQL( 'DBMS_LOB.CreateTemporary( .. )' )
open file( fileHandle )
while not EOF( fileHandle )
// read data from the file
read file( fileHandle, buffer )
// write this buffer to the LOB in Oracle
ExecuteSQL( 'DBMS_LOB.writeAppend( .. )' )
end while
close file( fileHandle )
// now tell Oracle what to do with that LOB
ExecuteSQL( '...' )
.. etc..Thus the client:
a) creates a LOB in Oracle via a PL/SQL call
b) passes data from the client and appends it to the LOB
c) tells Oracle what to do with LOB, such as inserting it into a table -
Post Author: markeyjd2
CA Forum: Exporting
Greetings forum members,
My question is, in its entirety: Can a single report (rpt file) create multiple PDF files using the export command, ideally one PDF file per DB record?
In my case; I have a Crystal Report that reads data from a DB table containing ~ 500 records. When I export the report to a PDF file, I get one PDF file, with ~ 500 pages.
What I would like to do is export the report to ~ 500 individual PDF files; One file per DB record. The file names would be based on the table's primary key.
Is this possible?Post Author: Micha
CA Forum: Exporting
Hi,
you need some lines of code, but its easy. Dependend on how to start the generation of your 500 PDFs, you can write an ASP page and start it via Web Browser, or a Windows Script and start it via scheduled job...
Here's an abstract of the ASP code I use:
First, you create a recordset (here: "rsc") which gives you the list of ID fields you want to export, then you create CrystalRuntime.Application object, then you loop through the recordset, open your report (here: "oRpt") and set login info. Then set the selectionformula, so that the report displays only the data of the current ID, e.g.:
oRpt.RecordSelectionFormula = "(" & oRpt.RecordSelectionFormula & ") AND {myTab.myVal}=" & rsc("myVal")
Then you export the report, move to the next record in recordset, and repeat the loop until recordset.EOF. Then you close recordset and connection.
Micha -
Preview: In a group of PDF files in the same window, going to the next or a previous PDF file displays the bottom of PDF page by default, not the top of the PDF page. How do you change this? In Mac OS 10.9 and previous, going to the next or previous PDF file displays the top of the PDF by default. Is there a way to change this back? When I go to the next or previous PDF file, I want to first view the top of the page, not the bottom. This really doesn't make any sense. Any help? Thanks!
MacBook Air (13-inch, Mid 2012)
2 GHz Intel Core i7
8 GB 1600 MHz DDR3
500 GB Flash Storage
Preview Version 8.0 (859)
Mac OS 10.10.1That to me seems like a bug in Yosemite.
Apple Feedback http://www.apple.com/feedback/
Bug Reporter https://bugreport.apple.com/ -
I am a professor and frequently need to open pdfs of academic journal articles from electronic databases. Within the last two or three weeks, when I try to do this using Firefox, only the first page of the pdf displays and the rest are blank. In addition, a bar appears across the top with the message "This pdf file may not display properly." So I have had to switch to Internet Explorer to open the files and do my research. What is going on and how can I fix it so I can open pdf files from the Web in Firefox and have them display properly?
My question is simple - why would you put an application in production that has a lot of bugs? To replace a good and steady Adobe product? My customers will believe that I put a pathetic fallible form online. They are not sophisticated on computers so I just tell them to use IE. Ugh
I must agree with pgwebgirl! -
hi,how can i change the default settings on my adobe readerX1 such that it will display all my pdf files according to their individual cover pages (as cover picture thumbnails)before i click them to open and read........i really enjoyed this feature as a default settings upon installation in previous editions of adobe reader .i use a windows 8 pc now.thank
For sideloaded content the nook pulls the metadata from ePub file itself. I would suggest looking at a program like Sigil or Calibre that will let you edit the metadata in the book to make it appear like you want.
For the PDF vs ePub - No, that's the way PDFs work (think of them as graphics, not text), wheres ePubs are Web Pages - so no you can't them to behave exactly alike without converting the files. -
Store and Display doc/pdf files in the database using Forms
Hi all,
How can i store and display doc/pdf files in the database using Forms 10g?.
ArifHow to get up and running with WebUtil 1.06 included with Oracle Developer Suite 10.1.2.0.2 on a win32 platform
Solution
Assuming a fresh "Complete" install of Oracle Developer Suite 10.1.2.0.2,
here are steps to get a small test form running, using WebUtil 1.06.
Note: [OraHome] is used as an alias for your real oDS ORACLE_HOME.
Feel free to copy this note to a text editor, and do a global find/replace on
[OraHome] with your actual value (no trailing slash). Then it is easy to
copy/paste actual commands to be executed from the note copy.
1) Download http://prdownloads.sourceforge.net/jacob-project/jacob_18.zip
and extract to a temporary staging area. Do not attempt to use 1.7 or 1.9.
2) Copy or move jacob.jar and jacob.dll
[JacobStage] is the folder where you extracted Jacob, and will end in ...\jacob_18
cd [JacobStage]
copy jacob.jar [OraHome]\forms\java\.
copy jacob.dll [OraHome]\forms\webutil\.
The Jacob staging area is no longer needed, and may be deleted.
3) Sign frmwebutil.jar and jacob.jar
Open a DOS command prompt.
Add [OraHome]\jdk\bin to the PATH:
set PATH=[OraHome]\jdk\bin;%PATH%
Sign the files, and check the output for success:
[OraHome]\forms\webutil\sign_webutil [OraHome]\forms\java\frmwebutil.jar
[OraHome]\forms\webutil\sign_webutil [OraHome]\forms\java\jacob.jar
4) If you already have a schema in your RDBMS which contains the WebUtil stored code,
you may skip this step. Otherwise,
Create a schema to hold the WebUtil stored code, and privileges needed to
connect and create a stored package. Schema name "WEBUTIL" is recommended
for no reason other than consistency over the user base.
Open [OraHome]\forms\create_webutil_db.sql in a text editor, and delete or comment
out the EXIT statement, to be able to see whether the objects were created witout
errors.
Start SQL*Plus as SYSTEM, and issue:
CREATE USER webutil IDENTIFIED BY [password]
DEFAULT TABLESPACE users
TEMPORARY TABLESPACE temp;
GRANT CONNECT, CREATE PROCEDURE, CREATE PUBLIC SYNONYM TO webutil;
CONNECT webutil/[password]@[connectstring]
@[OraHome]\forms\create_webutil_db.sql
-- Inspect SQL*Plus output for errors, and then
CREATE PUBLIC SYNONYM webutil_db FOR webutil.webutil_db;
Reconnect as SYSTEM, and issue:
grant execute on webutil_db to public;
5) Modify [OraHome]\forms\server\default.env, and append [OraHome]\jdk\jre\lib\rt.jar
to the CLASSPATH entry.
6) Start the OC4J instance
7) Start Forms Builder and connect to a schema in the RDBMS used in step (4).
Open webutil.pll, do a "Compile ALL" (shift-Control-K), and generate to PLX (Control-T).
It is important to generate the PLX, to avoid the FRM-40039 discussed in
Note 303682.1
If the PLX is not generated, the Webutil.pll library would have to be attached with
full path information to all forms wishing to use WebUtil. This is NOT recommended.
8) Create a new FMB.
Open webutil.olb, and Subclass (not Copy) the Webutil object to the form.
There is no need to Subclass the WebutilConfig object.
Attach the Webutil.pll Library, and remove the path.
Add an ON-LOGON trigger with the code
NULL;
to avoid having to connect to an RDBMS (optional).
Create a new button on a new canvas, with the code
show_webutil_information (TRUE);
in a WHEN-BUTTON-PRESSED trigger.
Compile the FMB to FMX, after doing a Compile-All (Shift-Control-K).
9) Under Edit->Preferences->Runtime in Forms Builder, click on "Reset to Default" if
the "Application Server URL" is empty.
Then append "?config=webutil" at the end, so you end up with a URL of the form
http://server:port/forms/frmservlet?config=webutil
10) Run your form.sarah -
When attempting to open a hyperlink to a PDF file on the web from a Microsoft WORD for Mac 2011 (14.3.9) document, Safari 7.0 instead displays the file as text?
As seen in http://answers.microsoft.com/en-us/mac/forum/macoffice2011-macword/has-the-word- 2011-for-mac-invisible-toolbars/018a3ab6-0570-4ad5-abf8-5b6427fdde3e?msgId=e111b f0a-0e32-4fa3-9536-f349dad8439d
and it worked for me:
1. Quit Word
2. In the Finder's menu bar, select Go > Go to folder and type or paste: ~/Library/Preferences/
3. Click on Go
4. Locate the preference file com.microsoft.Word.plist, then Option-drag it to the desktop to create a backup copy
5. Go to Applications/Utilities and open Terminal
6. Paste the following bold command at the $ prompt (it's a single line):
defaults write com.microsoft.Word 14\\Toolbars\\Show_HIToolbar -boolean TRUE
7. Press Return and then quit with Command Q
8. Start Word and test. If the fix works, trash the backup file in the Desktop file. Otherwise, restore it.
In the original source the author also mentions the change in Word 2008 -
How to display PDF file, inside the SWF file or flash exe file
I have create the application for Employee details using flash actionscript 3.0
This application is to view the organization employee details, iam using the tree component in this application,
the tree component is to get the dada via xml file, this xml file save in the remote server ,
I display the PDF file inside the swf file to using " StageWebView" class . Then i goto Publish Setting to change the player Adobe Air 2.6 and run the flash file using
ctr-l + Enter . It is work correctly the PDF file is Displayed inside the Swf Output. But I Publish this file to exe . then i run the exe it is not working .
The application is run The xml data is onely get and displayed the Tree component then i click the tree item employee name the xml data in not display and the pdf file is not open .
Pls Help...................hi i need to display the pdf file inside the swf file or flash exe file .
I use the navigateToURL class this is open the pdf file on the browser. I want to display the pdf file in the swf window .
Please suggest. -
"The exception unknown software exception (0xc06d007e) occured in the application at location 0x7c812aeb" - error displayed when opening PDF files. What i do?
What is your Reader XI version?
Have you tried to disable Protected Mode [Edit | Preferences | Security (Enhanced)] ?
Maybe you are looking for
-
I just bought my first ipod nano today and i was able to download music through itunes and it's saved to my desktop, but I can't sync the music from my desktop to my ipod. what should I do?
-
My final cut pro software is acting up!!! Every time I try to open a project it says "general error" and the timeline doesn't even show up. What do I ahve to do to fix this?
-
How to send TDMS file using TCP/IP
Hi, I'm working with a cRIO-9025, chassis cRIO-9118 and NI 9239 module. I've done an acquisition (voltage) where data is in 1D Wfm SGL. I've saved this data using a TDMS file, but now I want to send this file to an other computer (in this case mine)
-
How can I restore missing icons?
The Skype icon has been replaced with the default paper, pencil, paintbrush icon. It shows this way in the dock and when i search for it in the finder. The program still works normally. If I duplicate the app, the Skype icon shows properly on the dup
-
Item "Start/stop table": Counts towards 100 item per page limit?
One of my form pages has many items and aligning them all just right is quite a chore. I found myself using lots of those handy "start/stop table" items instead of fighting with the colspan, rowspan, New Line/New Field attributes. Question: Do these