disallow images
restructured printing class and enabled simpler extension