B.2 HTML Parameters

The following parameters can be used to enhance the iPrint HTML pages. They are used in the HTML files as PARAM NAME=parameter VALUE=identifier statements.

B.2.1 call-back-url

Targets the results from the onchange JavaScript function associated with selecting jobs from the job list. The JavaScript function causes the browser to reload the indicated control frame passing the list of selected jobs as a parameter.

Example:

PARAM NAME=call-back-url VALUE=CONTROL.HTM

B.2.2 debug

If set to True, displays message boxes with debug and profiling information.

Example:

PARAM NAME=debug VALUE=true

B.2.3 error-type

Determines how the plug-in reports errors associated with the requested operation. The plug-in has the ability to return the errors.

Option

Description

cookie

Puts the error information in a cookie.

html

Displays results as an HTML page generated by the plug-in.

msgBox

Displays results in a message box.

none

No response.

url

Passes the results as a URL parameter.

The plug-in defaults to the same reply mechanism that is specified in results-type if error-type is not specified.

Example:

PARAM NAME=error-type VALUE=html

B.2.4 file-path-name

Specifies a printer-ready file that can be passed to the plug-in for printing. This mechanism bypasses the print provider and the printer driver. The printer does not need to be installed on the workstation to use this operation.

Example:

PARAM NAME=file-path-name VALUE=directory path\filename

B.2.5 job-list

The plug-in can perform several operations on jobs. The job-list parameter is a comma-delimited string of job IDs that indicates which jobs to operate on. A job list with the job ID of -1 is equivalent to selecting all jobs

Example:

PARAM NAME=job-list VALUE=3,5,7

B.2.6 job-list-options

When the plug-in creates the HTML for job-list, it can add buttons to allow the user to hold, resume, delete, or display information for selected jobs. The job-list-options parameter specifies which of the following possible buttons to display and support:

Example:

PARAM NAME=job-list-options VALUE=op-job-hold,op-job-release-hold, op-job-cancel, op-job-get-info

B.2.7 printer-url

Indicates which printer the operation should be directed to.

Example:

PARAM NAME=printer-url VALUE=ipp://MyPrinter.com/ipp/Printer1

B.2.8 result-type

Determines how the plug-in reports the results of the requested operation. The plug-in has the ability to return the results in any of the following ways:

Option

Description

cookie

Puts the results in a cookie.

html

Displays results as an HTML page generated by the plug-in.

msgBox

Displays results in a message box.

none

No response.

url

Passes the results as a URL parameter.

The plug-in defaults to none if results-type is not specified.

Example:

PARAM NAME=result-type VALUE=html

B.2.9 target-frame

Specifies the name of the frame to put the results or error information into. If the operation results type is url, the target frame is the one reloaded with the indicated URL.

Example:

PARAM NAME=target-frame VALUE=FrameName