Yvon Steinthal Active Member Licensed User Longtime User Feb 22, 2016 #1 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... Code: Copy di.Initialize("di",File.DirDocuments,"printtest.pdf") di.OpenFile(btnPrint)
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... Code: Copy di.Initialize("di",File.DirDocuments,"printtest.pdf") di.OpenFile(btnPrint)
Erel B4X founder Staff member Licensed User Longtime User Feb 23, 2016 #2 Download iPhone library v1.70: https://www.b4x.com/android/forum/threads/updates-to-internal-libraries.48179/page-3#post-404089 Call di.PreviewFile. It will show the PDF file and will allow the user to print it. Upvote 0
Download iPhone library v1.70: https://www.b4x.com/android/forum/threads/updates-to-internal-libraries.48179/page-3#post-404089 Call di.PreviewFile. It will show the PDF file and will allow the user to print it.
D Deleted member 103 Guest Feb 17, 2021 #3 Call di.PreviewFile. It will show the PDF file and will allow the user to print it. Click to expand... Incredible! I didn't know this function, you never stop learning. Upvote 0
Call di.PreviewFile. It will show the PDF file and will allow the user to print it. Click to expand... Incredible! I didn't know this function, you never stop learning.