Custom Function in Custom Print format

Try this:

2 Likes