Printer Implementation
Variable
remove()
finished()
error()
stateChanged()
Example Usage of the global.printer Object
The following HTML document contains an example of global.printer usage.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
Cisco Interactive Experience Client 4600 Series User Guide
B-6
<html>
<head>
<title>..:: global.printer test ::..</title>
<meta http􀀀equiv="Content-Type" content="text/html; charset=utf-8">
<style>
body
{
margin: 20px;
background􀀀color: #000000;
color: #eeeeee;
font􀀀weight: bold;
font􀀀family: Arial;
font􀀀size: 20px;
color: #eeeeee;
}
</style>
<script type="text/javascript">
var pageNumber;
function onFinished(ok)
{
document.getElementById("jobState").innerHTML = ok ? "Successfully" :
"Unsuccessfully";
}
function onPagePrinted(number)
{
pageNumber.innerHTML = number;
}
function init()
{
document.getElementById("name").innerHTML = global.printer.name;
document.getElementById("resolution").innerHTML = global.printer.resolution;
Description
Instructs the browser to remove job object. Information about all
processed and finished jobs are kept in memory. If application uses
printing extensively, it may be necessary to free resources associated
with finished jobs manually using this method. Job object should never
be used after the call of this method.
Returns when the job is finished processing regardless if it was
successful or not
Returns when error related to the job occurs
Returns every time job state changes
Appendix B
Printers
Need help?
Do you have a question about the Interactive Experience Client 4600 Series and is the answer not in the manual?
Questions and answers