Avatar

Level 10

You don't need any scripting or counters at all to prevent the printing. 

Simply add a <validate>-element with the value "prePrint" under the element <config><present> in the XML source view.

radzmar_0-1582378777968.png