Hi,
The specifications for the Lexmark MS617dn mention the following standard printer languages.
"PCL 5e Emulation, PCL 6 Emulation, Microsoft XPS (XML Paper Specification), Personal Printer Data Stream (PPDS), PostScript 3 Emulation, PDF 1.7 emulation, Direct Image"
https://www.lexmark.com/en_us/printer/11135/Lexmark-MS617dn
You may want to check whether (built-in) generic PCL or postcript printer software in macOS can be used.
Add a printer to your printer list so you can use it on Mac – Apple Support (UK)
See, for example, the Use: option under Add a network printer by specifying its IP address:
"If Printer Software list doesn’t include your printer, try downloading and installing the printer software (also called a printer driver) from the printer manufacturer. You can also try choosing generic postscript or PCL printer software from the pop-up menu depending on your type of printer."
The MS617dn model has Ethernet in addition to USB. This means that you could connect the printer to a network (Wi-Fi router).