Adding calls to the printer and termination of program.