Dynamic images in reports -- PDF output
In Reports uilder I can link an image object to a URL as described in the product help. This works well with an HTML output but in PDF only the image URL appears.
How could I solve this problem?
Thank you.
Hi,
The URL method of including images in valid only for HTML output.
The Reports Builder Help on "Images says that:
You can add an image to a report by:
- selecting a column in the database that contains images
- importing the image from a file into the report layout
- linking an image object to a file
- for HTML output, selecting a column in the database that contains URL links to images or linking an image object to a URL
If you reference a URL for an image, the image is displayed when you format your report for HTML output. For other output formats, the URL text displays in the Paper Design view
The reason for this is that Oracle Reports will only write the URL in the output. In case of HTML output, the browser can understand the URL, so it will fetch the image from the URL and show it. But this cannot be done by Acrobat Reader.
For PDF output you will have to use one of the other methods of inserting an image.
Navneet.
Similar Messages
-
Barcode printing in XML report PDF output
Hi All,
I want to print barcode of invoice number / purchase order number in the XML report PDF output.
Anyone please suggest me with your ideas and experience.Hi Bogdan,
The steps mentioned in the doc is what i did in order.
I couldn't understand the step # 13 & 14.
Log in as XML Publisher Administrator
Navigate to Administration --> Font Files --> Create Font File
Available fields are Font Name and File
--> for Font Name, choose any descriptive name
--> file will browse your PC to locate the font file
Navigate to Font Mappings -->Create Font Mapping Set
Mapping name is the name you will give to a set of fonts.
Mapping code is the internal name you will give to this set
Type: 'PDF Form' for PDF templates. 'FO to PDF' for all other template types.
Create Font Mapping (this allows you to add fonts to a set)
Font Family is the exact same name you see in MS Word under Font. If you don't use the same name the font will not be picked up at runtime.
Style and weight must also match how you use the font in the RTF or PDF layout template. Normal and Normal are good defaults.
Language and Territory should remain blank (NULL) unless you have a strong business reason, as these fields can cause the font not to be picked up at runtime.
Navigate to Configuration General -> FO Processing -->Font Mapping Set. This can also be done at Data Definition and Template level, via the corresponding Edit Configuration button on those pages. The hierarchy is Site-> Data Def -> Template.
Select your new mapping set.
Make sure the font is not referenced under File --> Properties --> Custom in the RTF template file.
Under General, set a Temporary Directory. The font will be stored under a /fonts directory at runtime, initially created the first time the font is used.
Upload a template that uses your special font and test using preview or by submitting a concurrent request. -
I am running into an issue that I have narrowed down to the PDF output generated by XML Publisher. I have an image file (JPEG format) that is dynamically loaded from a file in $OA_MEDIA. When the output is PDF and when it is printed, the image is enclosed in a gray rectangle. When the output is RTF, the image is not enclosed. In either case, screen previews do not show any borders around the image. Has anyone encountered this issue?
Thanks in advance,
Sundermake sure when you are printing the document that you are using a postscript printer driver. If you are using pcl it will encase the image with a light grey background
-
Displaying a dynamic image using a PDF file.
I am trying to find a way to display an image dynamically in my report. The image happens to be .pdf I have Crystal Reports XI and I have the graphic location formula completed "
10.93.138.250\Production\ProdOut\00\" & {Order_Record.URN_text} + "_p1.pdf" however it tells me PDF is not supported. Is there a way around this?I have to agreed that what you are saying appears to be true from my attempts at getting .pdf files to work dynamically. Using .bmp and .jpg files seems to work just fine but not .pdf, .xls, or .doc.
In the Users Guide, in chapter 16, in the section titled "Working with static OLE objects" - it only talks about the picture type formats you mentioned and metafiles. Later in this section is where it explains how to make a static OLE object dynamic.
While it doesn't specifically say it won't work for other types - it sure doesn't seem to. I see no reason why this should be true however! Certainly Crystal appears to be set up to allow this and the fact that the objects are not images shouldn't matter. Why is there a picture tab and a conditional formula button next to the graphic location label on the object if it can't be used?
I'm trying to do something similiar to Carey. I have maps to customers in a customer list and they are in .pdf files. The location of the map is stored in the database. I'm putting together a report of service calls and I want to print the map with each call. It looks like I'll have to convert several thousand .pdf files to .jpg - that should be fun!
Any chance this limitation will be eliminated sometime soon...
Edited by: Randy Walter on Oct 2, 2008 6:40 PM -
Report Pdf output getting Junk characters for some boiler Plate fields
Hi All
For Dunning Letter Report registered in Oracle Applications,made changes in Column headings like added customer number as Kunde for German Letter
but in pdf output it's appearing as junk characters even date field is happening like that. It's happening for German, Spanish, Italy and French Letters. Working ok for Netherlands, English.
any input to fix this solution will be great
Thanks
Kamalakar.GMaybe you check the NLS_LANGUAGE-settings on the client where you "edit" the reports-definition.
-
Hi,
I am able to sucessfully generate HTML output thru' Reports 6i.
Can someone show me the steps to show the steps to show the Pdf output in client browser.
incidently "publishing reports" documentation PDF show only how to generate HTML output.
Is it true that I will have to follow 2 step process for that
step1 : request the Pdf.
step2 : redirect the browser to the location where the generated PDF was put by the Reports server.
Can't I have the PDF be seen in the client browser in just one Go?Create a parameter
let say p_output with datatype number.
assume if p_output = 1 desformat= html
and if 2 desformat = pdf
In after parameterform report trigger
initialized these values
if :p_output = 1 then
:desformat := 'HTML';
Else
:desformat := 'PDF';
Endif;
In this way u will be able to use a single button to solve ur purpose.
sa.
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by izabella():
I've had the same problem.
We can't change the Report Seabrver's Success Page. So, you have to do it in 2 steps.
(f.e., you can have 2 buttons).<HR></BLOCKQUOTE>
null -
Report builder, image issue with PDF output
hi there,
i generate report to PDF. i got the company logo on the header. everything is working fine. my pdf is generated and my letter comes out nice and proper.
now once the PDF is generate and i view it on adobe reader, i want to protect the logo from been copied. like, when u click on the image and then right click on it, it gives u the option to copy image. i want to protect this from happening. i dnt want the logo to be able to be copied.
anyone know on how i can protect the images from been copied. or direct me to a site where i can find some help.
thanks in advance.
cheers
The software and version i am uising
Oracle9i Enterprise Edition Release 9.2.0.5.0 - Production
With the Partitioning option
JServer Release 9.2.0.5.0 - Production
Report Builder 10.1.2.0.2
ORACLE Server Release 10.1.0.4.2
Oracle Procedure Builder 10.1.2.0.2
Oracle ORACLE PL/SQL V10.1.0.4.2 - Production
Oracle CORE 10.1.0.4.0 Production
Oracle Tools Integration Services 10.1.2.0.2
Oracle Tools Common Area 10.1.2.0.2
Oracle Toolkit 2 for Windows 32-bit platforms 10.1.2.0.2
Resource Object Store 10.1.2.0.2
Oracle Help 10.1.2.0.2
Oracle Sqlmgr 10.1.2.0.2
Oracle Query Builder 10.1.2.0.2 - Production
PL/SQL Editor (c) WinMain Software (www.winmain.com), v1.0 (Production)
Oracle ZRC 10.1.2.0.2
Oracle XML Developers Kit 10.1.0.4.2 - Production
Oracle Virtual Graphics System 10.1.2.0.2
Oracle Image 10.1.2.0.2
Oracle Multimedia Widget 10.1.2.0.2
Oracle Tools GUI Utilities 10.1.2.0.2You can configure a custom destination (securePDF) to enable PDF security settings.
Check out the following thread Re: how can prevent user for printing report
Edited by: Rodolfo Ferrari on Jun 18, 2009 11:25 PM -
Hi All,
I am trying to add image in an adobe form, the image source is in R/3 and through RFC, the url of image is being exported.
Could you please help, how to display images on PDF dynamically.
Regards
UmangHi Umang Mathur :
I meet the same problem, now i develop employee CV programe, when a employee open his CV,his photo will display in PDF, i find your answer and do it.
when i use the script :this.value.image.href = xfa.resolveNode(this.value.image.href).value;When preview it these error display : Script failed (language is formcalc ;context is xfa[0].form[0].Node[0].page1[0].ImageField[0])scripts= this.value.image.href = xfa.resolveNode(this.value.image.href).value;
Error : Malformed SOM expression;
The Photo do not display in PDF form.
Can you tell me how do you do with it?
thank you
zunxian -
Generate Dynamic Hyperlinks/Bookmarks in PDF Output.
Hi,
I'm trying to develop an RTF template which will generate the output with Bookmarks in PDF format. As per the Enterprise User Guide, <?copy-to-bookmark:?> or <?convert-to-bookmark:?> should be able to generate a static or dynamic bookmark, respectively. But, all my attempts in doing so go in vain.
Again, I have a summary page in front, and detail pages suffixed; hence, I am trying to create a link on the summary page field, to the respective detail page. But, I am not sure of the steps.
Example:
Page1:
Deptno. Dname Number of Employees
10 Production 15
20 Research 8
etc...
Page2 Onwards
Deptno. 10
Dname. Production
EMPNO ENAME SAL
7782
Kindly advise if anyone has any idea about this.
Thanks,
L. Mukunthan.
Edited by: Mukunthan L on Jan 20, 2010 1:33 AMthread re-created! :(
please see: Dynamic PDF Bookmarks/Hyperlink Generation in RTF template.
Edited by: Mukunthan L on Jan 20, 2010 1:35 AM -
Migration from Windows 32 bit to 64 bit Customized reports PDF output issue
Hi Gurus,
Product Version: 12.1.1
Operating System: Linux x86-64
Database Version: 11.1.0.7
We have migrated from Windows 32 bit to Linux 64 bit, our PDF reports shows some Greek Charters
vi /opt/oracle/apps/tech_st/10.1.2/bin/reports.sh
NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1; export NLS_LANG
SELECT * FROM NLS_DATABASE_PARAMETERS
NLS_CHARACTERSET=AR8MSWIN1256
Regards,Mean the result of query SELECT * FROM NLS_DATABASE_PARAMETERS
NLS_CHARACTERSET=AR8MSWIN1256
and 11g database character set is AR8MSWIN1256
vi /opt/oracle/apps/tech_st/10.1.2/bin/reports.sh' refers to 10g. Oracle EBS R12 oracle home not a DB Oracle HOME
Hope you understand now. -
Controlling image size in PDF output
Hi, I'm generating PDFs from both Word and FrameMaker source files, as well as HTML through ePublisher. When I compare PDFs generated from FrameMaker with the HTML version, the images are pretty much identical in size, but images in PDFs generated from Word are about double the size when the PDF is viewed at 100%. I don't see any obvious settings in Distiller to control this. Is this something caused by (a setting in) Word, or do I need to modfiy something in my Acrobat job options?
Thanks in advance,
Jim
Message was edited by: Roannaismake sure when you are printing the document that you are using a postscript printer driver. If you are using pcl it will encase the image with a light grey background
-
When my iBook is exported to PDF or Print/Save as PDF several images have very degraded image quality. The same image prints well from pages. Any suggestions/ideas?
The same image printed from Pages looks fine.
I've inserted PDF, png, jpg (will probably try TIF/GIF next) all display the same degradation.
When a JPG is inserted as the Chapter intro image in iBooksAuthor it looks fine/much better. -
I want to display an image on my reports using the 'Alternative Text' option in the rtf image properties. I have a package function that I will be using to grab the image from my DB table
select 'http://server1.acboe.org:9000/pls/apex/SIS_EXPRESS.sis_express_base.display_student_picture?l_fk_student_id=' || B.FK_STU_BASE)
from stu_base B FILEPATHVALUE.
What I don't want to do is hard-code my server info in the URL ''http://server1.acboe.org:9000/'. Is there anyway to let it pull the current URL info from the page that was displayed and tack on the rest 'SIS_EXPRESS.sis_express_base.display_student_picture?l_fk_student_id=' || B.FK_STU_BASE'?hi try to get that url as an xml tag and try the below pattern in alternate text tab
url:{.//IMAGE_URL}
or
url:{/IMAGE_URL}
IMAGE_URL is the xml tag name which will have image location -
Showing dynamic images in BI Publisher PDF report
I defined a RTF report layout in BI Publisher. Almost done, but one requirement missing...
I should be able to include a dynamic image (so every "object" on the report has it's own image).
At first I embedded the base64 converted image in the XML output, but then I am running into the 32K limit. (Small pictures render fine).
Although Marc Sewtz sort of promised in June 2008 (!) : "One issue, which we'll address in the next version of Application Express, is the 32k limit on report columns." on his blogpost http://marcsewtz.blogspot.com/2008/06/one-question-about-pdf-printing-feature.html , it still not addressed.
So I tried to embed the image in the report using a trick described on the forum (and BIP documentation), by embedding a dummy picture and set the "Alt-text" of the picture to
(as an example) : url:{'http://www.oracleimg.com/us/assets/oralogo-small.gif'}.
The strange thing is, that works fine for HTML Output and Excel output, but not for Word and PDF (why it does work for Excel and not for Word is very mysterious....). And of course I need a PDF output.
I also tried to embed a FO snippet:
<fo:block>
<fo:external-graphic src="url:{'http://www.oracleimg.com/us/assets/oralogo-small.gif'}" />
</fo:block>
But that doesn't (seem to) work on any output...
But
<fo:block>
<fo:external-graphic src="D:\Users\rhartman\Documents\PrintScreen Files\Screenshot004.jpg" />
</fo:block>
does produce the image on the PDF output.
So who has an idea how to solve this issue?? You'll be rewarded with a lot of pionts ;-)
TIA
RoelHi Carsten
That was exactly* I was looking for. Maybe I should Google more in German ;-)
The main problem was that I defined my image outside the first repeating group (that doesn't repeat, it's always just one object) - the first group is followed by 7 more.
Just like the "Name" (that's positioned outside the group in the document header), I positioned the image above the table representing the group.
Doing that, the "Name" is filled correctly, the Image only when the Output Format is Excel or HTML - not Word or PDF ... makes no sense but that's tje way it is.
After moving the image inside the group....it works great!
(One more thing...the image size is fixed to the image you use as "dummy". Is there any way to make that more flexible, because now some scaling happens...)???
@Trent: That was the way we initially did it, but when the size of the row exceeds 32K...you know what happens.. And even with a small image the 32K limit is hit easily
The way I use it now (very similar to Carsten's description) there is no limit....
Thank you all!
Roel -
How to generate a PDF output using batch file in 10G
Hello,
I am using .bat file to generate a report PDF output. I have done this many times in 6i but for 10G I am unable to do the same.
Can someone please look at the syntax below and let me know where I am going wrong.
I understand that reports are different for 6i and 10G specially .rep file but I am sure we should be able to generate a PDF file using 10G. Please let me know.
Thanks
IQ
Contents of .bat file follow
ECHO Opening parameter form. Please do not close this window.
C:\
FOR /F "tokens=1 " %%I IN ('time /t') DO (SET _TIME=%%I)
FOR /F "tokens=2 " %%I IN ('date /t') DO (SET _DATE=%%I)
SET EXP_DATE=%_DATE:~6,4%%_DATE:~0,2%%_DATE:~3,2%_%_TIME:~0,2%%_TIME:~3,2%
SET FILENAME=SEND_EMAIL_%EXP_DATE%_%USERNAME%.PDF
CD C:\Users\Documents
RWCONVERTER REPORT=C:\Users\Documents\send_email.rep USERID=scott/tiger@ORCL1 ORIENTATION=LANDSCAPE DESFORMAT=PDF DESTYPE=FILE
DESNAME=C:\Users\\%FILENAME% PRINTJOB =NORwconverter is not used to run reports:
rwconverter (Reports Converter) enables you to convert one or more report definitions or PL/SQL libraries from one storage format to another.
I think you mean rwrun:
rwrun (Reports Runtime) runs a report by starting its own in-process server (not to be confused with the default in-process Reports Server), which runs in the same JVM as the rwrun process.
This bat file has to run on the server. There is no Reports installation on the client anymore.
If you want to run a report from a client, you can make a bat file that calls the report url
See: http://download.oracle.com/docs/cd/E14571_01/bi.1111/b32121/pbr_cla002.htm#i634710
Maybe you are looking for
-
While most can open my .pdf attachments to emails, I have one client who cannot. However, they can open and read if sent from another person in my office who using the same Program as I do. I am using Adobe Reader X1. Can anyone help?
-
Changing Router IP while keeping default Gateway
Hello- I have a Linksys WRT150N Wireless Router. The default (out of the box) IP Address is 192.168.1.1, which is also the default Gateway. I would like to know if it is possible to change the IP address to 192.168.1.2 while keeping the Gateway on
-
MacBook forgetting settings after restart
Hi. I have a very annoying problem with my MacBook Pro 2012 model. Since I updated the MacBook to OSX Mavericks, It has been acting wierd. Every time I restart it, the trackpad and the dock settings resets theirselves. So for example if I add a progr
-
Organizing songs in ZEN just as
Hi there, hopefully someone can help me I have a Zen Sleek, and the problem is organizing the songs the way they are viewed in windows media player: Whenever I select an artist, albums by that artist appears. I can then choose the album and the next
-
If HP Pavillion dv6 Notebook PC can be upgraded to SSD ( Solid State Drive )
I have HP Pavillion dv6 Quad Edition Notebook PC Product Number: LM720AV I have 750GB 7200RPM HDD installed and wanted to upgrade to SSD. My Questions are: 1: If it possible to upgrade to SSD on this Laptop. 2: If I can upgrade to High resolution dis