-var Syntax -var <name>=<value> Description Specifies a variable and its value. These values will be sent to the StreamServer application as HTTP header values. Comment Optional. To fetch the value of the variable, use the following scripting command: $servervariable =gethttpheadervalue("valuename"); It is recommended that you fetch the variable before the first Event. Example -var lang=eng The variable lang is given the value eng. -var "test=print on \"pcl\"" The variable test is given the value print on "pcl". Example of how to fetch the variable: $language=gethttpheadervalue("lang");
-var <name>=<value>
$servervariable =gethttpheadervalue("valuename");
-var lang=eng
-var "test=print on \"pcl\""
$language=gethttpheadervalue("lang");