Hello @mjunes,
Please, replace the content of the “HTML Content” field, that includes the definition of the printForm function, with the following piece of code:
<script>
window['printForm']=function(selector){function _cloneCanvas(newCanvas,oldCanvas){var context=newCanvas.getContext('2d');newCanvas.width=oldCanvas.width;newCanvas.height=oldCanvas.height;context.drawImage(oldCanvas,0,0);};function _getStyles(){var r='';$(document).find('link[type*="css"],style').each(function(){r+=this.outerHTML;});return r;};function _callPrint(w){if(w&&w["printMe"]) w["printMe"]();else setTimeout(function(){_callPrint(w);},50);};try{if(typeof jQuery!='undefined'){if(typeof selector!='undefined'){var $=jQuery,f=$(selector),c,e,h,t,w,d;if(f.length){c=f.clone();c.find('script').remove();c.find('input').each(function(){e=$(this);if(typeof e.prop('checked')!='undefined') e.attr('CHECKED',e.prop('checked'));e.attr('value',e.val());});h=c[0].outerHTML;c.find('TEXTAREA').each(function(){e=$(this);t=e.parent().html();h=h.replace(t,e.val());});c.find('SELECT').each(function(){e=$(this);t=e.parent().html();h=h.replace(t,f.find('#'+e.attr('id')+' option:selected').text());});w=window.open('about:blank','Print','scrollbars=yes');d=w.document;focus();d.open();d.write('<body>'+_getStyles()+h+'</body>'+'<oscriptc>function printMe(){focus();print();close();};<o/scriptc>'.replace(/<o/g,'<').replace(/c>/g,'>'));setTimeout(function(){$(d).find('canvas').each(function(i,e){_cloneCanvas(e,f.find('canvas:eq('+i+')')[0]);});d.close();_callPrint(w);},1000);}else{throw"Form's selector is incorrect";}}else{throw'Requires the selector';}}else{throw'Requires the jQuery framework';}}catch(err){if(typeof console!='undefined') console.log(err);}};
</script>
and that’s all.
Best regards.