Duplicate Print count

When I print quotation/salesorder/invoice or any document. I need field like Printed Copy : 1/2/3… for consequent prints for same document in printed file.

How can I achieve this?

You will have to manually manage this via a custom field.

Sir , Can you give me some idea about this?

I am unable to figure out from where to start.

@rmehta Sir, Please provide me some steps/ideas doing this with custom field.

@mkafle_Se Create a custom field and then change it before every print.

@rmehta Sir, how can I make print_count variable of custom field increment when I click document for print.

I don’t think it can be tracked automatically using any frappe library. You can set an “click” event handler on the print action via jquery and update the count.