Added printTTICAD command and a few minor changes related to printing