Abstracted away generator printing

Refs tnc-ba/strongTNC#110.