Page 1 of 1

PDF EN RPREVIEW

PostPosted: Wed Aug 09, 2023 10:33 pm
by pedroluis
Hola gente !
Un problemita...
Tengo el FWH 22.12
Cuando hago un listado y pulso el icono para generar PDFs me dice que lo genera, pero cuando quiero visualizarlo no me aparece nada.
Con la versión 17.09 me funcionaba perfecto.
¿ Hay algo nuevo en la versión 22.12, que tengo que agregar para que funcione el botón PDF del rpreview ?
Muchas Gracias !

Re: PDF EN RPREVIEW

PostPosted: Thu Aug 10, 2023 7:08 am
by Antonio Linares
Estimado Pedro,

Te enviamos la versión más reciente FWH 23.07 para que pruebes si te funciona correctamente

saludos

Re: PDF EN RPREVIEW

PostPosted: Thu Aug 10, 2023 2:01 pm
by cmsoft
Aprovecho el hilo para comentar que con la nueva clase estoy generando PDF con la clase PRINT y PREVIEW y seteo para que genere los PDF con harupdf
La calidad del pdf es mucho mejor
Con el PDF obtenido tengo 2 consultas
1) Poder mantener la tipografía elegida, no me respeta exactamente la misma letra
2) El pdf generado se ve perfectamente en windows, pero si lo paso por Whatsapp no lo reconoce como un PDF válido
Agradezco cualquier comentario

Edito:
Lo de la tipografía encontre mi error.

Re: PDF EN RPREVIEW

PostPosted: Sat Aug 12, 2023 4:21 pm
by goosfancito
hay ejemplos de como utilizar una generacion de PDF? para usar directamente las funciones nativas de FW?

Re: PDF EN RPREVIEW

PostPosted: Sat Aug 12, 2023 5:04 pm
by karinha

Re: PDF EN RPREVIEW

PostPosted: Sat Aug 12, 2023 8:05 pm
by nageswaragunupudi
https://forums.fivetechsupport.com/viewtopic.php?f=3&t=37046&hilit=SAYTEXT&start=45

These posting were more than a decade old.
We have come a long long way after that.
Please provide latest information

Re: PDF EN RPREVIEW

PostPosted: Sat Aug 12, 2023 8:15 pm
by nageswaragunupudi
pedroluis wrote:Hola gente !
Un problemita...
Tengo el FWH 22.12
Cuando hago un listado y pulso el icono para generar PDFs me dice que lo genera, pero cuando quiero visualizarlo no me aparece nada.
Con la versión 17.09 me funcionaba perfecto.
¿ Hay algo nuevo en la versión 22.12, que tengo que agregar para que funcione el botón PDF del rpreview ?
Muchas Gracias !

I have tried many samples at my end.
I also keep generating pdfs in my own personal applications.
I have not so far found any problems.
I did a lot of tests with FWH2212 also and all seem to be ok.
Anyway, if you can throw some more light on the problems you are facing, we are always here to support you.

Re: PDF EN RPREVIEW

PostPosted: Sat Aug 12, 2023 8:19 pm
by nageswaragunupudi
1) Poder mantener la tipografía elegida, no me respeta exactamente la misma letra

May we know which font types are you facing these issues?

2) El pdf generado se ve perfectamente en windows, pero si lo paso por Whatsapp no lo reconoce como un PDF válido

I am sending pdfs generated using HaruPdf over WhatsApp without any issues.
If you let me know your WhatsApp number to my email "nageswaragunupudi" [at] gmail [dot] com. we will try to exchange a few pdfs and try to figure out the issues and then sees solutions for the same.

Re: PDF EN RPREVIEW

PostPosted: Sat Aug 12, 2023 8:26 pm
by nageswaragunupudi
I request you to build and run
fwh\samples\pdfharu1.prg

This is a complex pdf.

You will see options for generating PDFs using (1) Harupdf, (2) MSWord pdf (3) Image2pdf (3rd party library-once very famous) or (4) FWH internal library

Also you have choice to
(1) First show preview and save as pdf using pdf button
OR
(2) Directly save as pdf without showing preview.
Please check all the options and compare the generated pdfs.

Also you will notice the capabilities of harupdf, where you can click on the photo to go to a website

You will interestingly notice some capabilities and limitations of these different approaches. It is important for you to know them.

You can also notice any difference in the fonts. Kindly report to us.

Re: PDF EN RPREVIEW

PostPosted: Sun Aug 13, 2023 7:20 am
by goosfancito
Hi!

And with harbour native? i can make pdf?

Re: PDF EN RPREVIEW

PostPosted: Sun Aug 13, 2023 12:08 pm
by nageswaragunupudi
goosfancito wrote:Hi!

And with harbour native? i can make pdf?

Do you mean without using FWH?

Re: PDF EN RPREVIEW

PostPosted: Sun Aug 13, 2023 4:13 pm
by karinha
goosfancito wrote:Hi!

And with harbour native? i can make pdf?


Tal vez,

https://github.com/harbour/core/tree/master/contrib/hbhpdf

Regards, saludos.

Re: PDF EN RPREVIEW

PostPosted: Mon Aug 28, 2023 6:48 pm
by pedroluis
Gracias a todos !
Con la versión de FWH 23.12 funcionó correctamente.