I'm trying to take the logo from my company's web site and use it in the header of a PDF report. In the past, I've done this with HTML reports, but never PDF.
Can someone please tell me what I'm doing wrong that I get these two errors? (FOC3231) CANNOT OPEN AN HTTP CONNECTION (GRAPHSERVURL) (FOC3251) IMAGE FILE UNREADABLE OR INVALID:
I can get to the jpg file with a HTML report, but not a PDF.
-SET &ECHO=ALL;
SET ASNAMES = ON
DEFINE FILE SETID_TBL
EMAIL2/A500 WITH SETID_TBL.SETID= '';
END
TABLE FILE SETID_TBL
PRINT
EMAIL2 NOPRINT
ON TABLE SET PAGE-NUM OFF
ON TABLE SET STYLE *
TYPE=REPORT, GRID=OFF, $
TYPE=HEADING, IMAGE=https://www.companywebpage.com/logo_blue.jpg, POSITION=(0 0), SIZE=(11 8), $
ENDSTYLE
ON TABLE PCHOLD FORMAT PDF
END
This message has been edited. Last edited by: <Kathryn Henning>,
Production - 7.6.4 Sandbox - 7.6.4
September 25, 2015, 02:51 PM
Prarie
I don't think jpg is supported by PDF.
September 27, 2015, 06:11 PM
Waz
Images are added a different way for PDF, they must be in the app path, and just the name is specified.