FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour PDF EN RPREVIEW
Posts: 117
Joined: Sun Oct 08, 2017 12:51 PM
PDF EN RPREVIEW
Posted: Wed Aug 09, 2023 10:33 PM

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 !

Pedro L. Lavallen

San Luis (Capital), Argentina
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: PDF EN RPREVIEW
Posted: Thu Aug 10, 2023 07:08 AM

Estimado Pedro,

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

saludos

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1344
Joined: Wed Nov 16, 2005 09:14 PM
Re: PDF EN RPREVIEW
Posted: Thu Aug 10, 2023 02:01 PM

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.

Posts: 1956
Joined: Fri Oct 07, 2005 07:08 PM
Re: PDF EN RPREVIEW
Posted: Sat Aug 12, 2023 04:21 PM

hay ejemplos de como utilizar una generacion de PDF? para usar directamente las funciones nativas de FW?

FWH 21.02
Harbour 3.2.0dev (r2104281802)
Copyright (c) 1999-2021, https://harbour.github.io/
Posts: 8523
Joined: Tue Dec 20, 2005 07:36 PM
Re: PDF EN RPREVIEW
Posted: Sat Aug 12, 2023 05:04 PM
Jo茫o Santos - S茫o Paulo - Brasil - Phone: +55(11)95150-7341
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: PDF EN RPREVIEW
Posted: Sat Aug 12, 2023 08:05 PM
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
Regards



G. N. Rao.

Hyderabad, India
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: PDF EN RPREVIEW
Posted: Sat Aug 12, 2023 08:15 PM
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.
Regards



G. N. Rao.

Hyderabad, India
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: PDF EN RPREVIEW
Posted: Sat Aug 12, 2023 08:19 PM
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.
Regards



G. N. Rao.

Hyderabad, India
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: PDF EN RPREVIEW
Posted: Sat Aug 12, 2023 08:26 PM

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.

Regards



G. N. Rao.

Hyderabad, India
Posts: 1956
Joined: Fri Oct 07, 2005 07:08 PM
Re: PDF EN RPREVIEW
Posted: Sun Aug 13, 2023 07:20 AM

Hi!

And with harbour native? i can make pdf?

FWH 21.02
Harbour 3.2.0dev (r2104281802)
Copyright (c) 1999-2021, https://harbour.github.io/
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: PDF EN RPREVIEW
Posted: Sun Aug 13, 2023 12:08 PM
goosfancito wrote:Hi!

And with harbour native? i can make pdf?
Do you mean without using FWH?
Regards



G. N. Rao.

Hyderabad, India
Posts: 8523
Joined: Tue Dec 20, 2005 07:36 PM
Re: PDF EN RPREVIEW
Posted: Sun Aug 13, 2023 04:13 PM
goosfancito wrote:Hi!

And with harbour native? i can make pdf?
Tal vez,

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

Regards, saludos.
Jo茫o Santos - S茫o Paulo - Brasil - Phone: +55(11)95150-7341
Posts: 117
Joined: Sun Oct 08, 2017 12:51 PM
Re: PDF EN RPREVIEW
Posted: Mon Aug 28, 2023 06:48 PM

Gracias a todos !

Con la versi贸n de FWH 23.12 funcion贸 correctamente.

Pedro L. Lavallen

San Luis (Capital), Argentina

Continue the discussion