So, just to clarify, you want to know how to print the required output through printer, which is displayed through third option of the program, correct?