Razzak,
Added "EMBED_USED_FONTS ON" to the V9 EEP. The PDF report created is 15 pages 
(it is big), readable by R:Base PDF viewer and Adobe Reader. The file is 1,250K 
compared to a 65K file without "EMBED_USED_FONTS ON". A one page report w/ 
Embed is 800K compared to 20K w/o. There will eventually be thousands of these 
files. I am going to try other fonts for the checkboxes to see if that changes 
anything or simply replace the checkboxes with something else like a text "X" 
with a border. Adobe reads the non-Embed R:Base created PDF just fine. What 
changed between V8 and V9? V8 does this with no problem. 

How do I keep Adobe Reader from firing up in the background whenever PDF viewer 
loads a PDF file? 

Tom Frederick
President/CEO
Elm City Center
1314 W Walnut
Jacksonville, IL  62650
W- 217-245-9504
F - 217-245-2350
E - [email protected]

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Tom Frederick
Sent: Tuesday, June 29, 2010 8:37 AM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Re: PDF Viewer

Razzak,
I am working on the Checkbox/PDF viewer issue. I had stopped using the 
"EMBED_USED_FONTS ON" previously because it really built up the size of the 
PDF. Time to try again. I have a small sample of what I did coming to you 
through R:DCC. 

Tom Frederick
President/CEO
Elm City Center
1314 W Walnut
Jacksonville, IL  62650
W- 217-245-9504
F - 217-245-2350
E - [email protected]

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of A. Razzak Memon
Sent: Monday, June 28, 2010 10:54 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Re: PDF Viewer

Tom,

If you have not done further research, nor submitted any sample
to RBG9 R:DCC, or have not played with suggested routine in my
previous reply, you may need to add the "EMBED_USED_FONTS ON"
option.

It seems that the enhanced PDF Viewer Control in R:BASE eXtreme
9.0 requires the inclusion of fonts in PDF report to display all
CheckBox controls accordingly. While we take care of the backward
compatibility, try the following code and see what result you get
when viewing the PDF report with CheckBox in PDF Viewer.

Example:

-- Start here
CONNECT dbname
SET VAR vChkFile = (CHKFILE('PDF'))
IF vChkFile <> 1 THEN
    MD PDF
ENDIF
    CLS
    PRINT reportname +
    OPTION PDF +
    |FILENAME PDF\reportname.PDF +
    |SUBJECT report subject here ... +
    |TITLE report title here ... +
    |AUTHOR report author here ... +
    |KEYWORDS report keywords here ... +
    |EMBED_USED_FONTS ON +
    |OPEN OFF
LABEL Done
CLEAR VARIABLE vChkFile
RETURN
-- End here

Very Best R:egards,

Razzak.


Reply via email to