EasyManua.ls Logo

Lexmark C792 - Page 21

Lexmark C792
82 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Autoconfigure scripts can be triggered by several events. The event that triggers the script is determined by the name
of the script:
configureNewSolution.js—This is triggered when a solution is installed to the LDD system.
configureNewSolutionServer.js—This is triggered when a solution is first added to each LDD server in
the LDD system.
configureUpgradeSolution.js—This is triggered after an existing solution is upgraded in the LDD system.
configureUpgradeSolutionServer.js—This is triggered after a solution is upgraded on each server in
the LDD system.
configureRemoveSolution.js—This is triggered when a solution is removed from the LDD system.
configureRemoveSolutionServer.js—This is triggered when a solution is removed from each server in
the LDD system.
configureSolutionRestart.js—This is triggered when a solution is installed or upgraded, or a server is
restarted, in which case it is run for each solution.
To add an autoconfigure script to a workflow solution, create a script using the selected name in the scripts\ folder of
the workflow solution project.
Note: If a solution performs several actions using an autoconfigure script and you are deploying the solution directly
to an LDD system by exporting it from Eclipse, then you may need to increase the value of the Solution Export Wait
Time setting in the Lexmark preferences to allow enough time for deployment.
Using autoconfigure methods
All methods used for autoconfigure are members of the caller object, which is detailed in the Lexmark Document
Distributor Script Reference. These methods can also be used in a scheduled script in which the caller object is
assigned as follows:
var caller = context.getObject("autoconfigUtilities")
For an example of an autoconfigure script that uses several of the available methods, see the configureNewSolution.js
file in the TestMFP template in Eclipse. Additionally, the simplelog.js file in the scheduled\ folder of the TestMFP
template contains the preceding var statement and uses autoconfigure methods.
Configuring the home screen with autoconfigure
The method caller.setWelcomeScreen(groupName, solutionName, fileName) configures the
home screen for the specified solution in the specified group. The specified XML file, located in the src\solution
\welcomescreen\ folder, provides a description of the layout of the home screen.
The description of a home screen for an individual device class is specified using the element <welcomescreen
model="class">, where class is one of the following:
etask—eTask multifunction printers
sfp_etask—eTask singlefunction printers
etask2—eTask 2 multifunction printers
etask2+—eTask 2+ multifunction printers
sfp_etask2—eTask 2 singlefunction printers
etask3—eTask 3 multifunction printers
sfp_etask3—SFP eTask 3 singlefunction printers
Developing workflow solutions 21

Table of Contents

Other manuals for Lexmark C792

Related product manuals