HTML in print Format

Dear All I added a custom Colum in item table in Delivery note “To Pkg No” I wanted a total of this column print format. In print format I used this custom html “Total Packages: {{frappe.item.total_to_pkg_no}}” but it not works. Kindly help. Thanks


please guide me. Very thanks to all of you