how to select file and then print to printer ?