lprint command not found

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

Introduction

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

lprint: command not found

or when using sudo you get the following error message

sudo: lprint: command not found

Solutions to lprint: command not found

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

In Ubuntu lprint is provided by lprint package.

lprint is:

LPrint implements printing for a variety of common label and receipt printers connected via network or USB. Features include:

  • A single executable handles spooling, status, and server functionality
  • Multiple printer support
  • Each printer implements an IPP Everywhere™ print service and is compatible with the driverless printing support in iOS, macOS, and Linux clients
  • Each printer can support options such as label modes, tear-off offsets, media tracking, media top offset, print darkness, resolution, roll selection, and speed
  • Each printer can print “raw”, Apple/PWG Raster, and/or PNG files
  • Each printer automatically recovers from out-of-media, power loss, and disconnected/bad cable issues

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

sudo apt-get -y install lprint

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

You can also use apt command to install lprint.

sudo apt -y install lprint

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

sudo aptitude install lprint

Summary

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