Printing on Linux goes through CUPS, which provides two command families: System V style (lp, lpstat, cancel) and BSD style (lpr, lpq, lprm). Both talk to the same print system; use whichever you prefer. CUPS also has a web interface at http://localhost:631.