Android Question Convert/save text as PDF

vecino

Well-Known Member
Licensed User
Longtime User
Hi, I have a text with multiple lines, fonts, styles, etc. and I need to save it as PDF, is it possible?
Thank you very much.
 

Alexander Stolte

Expert
Licensed User
Longtime User
Upvote 1

vecino

Well-Known Member
Licensed User
Longtime User
Hello, thank you for your reply.
I have been looking at that PDF Generator and, I think, it is good for creating a pdf, but it is not good for converting/saving a text in pdf format.
 
Upvote 0

vecino

Well-Known Member
Licensed User
Longtime User
Hi, yes I have tested it, and I have been looking at the source code.
From what I see, it looks like and I think it is a pdf generator, but it is not what I asked.
I asked if there is any way to convert or save a text I already have to pdf format.
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
I asked if there is any way to convert or save a text I already have to pdf format.
no. Use any PDF-Creatorlibrary and build the page(s) yourself.
 
Upvote 0

vecino

Well-Known Member
Licensed User
Longtime User
Wow, I had hoped that there was already something that would do it automatically.
Thanks to all of you, folks.
 
Upvote 0

vecino

Well-Known Member
Licensed User
Longtime User
And not to lose all hope, if instead of text I use html, can the html be saved as pdf?
 
Upvote 0

Alexander Stolte

Expert
Licensed User
Longtime User
can the html be saved as pdf?
 
Upvote 1

vecino

Well-Known Member
Licensed User
Longtime User
Hi, right now I use the strings to include esc/pos commands for printers.
In another application I use stringbuilder for the same purpose.
A customer has asked us not to send directly to the printer, but wants everything to be saved in pdf format for an operator to check what should be printed or what not.
Then the pdfs that user has marked will be printed.
That is the idea. I don't know if it's a good idea, but it's what the customer has asked us to do.
 
Upvote 0
Top