Added the support of ListTerm in the printer