Custom naming for documents in pdf

We have a option “pdf” when print any document. I want custom naming for each document. How do i achieve that.

@Aniket_Shinde1,

PDF file is renamed with the document name, currently there is no option to have a custom name for pdf.

Thanks,
Makarand

@makarand_b
I saw a file /home/frappe/frappe-bench/apps/frappe/frappe/utils/print_format.py that creates pdf files. I dont yet know python very well ,can u please help how i can achieve file name of format doc.name-doc.customer_name-transaction_date.pdf
Or if you can please help me understand the script I will manage to make changes.

Custom naming of pdf docs and saving to custom folders is a very important feature and would be most welcome. Thank you.

Hi, is this customization is in latest erp version?