I'm not sure if it's possible maybe you need to activate the container-objects or use another print-method - see here Re: How to activate object in a container on active sheet and have a look into APIGuide.qvw in your install-folder.
Alternatively you could use reports to print your container and/or (unfortunately very often) you need specialized print-sheets and print-objects.