-bash: enable: PrinterName: not a shell builtin Error and Solution

-bash: enable: PrinterName: not a shell builtin Error and Solution

If you receive the error "bash: enable: PrinterName: not a shell builtin," it means that you are attempting to use the enable command with a printer name as an argument.

The enable command is a shell builtin used to enable and disable shell builtin commands. It is not intended to be used with printer names.

To fix this error, you will need to use the appropriate command to manage printers on your system.

On a CentOS or Red Hat Linux system, you can use the lpadmin command to manage printers. For example, to enable a printer named PrinterName, you can use the following command:

re‮ef‬r to:lautturi.com
lpadmin -p PrinterName -E

This will enable the printer PrinterName.

To disable a printer, you can use the -D option instead of the -E option. For example:

lpadmin -p PrinterName -D

It's always a good idea to carefully review the documentation and use the appropriate commands to manage printers on your system.

Created Time:2017-10-27 14:56:37  Author:lautturi