Jump to content
Thommy7571

pdfDoc

Recommended Posts

Hello,

After trying other pdf solutions, CHATGPT told me that there is a pdf library available which can be accessed from a Vcl library.

The data type should be TPDFDocument:. I did not know where I should place this question.

Since it seems to be part of VcL I ask here.

I passed one day trying all suggestions given by ChatGPT (TPDFDocument, AcroPDFLib_tlb, ..).

Nothing worked. Can anybody help me.

I want to create a PDF document, add images and close it at the end.

I only found commercial libraries with annual fees.

Or is finally the claim right of ChatGPT, that I need to repair my Delphi-Installation?

I just installed it and I don't believe ChatGPT concerning this.

 

Thanks for any help.

 

Thommy7571

 

PS: If the page is moved to another place please give me a message...

Share this post


Link to post

if you have FastReport then i would try to create a file with it. 

Share this post


Link to post

Hallo,

Thanks very much for this help.

I have not yet much

experience with such kind of using additional

code.

Could you give me a link to some examples

and explain how to use the files?

It is not a library as usual.

Share this post


Link to post

Hi,

 

if you need to get a working solution, you have to use a third party solution for creating a PDF. Why not use SynPDF  as suggested? Easy to use, they offer sample code (read their start page til the end!) and there is even a forum where you can ask.

Share this post


Link to post
On 3/16/2023 at 2:17 PM, Thommy7571 said:

ChatGPT

ChatGPT does not answer with Facts but with the thing that is most likely going to be the answer. Sometimes that's actually a fact, sometimes it just makes stuff up. I had ChatGPT make up library names that sounded good, with method signatures that fitted the requirements, but they did not exist. When pressed ChatGPT even made up github repositories.

This behaviour is more likely for Delphi than for example Javascript, because there was just not as much Delphi code in the training set.

Share this post


Link to post

I see, I remarked also this difference of Chat gPT in relation to the popularity of the programming languages. I already tried SynPDF? Can I add it as an additional program since it is no library?

 If there is a forum, I will ask there.

Share this post


Link to post
3 hours ago, Thommy7571 said:

I already tried SynPDF? Can I add it as an additional program since it is no library?

SynPDF is part of the mORMot framework.

But you can download it and use it as standalone library.

 

See https://synopse.info/forum/viewtopic.php?id=25

 

Forum is here https://synopse.info/forum/viewforum.php?id=1

Github https://github.com/synopse/SynPDF

 

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×