At 12:54 PM 1/9/2014, jan johansen wrote:
Rats. I have to really think about how to do that because that is passing a set of parameters in the PHP. I was hoping for a PROPERTY reportname EMBED_FONT TRUE
There is no such thing as "PROPERTY reportname EMBED_FONT TRUE". Embedded fonts are only valuable when printing a report to a file, such as PDF, RTF, etc. Thus, the OPTION EMBED_USED_FONTS ON. Did you know that you can use the actual command file "as is", using the latest version and build of R:WebReports 9.5, in combination with PHP, or Node.js? Very Best R:egards, Razzak
-----Original Message----- From: "A. Razzak Memon" <[email protected]> To: [email protected] (RBASE-L Mailing List) Date: Thu, 09 Jan 2014 12:33:53 -0500 Subject: [RBASE-L] - Re: embed fonts At 12:23 PM 1/9/2014, jan johansen wrote: >Brain cramp. > >I need to embed fonts in a report. Because this report is used >for R:WebReports and our website, I can't give the "embed fonts" >in the PRINT statement, so I'm thinking it would need to be in >the ON-BEFORE-GENERATE EEP of the report but am stumped on syntax. Jan, Here's an example to create PDF report with embedded fonts using R:WebReports 9.5. -- Example PRINT ReportName WHERE whereclause ORDER BY clause + OPTION PDF + |FILENAME filename.PDF + |SHOW_CANCEL_DIALOG OFF + |TITLE your report title here + |SUBJECT your report subject here + |AUTHOR author information here + |KEYWORDS report key works here + |EMBED_USED_FONTS ON + |OPEN OFF RETURN Hope that helps! Very Best R:egards, Razzak. <http://www.rbase.com>www.rbase.com www.facebook.com/rbase -- 31 years of continuous innovation! 16 Years of R:BASE Technologies, Inc. making R:BASE what it is today! --

