MCSE Boot Camp Notes :

Networking Guide
Chapter 14, Printing remotely over TCP/IP

Manually adding remote printers

Manually adding remote printers

To configure a remote printer, execute the rlpconf command. For more information, refer to the rlpconf(ADMN) manual page. This command edits the /etc/printcap file for you. The following example illustrates the use of rlpconf to set up the sunlaser printer to produce an entry in the /etc/printcap file like the one shown at the beginning of this section. Assuming you are logged in as root, invoke the rlpconf command. You see output similar to the following:

   		Remote Printing Configuration
   

Enter information for remote printers or local printers accepting remote printing requests

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

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

Please enter the name of the remote host that sunlaser is attached to: ohio

Printer sunlaser is attached to host ohio

Is this correct? (y/n) y

If 'ohio' currently runs SCO OpenServer Release 5 or above, it can support the extended remote line printer protocol. Do you want to turn on the "extended RLP protocol" support flag?

If you're not sure, answer 'n'? (y/n) [n]

Would you like this to be the system default printer? (y/n) y

Make sure that your host name appears in ohio's /etc/hosts.equiv or /etc/hosts.lpd file. Make sure that sunlaser appears in ohio's /etc/printcap file (BSD format) Make sure that sunlaser has a spool directory on ohio Putting sunlaser in printer description file and creating spool dir Updating LP information...done Updating /usr/spool/lp/default...done


NOTE: The extended remote line printer protocol enables users to move print jobs between printers (that are connected to SCO systems) and enables the lpstat command to give the status of remote printers.

The above example shows how to configure your client to use a remote printer called sunlaser attached to the print server ohio. After entering the name of the printer and the print server, you must verify the information just entered. 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 be prompted again for the name of the printer and the print server. Answer n to exit and return to the shell prompt.

Continuing with the above example, you are asked if you wish to make the printer the system default. Answer y or n. If you answer n, users on the client that wish to route a print job to sunlaser must do so explicitly by using the -d option in the lp command. 

Following this query, you are advised to verify certain things on the print server. The rlpconf command now checks that the printer is not already listed in /etc/printcap. If it is, a message to that effect is displayed. If it is not, the printer information is added to /etc/printcap.

In addition, the spool directory for the printer, in this case /usr/spool/lpd/sunlaser, is created and configuration information indicating the name of the printer and the print server is stored in a file called configuration. This file is located in a subdirectory bearing the printer's name under /usr/spool/lp/admins/lp/printers. In this example, the pathname of the file is /usr/spool/lp/admins/lp/printers/sunlaser/configuration. Finally, if the printer is to be the system default, the file /usr/spool/lp/default is updated to contain the name of the printer.

Once you have configured the printer, the screen clears and 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): q

Enter q to exit rlpconf and return to the shell prompt.

Once you have finished configuring printers, ensure that the RLP daemon lpd is running. You can do this by entering the command ps -fe and verifying that the daemon appears in the listing.

See also:

Networking guide
Call : 800-519- 2267

MCSE CCNA Certification boot camp
Testimonials
 Join MCSE Boot Camp & CCNA Boot Camp Back to Back Certification Today.
MCSE Boot Camp links  MCSE Boot Camp 270  MCSE Boot Camp  290  MCSE Boot Camp  291  MCSE Boot Camp 293  MCSE Boot Camp  294  MCSE Boot Camp 298  MCSE Boot Camp 299  MCSE Boot Camp Security  MCSE Boot Camp 640-801  MCSE Boot Camp routing MCSE Boot Camp 811  MCSE Boot Camp 821  MCSE Boot Camp 831  MCSE Boot Camp Resources MCSE Boot Camp MCSE + CCNA  MCSE Boot Camp Training  MCSE Boot Camp Card pay  MCSE Boot Camp Papal  MCSE Boot Camp MCSE Notes  MCSE Boot Camp CCNA Notes    MCSE Boot Camp index MCSE Boot Camp main  MCSE Boot Camp root MCSE Boot Camp link  MCSE Boot Camp resources MCSE Boot Camp home    Ref1 Ref2
Microsoft MCSE Boot Camp
MCSE Boot Camp, MCSE Certification boot camp, MCSE Training boot camps, MCSE certification  boot camp training at California and Maryland USA. Also CCNA, CCNP, CISSP, Red Hat Linux Certification notes.

Vibrant boot camp offers MCSE, CCNA, CCNP Certification back to back

Vibrant offers MCSE certification training boot camp for $5400 all inclusive, instructor led at California and Baltimore.

Vibrant Bootcamp Participants come from All Around the World. Vibrant has trained students from more than 15 countries like USA, UK, (Scotland, Ireland, Wales), Switzerland, Germany, Australia, Canada, France, Holland, Japan, Belgium, Bahrain, New Zealand, Tanzania, Turkey, Kenya and more.

Access List Commands, Access Lists, Application Laye - OSI layer, CCNA Bootcamp Notes, CCNA certification bootcamps, CCNA T1 Connections, CDP Setup, Cisco Bootcamp, TCP/IP Info, Cisco Hierarchical Model, Cisco Notes, TCP Ports,  Configure Router Register, Configuring IPX, Configuring VLAN, Data Link Layer, DOD Model, Ethernet Frames, Ethernet Networking, Frame Relay information, HDLC WAN Notes, Host to Host Layer, IP Communication ports, IP Ports,  ISDN settings, LAN Protocols, LAN Segmentation, Lan Switiching, LAPB CCNA Notes, Layer 2 Protocol, Network Access Layer, Network Laye, Cisco Boot camps, Novell Cisco Routing, OSI Layer, OSI Model, CCNP Bootcamps, Physical Layer, OSI Layer, Point to Point Protocol, PPP, PPP Link, Presentation Layer, OSI Layer, Process Application Layer,  Rip Routing Setting, Router Images, Router Information,  Router Interfaces,  Router IOS Backup, Router IOS,  Router Management, Router Password Setup, Router Recover Password, , San Francisco, Router Setup, , California, Router troubleshoot,  Routing Protocol RIP, Session Layer, Subnet Masking, Supported RFCs, Switch Images,  Switching Configuration, Switching Simulation,  TCP/IP Ports,  VLAN Communication,  WAN Communication,