Rearranged test code a bit. Now outputs the list of printers just fine.