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.
Iam trying to add a logo or image to the PDF report output but am unable to do so. Also am trying to make the report heading aligned to be center but not able to achieve this as well.
Any help with the sample example on how to do this would be greatly appreciated!
Thanks a lot in advance!
Regards!This message has been edited. Last edited by: info4pal,
Yes I did look into the link which you had provided Ram but its not working.
Waz and Ram ... Please find my code below : TABLE FILE CAR PRINT * ON TABLE PCHOLD FORMAT PDF ON TABLE SET STYLE * TYPE=TABHEADING, IMAGE=IBFS:/wfdev/EDA/EDASERVE/APPPATH/fldr/abc_im.jpeg, POSITION=(.25 .10), SIZE=(1 1), $ ENDSTYLE END -EXIT
THis is the error message am getting : TABLE FILE CAR PRINT * ON TABLE PCHOLD FORMAT PDF ON TABLE SET STYLE * TYPE=TABHEADING, IBFS:/wfdev/EDA/EDASERVE/APPPATH/fldr/abc_im.jpeg, POSITION=(.25 .10), SIZE=(1 1), $ ENDSTYLE END -EXIT
Try placing it in REPORT instead of TABHEADING. From your code, there is no TABHEAD component.
TABLE FILE CAR PRINT * ON TABLE PCHOLD FORMAT PDF ON TABLE SET STYLE * TYPE=REPORT, IMAGE=IBFS:/wfdev/EDA/EDASERVE/APPPATH/fldr/abc_im.jpeg, POSITION=(.25 .10), SIZE=(1 1), $ ENDSTYLE END -EXIT
I tried it on the report but it is not working. Please find the error message below :
(FOC757) WARNING. YOU REQUESTED PRINT * OR COUNT * FOR A MULTIPATH FILE 0 ERROR AT OR NEAR LINE 8 IN PROCEDURE ADHOCRQ FOCEXEC * (FOC3251) IMAGE FILE UNREADABLE OR INVALID: null
If you put the image in the same app path as the fex - you should be able to run this below. You will have to play with the position and size.
TABLE FILE CAR
PRINT CAR SEATS COUNTRY COUNTRY
BY COUNTRY
HEADING
" "
"</5"
" "
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
TYPE=HEADING,
IMAGE=MYIMAGE.gif,
POSITION=(+2.700000 +0.000000),
SIZE=(1.100000 1.10000),
$
ENDSTYLE
END
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005
I tried placing my Jpeg image in the same app path and am still getting the below error message: 0 ERROR AT OR NEAR LINE 17 IN PROCEDURE ADHOCRQ FOCEXEC * (FOC3251) IMAGE FILE UNREADABLE OR INVALID: my_image.jpeg
Last edited by: info4pal, 28 January 2015 12:20 PM
As IP changed the post subject to [CLOSED] shortly after suggesting converting to a gif, I am guessing that any potential image corruption (or otherwise ) was overcome by the conversion and usage of a gif.
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004