alp.yilmaz Posted May 18, 2017 Share Posted May 18, 2017 Merhaba Arkadaşlar UniUrlFrame Nesnesi içerisinde Bulunan HTML Kodunu Yazıcıya Göndermek istiyorum. Başaramadım. Form da Bulduğum Kod Düzgün Çalışmıyor. Bu Kodu Çalıştırabilen arkadaş varmıdır. Teşekkür Ederim. In the Form.Script:function zPrint(oTgt){oTgt.focus();oTgt.print();}function printIframe(id){var iframe = id;var ifWin = iframe.contentWindow || iframe; // the changezPrint(ifWin);return false;}In the button.ExtEvents.OnClick:function OnClick(sender, e){var frm = UniFormShowLink.UniURL1.iframe;if (frm) {printIframe(frm);}} Quote Link to comment Share on other sites More sharing options...
alp.yilmaz Posted May 18, 2017 Author Share Posted May 18, 2017 Arkadaşlar Çalıştı Yaptığım Hatayı Fark Ettim.. function OnClick(sender, e){var frm = UniFormShowLink.UniURL1.iframe; // Renk Yazdığım Yerdeki Kırmızı Sizin Formunuz Adı Olacak , Yeşil Kısımda uniURLFrame me Verdiğiniz isim Olacak.if (frm) {printIframe(frm);}} 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.