Company Christmas Holidays
North American Headquarters in Miami, USA: Dec 25, 2015, Jan 1st 2016
European Headquarters in Muenster, Germany: Dec 21, 2015 until Jan 03rd 2016
Limited support is available during this period.
We at PROVISIO wish you Merry Christmas and a Happy New Year!


Automatic printout of a webpage

If you add the following script example (IE Engine) to the code of your webpage it will be printed automatically by accessing it.

It works without any user interaction if you configure SiteKiosk with “Print webpage as laid out on screen (without user interaction)” or “Automatically Print Largest Frame (without user interaction)” in the print settings of the configuration.

If you use the printer monitoring of SiteKiosk you also have to deactivate “User must confirm print jobs“ in the advanced settings of the printer monitoring.


window.external.InitScriptInterface();
function PrintExtWindow()
{
	if (gk_Window.SiteKioskWebBrowser.WebBrowser.ReadyState == 4)
	{
		gk_Window.SiteKioskWebBrowser.Print();
		gk_Window.Close();
		window.clearInterval(gi_Interval);
	}
}
var gk_Window = SiteKiosk.SiteKioskUI.CreateBrowserWindow();
gk_Window.SiteKioskWebBrowser.Navigate("your_webpage");
gk_Window.Move(0, 0, 0, 0);
window.setTimeout("gk_Window.Hide();", 1);
var gi_Interval = window.setInterval("PrintExtWindow();", 100);


Please consider that you have to give script permission to the URL resp. path of the html page you are using this script.

Send E-Mails

Using this example, you can send E-Mails through your own mail account.

 function sendMail() 
{ 
mymail = SiteKiosk.Email.CreateJob(0); 
mymail.POPServer = "pop.myserver.com"; 
mymail.POPPort = 110;
mymail.Username = "myusername"; 
mymail.Password = "mypassword"; 
mymail.SMTPServer = "mail.myserver.com"; 
mymail.SMTPPort = 25; 
mymail.Authentication = 2; // pop before smtp 
mymail.SetSender ("sender@server.com", "Sender name"); 
mymail.AddRecipient("recipient@server.com"); 
mymail.Subject = "subject"; 
mymail.PlainBody = "This is the content."; 
mymail.Send(0, false, true); 
} 
System requirements : SiteKiosk 5.00
Note : IE Engine