e2lpr command not found

In this troubleshooting guide we learn how to fix e2lpr command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

e2lpr: command not found

or when using sudo you get the following error message

sudo: e2lpr: command not found

Solutions to e2lpr: command not found

How To Fix e2lpr: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu e2lpr is provided by e2ps package.

e2ps is:

e2ps is a tool for processing and printing Japanese EUC code, mainly EUC files.

This program provides a plain text to PostScript conversion with automatic detection of EUC, JIS and SJIS but may be weak with SJIS.

To fix this problem, we can install more using the command below.

sudo apt-get -y install e2ps

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install e2ps.

sudo apt -y install e2ps

Or if you have aptitude installed you can use the following command.

sudo aptitude install e2ps

Summary

In this tutorial we learn how to fix e2lpr command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.