Write Epson ESC/P2 file

Converts a halftone image into an Epson ESC/P2 file

You are now following this Submission

ESC/P2 is Epson's control language for their photographic inkjet printers. This file generates such a file for the Epson R220 printer from a 2-bits per pixel multitone image. The resulting file.prn can then be sent to the printer for printing.

Cite As

Daniel Lau (2026). Write Epson ESC/P2 file (https://www.mathworks.com/matlabcentral/fileexchange/16099-write-epson-esc-p2-file), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0