Page 1 of 1
Is there way to print?
Posted: Sat May 10, 2014 4:30 am
by stevec
Specifically, I would like ability to print the pdf I am showing in set_webview.
Re: Is there way to print?
Posted: Mon May 12, 2014 10:53 am
by Paul
If the Web View is set to display the navigation tool bar, this will present a print option on the tool bar.
Example:
Code: Select all
#Com_Owner.Set_WebView Name(PDFVIEWER) Layout_Col(1) Layout_Row(7) Url(#PDFFile) Show_Navigation(True)
General Note about PDF files:
Android devices cannot display .pdf files in a webview, but if a pdf viewer is installed they can download them and the file can then be displayed by the PDF viewer. See shipped RDMLX example LREX0056 (RPG example is EXAM0056) for a demonstration of handling PDF files on Android devices.
Re: Is there way to print?
Posted: Tue May 13, 2014 6:31 am
by stevec
Thanks that works great.
WiIl there be any headway coming on Android PDF viewing native within longrange?
We do not want the user to have to leave our app.
Re: Is there way to print?
Posted: Wed May 14, 2014 9:31 am
by tsupartono
Not at the moment, but we will put this into consideration.
Re: Is there way to print?
Posted: Fri Jul 19, 2019 11:31 pm
by stevec
Any android pdf advances yet?
Re: Is there way to print?
Posted: Tue Jul 23, 2019 11:12 am
by jasonzhou
PDF is still not supported by Android webview, so Android users need to use PDF viewer to view PDF.
Re: Is there way to print?
Posted: Wed Jul 24, 2019 4:48 am
by stevec
Is this something Lansa can enhance? This is a real downer for out customers with android devices signing documents (pdf's).
Re: Is there way to print?
Posted: Mon Jul 29, 2019 11:28 am
by jasonzhou
Sorry for the inconvenience. It's quite difficult to enhance the system webview to have PDF support. So a common way on Android system is to open pdf in another app.
Re: Is there way to print?
Posted: Wed Jul 31, 2019 7:23 am
by stevec
we are signing legal documents. Because you can't make this happen on android (like iphone) we are forced to give customer message that it is not supporeted on android and sign a blank page ...
Can you enhance this to make it work?
Re: Is there way to print?
Posted: Wed Jul 31, 2019 10:03 am
by jasonzhou
Is the PDF document readable? If yes, probably you can try some third party services, like Google Docs api, to display an online PDF. It looks like
Code: Select all
http://drive.google.com/viewerng/viewer?embedded=true&url=YOUR PDF URL
Please do a research thoroughly see if there are any charges or usage limitations (like bandwidth limit). We make no guarantee for any issues related to 3rd party service.
Thanks