This example prints the active sheet.
Sheet sheet = spreadsheet.getActiveSheet(); sheet.print();
Related information
print method