Rao, Cristobal, Thank you for your interest. Already solved. Incompatibility in xHarbour's AnsiToWide function: In PRV2PDF, the Emf2Jpeg () function is invoked, which in turn calls GDIPLUSEMFTOJPG as follows: GDIPLUSEMFTOJPG (cBuf, Len (cBuf), AnsiToWide (cJpeg), ...
Willi, gracias por tu interés. Ya lo solucioné. Incompatibilidad en la function AnsiToWide de xXarbour: En PRV2PDF se invoca la función Emf2Jpeg() la cual a su vez hace un llamado a GDIPLUSEMFTOJPG de la siguiente manera: GDIPLUSEMFTOJPG( cBuf, Len( cBuf ), AnsiToWide( ...
... that the resulting PDFs weigh too much. To avoid using HaruPDF or MsWord I make the following changes; a.- Disable "#define USEGDI" in PRV2PDF.PRG and change CLASSDATA bSaveAsPDF INIT {| Self | :: SaveAs (.t.)} by CLASSDATA bSaveAsPDF INIT {| Self | FWSavePreviewToPDF ...
... INIT { |Self| ::SaveAs( .t. ) } por CLASSDATA bSaveAsPDF INIT { |Self|FWSavePreviewToPDF( Self ) } y en PRV2PDF.PRG desactivo (comento) la línea #define USEGDI Con estas chapuceras me genera bien el pdf pero con un peso GIGANTE, y no aprovecho la compresión ...
... To print directly to pdf I use Tharupdf code to build printer job. For Preview, i use Standard code from fivewin . I have a small modification in prv2pdf.prg code to determine Quality and density in images in pdf files ( use gdiplus code ) function FWSavePreviewToPDF( oDevice, cPDF, lOpen, ...
... To print directly to pdf I use Tharupdf code to build printer job. For Preview, i use Standard code from fivewin . I have a small modification in prv2pdf.prg code to determine Quality and density in images in pdf files ( use gdiplus code ) function FWSavePreviewToPDF( oDevice, cPDF, lOpen, ...