add function to support print format on the VT.