Search found 139 matches: fwsavepreviewtopdf

Return to advanced search

Re: Problem with FiveWin and PDF995 on Windows 11.

... 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 ...
by nageswaragunupudi
Tue Feb 13, 2024 1:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with FiveWin and PDF995 on Windows 11.
Replies: 29
Views: 1196

Problem with FiveWin and PDF995 on Windows 11.

... 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,
by byron.hopp
Tue Feb 13, 2024 12:13 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with FiveWin and PDF995 on Windows 11.
Replies: 29
Views: 1196

Generar PDF desde TPrinter.

... 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 ...
by FiveWiDi
Sat Feb 11, 2023 12:24 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Generar PDF desde TPrinter.
Replies: 2
Views: 257

Re: Problems with Preview

... 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, ...
by Silvio.Falconi
Wed Nov 09, 2022 9:51 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problems with Preview
Replies: 14
Views: 810

Re: PDF generado desde programa en FiveWin

... 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 ...
by nageswaragunupudi
Thu Feb 04, 2021 4:05 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: PDF generado desde programa en FiveWin
Replies: 21
Views: 5985

Re: Creating a silent file to .pdf

Rick Lipkin wrote:karinha

Where did this function come from .. is this your personal code ?

FWSavePreviewToPDF( oPrn, "Cartellino.pdf", .F. )

Rick Lipkin


No. It belongs to FiveWin. PRV2PDF.PRG

Regards, saludos.
by karinha
Tue Oct 06, 2020 1:29 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Creating a silent file to .pdf
Replies: 18
Views: 2190

Re: Creating a silent file to .pdf

karinha

Where did this function come from .. is this your personal code ?

FWSavePreviewToPDF( oPrn, "Cartellino.pdf", .F. )

Rick Lipkin
by Rick Lipkin
Tue Oct 06, 2020 12:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Creating a silent file to .pdf
Replies: 18
Views: 2190

Problem: image color using FWSavePreviewToPDF

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 ...
by shark
Wed Aug 12, 2020 5:04 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem: image color using FWSavePreviewToPDF
Replies: 0
Views: 316

Re: Help with PDF in FWH-19.09 please.

... 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 ...
by nageswaragunupudi
Tue Dec 03, 2019 11:10 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Help with PDF in FWH-19.09 please. - SOLVED
Replies: 3
Views: 1010

Sigo atorado con PDF - SOLUCIONADO

... 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 ...
by Cgallegoa
Tue Dec 03, 2019 12:00 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Sigo atorado con PDF - SOLUCIONADO
Replies: 0
Views: 313

Re: EasyReport Print To PDF File Without Dialog window ?

... 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
by Otto
Fri Mar 22, 2019 10:48 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: EasyReport Print To PDF File Without Dialog window ?
Replies: 20
Views: 3541

EMF - Enhanced meta file no se borran

... function PrintEnd() if oPrinter:lMeta if Empty( oPrinter:cFile ) oPrinter:Preview() elseif "pdf" $ Lower( oPrinter:cFile ) FWSavePreviewToPDF( oPrinter, If( Lower( cFileExt( oPrinter:cFile ) ) == "pdf", ; oPrinter:cFile, nil ), oPrinter:lPreview ) oPrinter:End() ...
by mterraz
Mon Aug 06, 2018 10:20 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: EMF - Enhanced meta file no se borran
Replies: 0
Views: 569

Re: PDF make Problem

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().
by nageswaragunupudi
Thu Aug 02, 2018 6:40 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: PDF make Problem
Replies: 5
Views: 730

PDF make Problem

I have a problem with function FwSAvePreviewToPdf()
The image it´s ok in preview, but, make PDF file and viewer it´s bad.

How to do?

Image
by shark
Thu Aug 02, 2018 4:54 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: PDF make Problem
Replies: 5
Views: 730

Preview and save to pdf at the same time

How to preview a report using tprinter and at the same time have a copy of it silently saved as a pdf in the background?

My experiment so far tends to have the exe just silently terminates. I was using FWH15.01 and FWSavePreviewToPdf()

TIA
by hua
Mon Jul 02, 2018 11:10 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Preview and save to pdf at the same time
Replies: 1
Views: 829
Next

Return to advanced search