LOCAL oListener
oListener = CREATEOBJECT('ReportListener')
DO (_REPORTOUTPUT) WITH 3, oListener
REPORT FORM rticket_contado.frx OBJECT oListener
oListener.OutputPage(1, "c:\pdfs\imagen.jpg", 102)
Release oListener
con este codigo genero un pdf, y lo almaceno, ese mismo pdf,
como lo guardo en una tabla mysql.
gracias por su ayuda