Configuring Print Servers The printers that are connected

Configuring Print Servers The printers that are connected to your Red Hat Linux system can be shared in different ways with other computers on your network. Not only can your computer act as a Linux print server, but it can also appear to other client computers as a NetWare or SMB print server. After a local printer is attached to your Red Hat Linux system, and your computer is connected to your local network, you can use the procedures in this section to share it with client computers using a Linux (UNIX), NetWare, or SMB interface. Configuring a shared Linux printer in lpd.perms After a local printer is added to your Red Hat Linux computer, making it available to other computers on your network is fairly easy. If a TCP/IP network connection exists between the computers sharing the printer, then you simply have to grant permission to individual hosts or users from remote hosts to access your computer s printing service. The procedures for setting up local printers are discussed earlier in this chapter. The permissions that users from other computers have to your Red Hat Linux printer are determined based on the values in your /etc/lpd.perms file. By default, you should be able to print from other Linux computers on your network to your shared printer. You can modify your lpd.perms file if you want to restrict access to your printer. Configuring a shared NetWare printer NetWare server functions delivered with Red Hat Linux are offered using the mars_nwe package. This package enables you to do file and printer sharing from Red Hat Linux as though the resources being shared were coming from a NetWare server. Although not all NetWare features are offered, the mars_nwe package does well with basic NetWare file and printer sharing. Cross-Reference See Chapter 18 for information on setting up the mars_nwe package to share NetWare resources. The mars_nwe service must be running to share your printer as a NetWare print server. You can make your Red Hat Linux printers available as NetWare printers by adding entries to the /etc/nwserv.conf file. This file is used for configuring most mars_nwe information. Of particular interest for adding printers is the Print Queues section (section 21). Red Hat Linux printers are identified as NetWare print queues by indicating each line as a section 21 entry. Here is an example: 21 PSPRINT SYS:/PRINT/PSPRINT lpr -Ppsprint The number 21 identifies the entry as a NetWare print queue. PSPRINT is the name of the queue. The queue directory is identified as SYS:/PRINT/PSPRINT. Note that the queue directory is different from the lpd spool directory. Finally, the last part of the entry is the lpr command line used to print documents submitted to this print queue. Assuming you have done your basic NetWare server configuration, as described in Chapter 18, use this procedure to check that you are able to print to the NetWare print server you just set up in Linux: 1. Restart the mars_nwe service to incorporate the changes you just made to nwserv.conf by typing the following: # /etc/init.d/mars-nwe stop # /etc/init.d/mars-nwe start 2. Type the slist command to make sure that the NetWare server you configured is available:
We would like to recommend you tested and proved virtual web hosting services, which you will surely find to be of great quality.

Leave a Reply