Usage of the output environment variables

 

1. Creating the necessary environment variables:
Right click on My Computer, select Properties. Select the Advanced tab on the System Properties dialog and click on the Environment Variables button. Go to the Properties Variables and add the variables in both of parts of the window (User and System). You must create the variables in both the User variables and the system variables. You can create system variables only if you are logged in as Administrator (simple users usually don't have rights for this).

Comments:
- The administrator cannot create user variables for the users, so they must be created by the users separately. Only the user can create the necessary user variables for themselves.
- Before using the new variables, the system must be refreshed. Citrix sessions will see and use the new variables only after the users log in again or the console restarts. After every variable changing, it is recommended to reboot the computer to make the variables more quickly available.
- If you want to be sure that the variables will work correctly, you should check the variables of the computer before you start to use them in the printer drivers. You can do this from the command line with the SET command (for example "c:\>set VARIABLE" without any " and % marks). Checking the variable value is particularly important if the variable value contains another variable or variables (with the %variable% format), because, for example, the %variable% maybe only add the correct value after a system reboot or refresh. Before a refresh, it is possible that the variable will add only the "%variable%" string instead of substituting the correct value.
- When you want to use a network folder or directory structure, the status of the connection must be checked before usage of the network folder path.


2. Install the Black Ice Printer driver.
In the output directory field of the printer driver interface, add in the variable between the "<<" and ">>". If the variables are already working on the system this will add the correct path to the printing output. If you open the printing preferences of the printer you will see the output directory (that is to say the variables value), not the name of the variable.

Comments:
- If the variable doesn't work or the printer driver can't find the variable, the system temp directory will be set for the output folder for the generated files. Using the output filename application is a good way to check the output directory. The release printer driver owners can find the output filename sample in the RTK that they received from Black Ice.
- If you install the driver for a server environment (as Administrator to a Terminal Server or Citrix Server), it may be helpful if you set the default settings of the printer Printers folder by right clicking driver. You can do this in the Printers>Printing defaults>Advanced>Click on the Black Ice Printer Driver, select Properties. If the Administrator sets a variable (<<variable>>) in this dialog, the users will automatically see the correct output directory when they log in for the first time after the installation of the printer driver.