1. Configure the printer using the administration facility of your Linux distribution.
For RHEL/CentOS/Fedora, “System–Administration–Printing” will get you the printer configuration screen. (Make sure the CUPS service is running)
Make sure you can print to this printer.
2. Edit sql-ledger.conf and add your printer name to the following hash reference:
%printer = ( Laser => 'lpr -Plaser',
Epson => 'lpr -PEpson',
);
3. When printing invoice/order, select the appropriate printer.
4. Here is link from CentOS 5.0 manual for configuring printer. (Works for RHEL/Fedora too)
http://www.centos.org/docs/5/html/Deployment_Guide-en-US/ch-printing.html