Naming of Print Format

Hi Devlopers,
I have to create a print format of ‘Appointment Letter’. Naming of this should be {{doc.company_name}}/{{doc.job_location}}/{{doc.name}}
where {{doc.name}} is HR-.appointment_date.-.#####
where appointment date is in 2023-01-27 format. But i have to print only 012023 means MMYYYY
what should I do ?

Why you want to name print format in dynamic method? What’s the use case for it?

Its Client Requirement. They want their naming as above in print format.