
Create user dened elds to store your variable data
If you want to use variable data, you need to create user dened elds to store your variable data. The user
dened eld can have any name. Use the following steps to create user dened elds:
1. Click Tools, and then Options.
2. Click Device Management, and then click the plus sign to expand Conguration, and then click User Dened.
3. Click New to create a new user dened eld.
4. On the Create User Dened Settings screen, in the Setting Name eld, enter a name.
For example: var_DefaultFrom or var_DefaultDisplayName.
TIP: By starting the variable data name with var_, it’s easier to nd and identify user dened elds in
HP Web Jetadmin.
5. Click OK
, and then repeat these steps for all the variable elds.
NOTE: Every user dened
eld uses a unique number in the HP Web Jetadmin database which is invisible to
users. If you delete a user dened eld and create a new user dened eld with the same name, another unique
number will be associated with the user dened eld. Therefore, you must create the user dened eld on one
HP Web Jetadmin server, export the user dened eld, and then import it on other HP Web Jetadmin servers.
Import the variable data into HP Web Jetadmin
Use the following steps to import variable data:
1. Create a CSV le
with the following syntax on the rst line:
IP Addr,Port,UserDefinedFieldName1,UserDefinedFieldName2
2. On the lines af
ter that, list the actual values. The Port option is always 1 for network-connected devices.
IP Addr,Port,var_DefaultFrom,var_DefaultDisplayName
NOTE: Instead of IP Addr, you can also use Mac Address or IP Hostname. For more information, see
Importing a Conguration from a File on page 172.
NOTE: HP Web Jetadmin stores the user dened values only in its own database. Nothing gets congured
on the device itself
.
3. In HP Web Jetadmin, right-click
Conguration and then select Congure Devices.
4. Select File
, and then Import, and then follow the wizard.
Create a template with variables
After identifying the variable conguration options and creating the corresponding user dened elds, create a
templ
ate and refer to the user dened eld as variable data by using one of the following conventions:
●
Variable data (a variable in a template always starts and ends with %% with the name of the variable in
between the star
ting and ending %% signs)
%%<custom variable>%% (where “<custom variable>” is the name of the user dened eld)
●
Variable data along with a combination of static content before or after the variable
<static value>%%<custom variable>%%<static value>
184 Chapter 3 Device Management ENWW
Comentários a estes Manuais