To set up a remote line printer under LINUX (or for that matter virtually any UNIX) you need to set up the spooler control directories (typically /var/spool/lp/<printername>) and edit the /etc/printcap file. However, if you are using Red Hat 6.1 or higher, you may want to try the PrintTool utility on the graphic desktop first, since it sets up the control directories for you and edits /etc/printcap using a specific format that it can read. Once you set up one that way, you could always edit the /etc/printcap and probably not break the formatting rules. Here's an example of a printcap entry from my system):

##PRINTTOOL3## REMOTE ljet4 300x300 letter {} LaserJet4 Default 1

lp2:\

:sd=/var/spool/lpd/lp2:\
:mx#0:\
:sh:\
:rm=192.168.200.150:\
:rp=text1:\
:if=/var/spool/lpd/lp2/filter:

The first line is the header that PrintTool needs to see (but is ignored by lpr.) The sd=/var/spool/lpd/lp2 identifies the control directory for the spooler. The rm= identifies the remote system IP. The rp= identifies the queue name on the remote system. The if= identifies the filter (may be omitted). That is, omit the entire if statement if you don't want a filter. (The PrintTool will allow you to choose among filters for specific printers or generic ones that deal just with CRLF, etc.). Make sure you end each item with a : and each line but the last with \

Under Red Hat, the "Printer Tool" can be found under "Another Level Menus".."Administration".."Printer Tool". If you are using Corel Linux, then use the Printers option in the Control Center applet.

If there is not a specific option for setting up a remote printer, then just set up a local printer (to get the control directories taken care of, since there are a few special files that go in those directories that you
would otherwise have to set up by hand) and then to into /etc/printcap and add or create an entry which references the control directory, adds the rp= and rm= parameters, etc.

You do not have to reboot for any of this because the lpr command will consult /etc/printcap each time it is invoked.