Android Question Android 11 - Create and Save pdf

Angelo Maradini

Member
Licensed User
Longtime User
I'm not able to create, save and open a pdf file with Android 11
I used PDFWritere until Android 10, but it doesn't work anymore.
someone could help me, please?
 

DonManfred

Expert
Licensed User
Longtime User
Do we need to guess the error?
 
Upvote 0

Star-Dust

Expert
Licensed User
Longtime User
Have you tried using GetSafeDirDefaultExternal?

I have attached an example to you
 

Attachments

  • PDFprinter.zip
    9.8 KB · Views: 519
Upvote 0

edgar_ortiz

Active Member
Licensed User
Longtime User
Have you tried using GetSafeDirDefaultExternal?

I have attached an example to you

Hi,

Thanks for the example, it works great.

Now I have doubts:
- How do I calculate / justify the text across the width of the page?
- How do I calculate the number of lines that can be written on the sheet (taking into account that there may be different "fonts")?
 
Upvote 0
Top