Contents of closed cells and closed groups are not printed.
Printed notebooks use the style settings for the Printing Environment, which can be significantly different from the styles chosen for onscreen display. You can change the Printing Environment by selecting File ► Printing Settings ► Printing Environment.