User Guide
34 iPrint Administration Guide
iPrint Administration Guide
103-000136-001
August 31, 2001
Novell Confidential
Manual 99a38 July 17, 2001
Internet Explorer Browser Customization
“HTML Script Example” on page 34
“HTML Code Example” on page 35
HTML Script Example
The ExecuteRequest() operation simplifies HTML coding when working with
Internet Explorer. It lets you pass/get information from the iPrint without
having to reload a Web page.
A result type called object is implemented and should be used only in
conjunction with ExecuteRequest(). You can use ExecuteRequest and have it
return results via HTML, URL, message box, or cookie. All data can be passed
via the ExecuteRequest() second parameter. The first parameter is the
operation. Both of the parameters are strings.
Syntax:
variable=variable.ExecuteRequest("operation_string",additional_operation
strings);
<object ID=iPrintAccess classid=clsid:36723f97-7aa0-11d4-
8919-ff2d71d0d32c>
</object>
<script Language="javascript1.1">
var pStatus;
var params;
params = "printer-url=" + printerNameHere + "&result-
type=object"
pStatus=iPrintAccess.ExecuteRequest("op-printer-get-status",
params);
alert(pStatus);
</script>