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. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you need access to myibi, contact us at firstname.lastname@example.org and provide your corporate email address, company, and name.
I have a company logo in the header of a pdf report but it is gone from the reportcaster output(pdf). Does anyone know how to distribute report with company logo through reportcaster? Thanks.This message has been edited. Last edited by: Kerry,
Posts: 18 | Location: Canada | Registered: October 24, 2006
This is the way we have handled it. I don't know if using the URL or HTTP reference works when creating a PDF report. If Pat says it does, that's probably right. In any case our approach is to define a variable equal to the actual name of the image:
DEFINE FILE WCLM LOGONAM/A50 = IF ISP_ID EQ 'WCF' THEN 'WCF1' ELSE IF ISP_ID EQ 'ADV' OR 'UA' THEN 'AWC1' ELSE IF ISP_ID EQ 'SCS' THEN 'scslogo' ELSE IF ISP_ID EQ 'WCNW' THEN 'WCN1' ELSE 'NOP'; END
This variable must be in the verb phrase so that it gets into the internal matrix:
Using a fieldname rather than an actual image name requires the parentheses.
All of these images are exactly the same size so their placement on the page is the same regardless of which image appears. Additionally, the images referenced (WCF1, AWC1, scslogo, WCN1 and NOP) must be somewhere in the server path.
In FOCUS since 1991 WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex WF Client: 77 on Linux w/Tomcat
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007