Oracle Solution for Error ora-07221

Solution for Oracle Error ORA-07221

ORA-07221: slspool: exec error, unable to start spooler program.

What triggered the Error:

Exec failed when starting line printer spooler command. Likely that either the default line printer command, or ORACLE_LPPROG, is incorrectly set.

What should we do to fix it:

Verify default line printer command and ORACLE_LPPROG are set correctly. Set ORACLE_LPPROG to working line printer spooler.