... How does FWH create PDFs? DEFAULT: if MS Word is installed on the PC, fwh uses MS Word to create PDF and if not uses its own internal function FWSavePreviewToPDF(). BEST OPTION is to use HaruPDF. Add these lines to your program: REQUEST FWHARUfunction Main() TPrinter():lUseHaruPDF ...
... printer but preview, then in preview press the Acrobat button, that PDF is correct. I looked through the rpreview.prg and found I believe it uses FWSavePreviewToPDF(), is this code around because it seems to work better the PDF995. Or is there a way to save to PDF from the printer commands. Thanks,
... páginas (irá creciendo poco a poco) desde Tprinter. La intención es hacerlo de manera automática sin usar el oPrinter:Preview(), directamente con FWSavePreviewToPDF( oPrinter, oPrinter:cFile, .T. ), pero pierde alguna página a veces sobre todo en el primer intento (es todo texto plano). Veo que ...
... the temp files because Rpreview saves the files starting with w and wmf or emf in a windows folder you can set the folder change the function FWSavePreviewToPDF( oPreview, cPDF, lOpen ) you found on Prev2Pdf.prg I use this function FWSavePreviewToPDF( oPreview, cPDF, lOpen ) local cOrient, ...
... decide if the pdf is to be generated using HaruPdf, Image2pdf, Microsoft word or as the last resort use the least efficient internal function FWSavePreviewToPDF() depending upon user preferences as well as the availability of MSWord on the system. So it is desirable to let the printer class ...
Print preview it´s ok using JPG image, but, in creating PDF using FWSavePreviewToPDF the image´s make in 16 color´s. how can i fix this? it´s a image on the fw preview https://acessosoft.com.br/images/imgok.png it´s a imagem on the PDF File ...
... need not change rpreview.prg like this as youd did. CLASSDATA bSaveAsPDF INIT {| Self | :: SaveAs (.t.)} by CLASSDATA bSaveAsPDF INIT {| Self | FWSavePreviewToPDF (Self)} Keep rpreview.prg without any changes and add this line of code in your application program at any place before the print ...
... volver a generalo y sale bien. La única forma (horrorosa) de evitar que aleatoriamente falle. es ponerle un ALERT() o MsgInfo() antes de invocar FWSavePreviewToPDF(). He probado de todo y no le doy al clavo. Ya ando un poquín desesperado, pues quedé estancado en este problema, y el asunto es ...
... I change the buttonbar from preview to show only the necessary buttons. I think it should be possible also with build in function. We need FWSavePreviewToPDF in vrd.prg. I will look into this on this weekend. Best regards Otto https://mybergland.com/FWForum/rechnung.jpg
May we know if you are using your own custom preview program? In that case, can you please use FWH preview program and test the output? It appears that you have Microsoft Word installed on the computer. FWH rpreview.prg uses Microsoft Word to save as PDF by default but not FWSavePreviewToPDF().