Print format selection according to company

hey everyone, what i want to achieve is that whenever I create a sales invoice and I select a company for that sales invoice, when I click on print button the print a specific print format must be used. for example I have 3 companies Company A, Company B, Company C and I have 3 print formats Print A for Company A and so on so when I select Company A the Print format that will be used must be Print A and so on according to company
Thanks

Please check this.

thank you so much