How to add {{doc.name}} to .pdf filenames during "print"?

Is there a way to add {{doc.name}} to the filename prefix when printing?

Right now when I “print” a purchase order, it generates a .pdf for download called…
“Purchase-Order.pdf”

but I would like it to be {{doc.name}}.pdf instead which would translate to something like PUR-ORD-2021-00001.pdf