Here is an example that can print current figure to a eps file with DPI=300 .
print(gcf, '-depsc','-r300', figname);
"gcf" means the current figure. "-depsc" means save as eps color image. "-r300" means 300dpi, "figname" should be something like "name.eps"