I need to pass the name of the printer selected from the -pq command line option to 3 separate outputs. @pr holds the printer name selected. I tried the following but the value is blank Pt= "\""{@pr"\"" I need the quotes around the printer name as it can be more HP LaserJet 4000. What am I doing wrong? Richard Kreiss