Running a Script in Print Rules You can specify a command that executes when a print rule is run using the substitution values shown in the Print rules substitution variables table. Print rules substitution variables Substitution variable Meaning %i