Verify the Print Server’s IP Address. Black Box LEP0006A-UK, LEP0006A, LEP0002A, LEP0003A-UK, LEP0006A-EU, LEP0003A, LEP0003A-EU


Add to my manuals
129 Pages

advertisement

Verify the Print Server’s IP Address. Black Box LEP0006A-UK, LEP0006A, LEP0002A, LEP0003A-UK, LEP0006A-EU, LEP0003A, LEP0003A-EU | Manualzz

CHAPTER 7: UNIX System Network

For example, a print server with the following configuration:

Node ID: 0000B4010101 (this implies that the Ethernet address is 0000B4010101),

IP address: 203.66.191.12

The entry for this print server in the /etc/bootptab file should be:

PS010101:\

:ht=1:\

:ha=0000B4010101:\

:ip=203.66.191.12:

7.3 Verify the Print Server’s IP Address

To verify that your print server is responding to the newly assigned IP address using a PING command: ping ip-address

7.4 Configure Remote lpd Printing on the Host

The procedure you use to configure your UNIX host(s) to allow printing to your network remote print server varies between different UNIX varieties. The procedure below can be used for UNIX variants that are related to BSD UNIX, such as SunOS or Linux. For other UNIX versions, consult your system documentation, keeping in mind:

1. Treat the print server as a BSD networked print server host.

2. The host name should be the name (or IP address) that you have assigned to the print server.

3. The remote host’s printer name (or queue name) should be lpt1, lpt2, or lpt3, the print server’s printer port name.

65

PURE NETWORKING WIRELESS USB 10/100 PRINT SERVERS

Perform the tasks below, logged in as the superuser (root). To configure your

UNIX host for printing:

1. Assign a name corresponding to the print server’s IP address. You can add this address to the /etc/hosts file, by adding a line such as:

203.66.191.186 pserver

2. Create the printer’s spool directory in the same directory where spool directories are normally kept on the machine, such as /var/spool or

/var/spool/lpd: mkdir /var/spool/lpd/pserverd chown daemon /var/spool/lpd/pserverd chgrp daemon /var/spool/lpd/pserverd chmod 775 /var/spool/lpd/pserverd

3. Add an entry to the host’s /etc/printcap file, similar to the following: printer-name:\

:lp=:\

:rm=203.66.191.186:\

:rp=lpt1:\

:lf=/var/spool/lpd/pserverd.log:\

:sd=/var/spool/lpd/pserverd:\

:mx#0:

You can use more than one printer name, with variants separated by vertical bars

(name1|name2).

The rm = entry should correspond to the assigned print server IP address. You can also use a host name if you have assigned one in the /etc/hosts file.

The sd = entry should correspond to the spool directory you created in the previous step.

The rp = entry should correspond to the remote printer’s port name. The values should be lpt1, lpt2, or lpt3, depending on the printer port.

66

advertisement

Was this manual useful for you? Yes No
Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Related manuals

Download PDF

advertisement

Table of contents