1099 NEC

I need to print a 1099 for two companies that have the same EIN number but different names.  Is there a way to do this?  Thanks.