DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Printing remotely over TCP/IP

Setting up a print server


NOTE: If the printer to be set up is a local printer, that is, attached to the client for its private use, you should set it up following the instructions here, but ignore instructions regarding the /etc/hosts.equiv and /etc/hosts.lpd files.

To set up a print server to process RLP requests, do the following:


Once you invoke rlpconf, you see output similar to the following:
   		Remote Printing Configuration
   

Enter information for remote printers or local printers accepting print jobs.

Please enter the printer name (q to quit): sunlaser

Is sunlaser a remote printer or a local printer (r/l)? l

Please enter the name of the device for sunlaser: /dev/laser

Printer sunlaser uses device /dev/laser

Is this correct? (y/n) y

Putting sunlaser in printer description file and creating spool directory...done

First enter the name of a printer attached to the print server. Next, enter l in response to the second question to indicate that you are on a print server. Then, enter the full pathname for the device for the printer. You are now given the opportunity to verify the device filename for the printer. If it is correct, enter y. If it is not, enter n, at which point you are asked if you want to try again. Answer y to start from the beginning or answer n to exit and return to the shell prompt.

Once you indicate that the device filename is correct, the rlpconf command checks that the printer is not already listed in /etc/printcap. If it is, a message to that effect is displayed. Otherwise, the printer information is added to the /etc/printcap file and the spool directory for the printer, /usr/spool/lpd/sunlaser, is created.

Once processing is complete for one printer, you are prompted to set up another printer. When you are done, enter q to exit rlpconf and return to the shell prompt.

See also:


Next topic: Using RLP
Previous topic: Setting up a client

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003