# on linux, and you might want to fork it off so it # dosn't block your program system("lpr -P lp0 mypsfile.ps"); # lp1, lp2, etc