Print-format-builder-beta

print-format-builder-beta
How to apply jinja if condition as below in new print format builder.
also the image showing in print preview but not in actual print.
{%- if doc.docstatus == 1 -%}



{%- endif -%}

is any solution for this ?