system("lpstat -v -d -p -l -D >junk.txt"); open RI," }; # or however you load it. #### my $data = `lpstat -v -d -p -l -D`;