[FREE] Create PDF file Extension. Layout to PDF

It looks loke you are trying to add a complete screen... use the AddPage method only with arrangements, see also Create Build Crear App Inventor Extensiones Extensions Crear PDF. Leer PDF.

Taifun

1 Like

Hi!
I have tried different ways including kio410 to print pdf that is created from layout but the problem is I have android 11 and I can't find pdf file to use pdf reader to print it or print directly! I want an extension or a way to convert ASD to ByteArry or if you know how to do it!

If you are using the 10 blocks then the pdf will be in your ASD. You will need to copy/move it to Shared Storage for access by other apps.

You can use the SAF extension to convert a file to a byte Array.

Yes I did it with SAF ReadAsByteArry and saved the file to Document in my Ipad but when I try to open it to read or print then that's the problem (file damaged) he says! but when I use kio4 (create 10, apppage10, finish10 then Read then it works but I can neither find the file in my device nor print it!

The file will be in your ASD, you will need to use your app (File component) to find it:

storage/emulated/0/Android/data/packageName/files/...

If there is an issue with the SAF extension, then report it in the SAF extension topic.

yes but after I use file component how should I find the PDF file to print it?? can explain steps after Read kio10 how and which block function on file component should be used