Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Using jpeg images as a background in pdf reports

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Using jpeg images as a background in pdf reports
 Login/Join
 
Platinum Member
posted
TABLE FILE CAR
PRINT
     'CAR.ORIGIN.COUNTRY' NOPRINT
HEADING
" This shows"
"I Can put data such as the car model"
" "
"<MODEL "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "

"Anywhere I want on this overlay"

FOOTING
" "
WHERE RECORDLIMIT EQ 1
ON TABLE SET PAGE-NUM OFF
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
     PAGESIZE='Letter',
     LEFTMARGIN=0.500000,
     RIGHTMARGIN=0.500000,
     TOPMARGIN=1.500000,
     BOTTOMMARGIN=0.500000,
     ORIENTATION=PORTRAIT,


TYPE=REPORT,
     IMAGE=tp001.jpg,
	 POSITION=(0.50 0.0),
	 SIZE=(7.0 10.0),

$
ENDSTYLE
END


is generating the following error:

(FOC3251) IMAGE FILE UNREADABLE OR INVALID: tp001.jpg

If I change the FORMAT to HTML, the report runs perfectly. I found a couple of old cases in the tech library that suggested opening the file in Paint and saving it with a new file name. This did not help.

Basically what I am trying to do is to position data on a form letter which has been scanned into a jpg file. Any other sugesstions on how to do this would be appreciated as well.

This client is using version 7.6.10 in all components.

This message has been edited. Last edited by: Kerry,


Robert F. Bowley Jr.
Owner
TaRa Solutions, LLC

In WebFOCUS since 2001
 
Posts: 132 | Location: Gadsden, Al | Registered: July 22, 2005Report This Post
Expert
posted Hide Post
For PDF, the image must be in the Application Path, which means that it should be directly in one of the folders in Drive:/ibi/apps/


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Expert
posted Hide Post
TABLE FILE CAR
SUM
SALES
BY COUNTRY NOPRINT PAGE-BREAK
BY CAR
BY MODEL
HEADING
"WEBFOCUS REPORT"
" "
" "
"COUNTRY: <COUNTRY"
" "

ON TABLE SET STYLE *
TYPE=REPORT, SQUEEZE=ON,
FONT='ARIAL', SIZE=8,
$
TYPE=REPORT, IMAGE=smpbkg1.jpg, $
ENDSTYLE

ON TABLE PCHOLD FORMAT PDF
END


smpbkg1.jpg is an image in folder C:\ibi\apps\ibisamp


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Platinum Member
posted Hide Post
duh... I knew that :-(

Oh well, they say that the memory is the second thing to go, and I don't remember what the first was.

Thanks Frank


Robert F. Bowley Jr.
Owner
TaRa Solutions, LLC

In WebFOCUS since 2001
 
Posts: 132 | Location: Gadsden, Al | Registered: July 22, 2005Report This Post
Expert
posted Hide Post
Smiler I am not afraid of 'Francis' Smiler
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Using jpeg images as a background in pdf reports

Copyright © 1996-2020 Information Builders