printing cmd figs