List All Printers installed(Parallel/NIC/USB)

view full story

http://www.linuxquestions.org – Hi, My first post here. Please help me write a shell script to list all the names of the printers installed on my ubuntu system. I want to issue print commands to all of them using lp, lpr or something. Im a newbie to Linux/Ubuntu. Is there any command Line tool already available? Basically i need to test multiple printers at the same time so i will have some usb printers and parallel printers all connected at the same time and test print them by simply running the shell script. Any help is good. I am a newbie to Linux/UBUNTU Thankyou. (HowTos)