This is the BSD printer spooler and associated utilities. You can use this for local and remote printers. . If you install magicfilter or apsfilter (along with ghostscript), lpr will be able to automatically handle special file types (such as Postscript and PDF files).