About this task
Most print templates contain static information for the label
stored in template properties files. However, you can create properties
files using substitution variables. These properties files are stored
on the premises server, and the information contained within them
is retrieved when you submit a print job from the
Print, Verify, and Ship Reference User Interface. For
a list of substitution variables, see
Substitution variables for template properties files.
The
easiest way to create a new properties file is to modify one of the
existing files located in the following directory:
WAS_PROFILE_HOME\installedApps\PremisesNodeCell\IBM_WSE_PVS_Console.ear
WAS_PROFILE_HOME/installedApps/PremisesNodeCell/IBM_WSE_PVS_Console.ear
This is the default directory for your properties files unless
another directory is specified in the pvsapp.properties file.
Note: You
can change the location of these files by modifying the pvsapp.properties file,
which is located in the default properties file directory.
If you modify the
pvsapp.properties file,
you must stop and then restart either
WebSphere Application Server server
1 or the IBM_WSE_PVS_Console enterprise application from the
WebSphere Application Server administrative console. Use
the following steps to stop and restart the IBM_WSE_PVS_Console enterprise
application:
- Log on to the WebSphere Application Server administrative console.
- Click .
- Stop and restart IBM_WSE_PVS_Console.
Use the following steps to create properties files for
print templates:
What to do next
Note: You must restart
WebSphere Sensor Events each
time you make changes to these properties files.
To stop and restart the
WebSphere Sensor Events:
- Run WAS_HOME\bin\stopServer
server1 to stop.
- Run WAS_HOME\bin\startServer
server1 to start.
stopServer.bat and startServer.bat
stopServer.sh and startServer.sh
Important: When using a properties file in the Print, Verify, and Ship Reference User Interface that
contains non-English-language characters, be sure to run the J2SE
utility, native2ascii, against the properties file
to convert the non-English-language characters to their Unicode ASCII
equivalent. The properties files are required when adding print templates
to the WebSphere Sensor Events Administrative Console.