Print-Format-Issue

Hello, I have a custom field in my custom doctype which is linked with Print Format, I want the print format I selected in my field to open the same print format.

You will need a client script to read the value of your field and set the print format.