API for setting number of copies and printer from code

is there any function or api through which we can get all printers
then set printer and number of copies from application dynamically

No, it’s not available but it should be possible in the next update of CEF (that we planned to integrate into the next release of ExeOutput).