How to default a pdf print template
I finally got a JavaScript delay to work with the following code.  It's pretty ad hoc (to use a polite term) but does seem to work.  Cycles until it can see that the ckEditor header has loaded, then waits another half second for luck and selects the required template.
Regards, Tony
jQuery(document).ready(function(){
        
function checkBold (rep) {
    // console.log('Bold: ' + $('#cke_24').is(':visible') );
    // Waits for the Bold button in the CKEditor to appear
    if ($('#cke_24').is(':visible') ) {
        setTimeout(function(){
            $('.crm-contact-task-pdf-form-block select#template').val('71').change();
        }, 500);                
        return;
    }
    if (rep &gt; 0) {setTimeout(() =&gt; checkBold(rep-1), 100);}
}
        
checkBold(100);                 // Limit of 10 seconds
          
});