...

View Full Version : Help! printing issuses in kiosk mode.



yos
10-07-2012, 09:05 AM
Hi,
in my site that works on an information kiosk i have a printing option (silent printing, kiosk mode),
the thing is the printing takes some time and pepole keep pressing the print button and jaming the printer,
how can i make a pop-up when they print that will stay open for like 20 seconds
and simpley says "please wait for your print...).
thanks alot in advance.

vwphillips
10-07-2012, 09:59 AM
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>
<title></title>
<style type="text/css">
/*<![CDATA[*/
#pop {
position:absolute;visibility:hidden;left:100px;top:100px;height:100px;width:200px;background-Color:red;
}

/*]]>*/
</style><script type="text/javascript">
/*<![CDATA[*/

function Print(){
var obj=document.getElementById('pop');
if (obj.style.visibility!='visible'){
obj.style.visibility='visible';
// call the print function here
setTimeout(function(){ obj.style.visibility='hidden'; },20000);
}
}
/*]]>*/
</script></head>

<body>
<input type="button" name="" value="Print" onmouseup="Print();" />

<div id="pop" ></div>
</body>

</html>



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum