It is hard to say. When a printer prints out garbage which looks like code it can be any one of these things:
- Incompatible file being printed
---try printing a simple text file by creating a simple test file using Text Edit to verify printer setup
If this works, then try the following:
- Try printing the file using another app which may process the file differently for the printer
- Save the file into another format such as a .pdf and try printing the .pdf version
- File may contain a font, or some other formatting which is causing the issue
(very common when printing to an HP printer may be true for Epson as well)
(one time the document's meta data caused an HP printer to lock up printing
a document)
It can be very hard locating the problem here without lots of experimenting
usually by modifying the file until you locate the troublesome item
(make sure to modify a copy & not the original).
- Old or incorrect printer driver
--- within macOS create a new printer for this Epson printer using "Add Printer" in
System Preferences.
Try using an Air Print driver if possible, otherwise try any other driver options macOS suggests.
- Printer firmware may need updated
--- check the Epson support site for newer firmware
- Maybe an issue with your Print Server
--- try connecting the printer directly to your Mac
- Verify the printer works without a computer
--- Perform a test print using the printer's demo or selftest page or print a configuration page
using the physical menu/control panel on the printer itself.
Edit: Sorry about the formatting but the editing box doesn't show how the final copy will look. Very poor tools for formatting a response.