How do I print a PostScript document to a printer under Linux from the command line?
You need to use the lpr command. If the file is of the PostScript type then you can execute the following command: lpr foo.ps where foo.ps the the file you want to print. The file would go to the default printer. If you wanted to print to a non-default printer bar then execute the following command: lpr -Pbar foo.