Printing workbook

Refer to the following example code to see how to output the workbook to printer.