iOS Question Print PDF Created

Yvon Steinthal

Active Member
Licensed User
Hello,

Okay, so far i've succesfully created a pdf with information from my app.
However i'd like to send it directly to the printer with a push of a button.
I've been trying to use DocumentInteraction, however i do not see the print option, only Notes, Copy to ibooks and copy to chrome...

My question is,
Do i have to add the Print Activity to the document interaction window?
If not, how can i do such a thing?

Here's what i do...

B4X:
di.Initialize("di",File.DirDocuments,"printtest.pdf")
di.OpenFile(btnPrint)
 
D

Deleted member 103

Guest
Call di.PreviewFile. It will show the PDF file and will allow the user to print it.
Incredible!
I didn't know this function, you never stop learning. :)
 
Upvote 0
Top