This commands works fine for a dynamic RMC file:
SET VAR vcliente = (LJS(cliente,3)) FROM distribuidor WHERE
ruc_empresa=.vruc_empresa
SET VAR vfilename = ('iqr_'+.vcliente+'.rbc')
PLUGINS rcharts FILENAME &vfilename +
|save_to_jpg \temp\iqr_report.jpg +
|image_width 344 +
|image_height 444
SET VAR vimage = '\temp\Iqr_Report.jpg'
Maybe need the path for the jpg file?
Juan Otazú
From: [email protected] [mailto:[email protected]] On Behalf Of Bruce A.
Chitiea
Sent: martes, 10 de junio de 2014 02:05 p.m.
To: RBASE-L Mailing List
Subject: [RBASE-L] - RE: R:Chart-Plugin not creating JPG file for report
CLS
PRINT GraphAC +
Shouldnt that be PRINT GraphAC.jpg?
From: [email protected] [mailto:[email protected]] On Behalf Of Zeb Zbranek
Sent: Tuesday, June 10, 2014 7:46 AM
To: RBASE-L Mailing List
Subject: [RBASE-L] - R:Chart-Plugin not creating JPG file for report
I have the following command file and it is not creating a JPG. When I
created the JPG in R:Chart, it works beautifully in the report. I even ran
the command file, with the manually created JPG file and it worked. I have
reviewed the RRBYW18 program and the charts in that do not print either. I
have reviewed all the bulletins and tried everything I can to no avail. It
worked once, but I was never able to get it to repeat. What am I doing
wrong?
PLUGIN RCharts.RBL + (I have tried it with RBL and without, to no
avail)
FILENAME GraphAC.RBC +
|SAVE_TO_JPG GraphAC.jpg +
|IMAGE_WIDTH 1129 +
|IMAGE_HEIGHT 810
SET VAR vImage = 'GraphAC.jpg'
-- Print Report
CLS
PRINT GraphAC +
OPTION SCREEN|WINDOW_STATE MAXIMIZED +
|ZOOM_TYPE PERCENTAGE +
|ZOOMPERCENT 98 +
|PREVIEW_CAPTION Running R:BASE Your Way!
SET ERROR MESSAGE 2077 OFF
--DELETE GraphAC.jpg
SET ERROR MESSAGE 2077 ON
RETURN
Zeb Zbranek
Zbranek Firm, P.C.
1937 Trinity Street
Liberty, Texas 77575-2050
Telephone: 936-336-6454
Facsimile: 936-336-6039
The information contained in this message from Zbranek Firm, P.C. and any
attachments are confidential and intended only for the named recipients. If
you have received this message in error, you are prohibited from copying,
distributing or using the information. Please contact the sender immediately
by reply e-mail and delete the original message.