This connector is on a zebra printer battery eliminator can only writing on it is cmt it has a quarter turn lock collar of the female end as well
Kindly see if this looks similar to what you have:
W5380-6PG-P-535 Conxall/Switchcraft | Connectors, Interconnects | DigiKey
3382-6SG-528 Conxall/Switchcraft | Connectors, Interconnects | DigiKey
That is exactly it thank you