How to send unformatted text directly to an Epson LX-350 Dot Matrix Printer from MacOS. Useful if you want to print text line-by-line rather than page-by-page
The backend of the MacOS printing uses the CUPS print server
- Plug the printer in via usb
- Open the CUPS Webpage
- Go to http://localhost:631/printers/
- If it doesn't load, type
cupsctl WebInterface=yesinto Terminal - try again
- Go to the Administration page http://localhost:631/admin/
- Click Add Printer
- Select the printer from the list and click continue
- Give it a name like
EpsonRaw(you'll need to type this on the command line) and click continue - Set it to Raw mode
- Select another Make/Model
- Raw. Continue
- Raw Queue
- Add Printer
echo "Test line" | lp -d EpsonRaw
cat textfile.txt | lp -d EpsonRaw