Volk65 Posted July 18, 2018 Share Posted July 18, 2018 Hi, everybody. I saved the jpg file from DB to Local cache (server side). File exists.How can I print (or preview and print) this file now? Quote Link to comment Share on other sites More sharing options...
rencarnacion Posted July 18, 2018 Share Posted July 18, 2018 HTML will help you Quote Link to comment Share on other sites More sharing options...
Volk65 Posted July 18, 2018 Author Share Posted July 18, 2018 Good. I uploaded the image to the UniURLFrame. I can see it, but how to print it?Or need another component to use? Quote Link to comment Share on other sites More sharing options...
donlego Posted July 19, 2018 Share Posted July 19, 2018 procedure TFrmMain.BUTTON_TAB_CETAK(Sender: TObject);var x: TUniURLFrame;begin x := TUniURLFrame(FrmMain.NavPage.ActivePage.FindComponent ((Sender as TUniButton).hint)); x.JSInterface.JSCode ('Ext.defer(function(){'#1'.iframe.contentWindow.print()}, 100);');end; Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.