How is it possible to get Linux (Knoppix 3.6 from Live CD) to display all the parrallel and serial ports that it has detected?

I have a printer on parrallel port COM 2 in windows. When I try to set up printer in Linux, it does not detected the parrallel port.
When I tried dev/stty01, it says that this is an invalid port. I want to set up a printer. I have tried kaddprinterwizard and http://localhost:631. Neither of them have work.

What is a command that I can use to display the ports that linux can detect?