Using the teach a man to fish philosophy, here are the links to the documentation to do
some of what you want?
1 - save as.
2 - print preview - not sure what you are expecting to happen here, do you want the print
dialog to be displayed or are you expecting a word like preview of how it will print?
3 - to control printing
the printparams object that is the better way to control printing
and you will want to look at the printerName property of that object.
Hope this helps