Oki C5800Ldn OkiLAN 8300e Network User's Guide (American English) - Page 87

Register the printer in the, Example: for host name PRINTER, to create a queue called

Page 87 highlights

2. Register the IP address of the network card and the host name in the /etc/hosts file. Example: for IP address 172.168.20.127 and host name PRINTER 172.168.20.127 PRINTER 3. Use the ping command to confirm connection with the network card. Example: for host name PRINTER # ping PRINTER If there is no reply, then there is a problem with the configuration of the IP address (the IP address has been already set manually or by the DHCP/RARP server) or with the network. Reset the network interface card settings to their defaults and then try to set a temporary IP address. If you still have the problem after resetting the network interface card, consult the network manager. 4. Register the printer in the /etc/printcap file. Example: for host name PRINTER, to create a queue called PRINTER_lp PRINTER_lp: \ :lp=:rm=C7400:rp=lp:\ :sd=/usr/spool/PRINTER_lp:\ :lf=/usr/spool/PRINTER_lp/OKIPRINTER_lp_errs: PRINTER_lp The name of the printer queue lp: The name of the device used to connect to the printer. Does not need to be specified for a remote machine. OkiLAN 8300e Network User's Guide UNIX - 87

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107

OkiLAN 8300e Network UserĀ°s Guide
UNIX - 87
2.
Register the IP address of the network card and the host
name in the
/etc/hosts
file.
Example: for IP address 172.168.20.127 and host name
PRINTER
172.168.20.127 PRINTER
3.
Use the ping command to confirm connection with the
network card.
Example: for host name PRINTER
# ping PRINTER
If there is no reply, then there is a problem with the
configuration of the IP address (the IP address has been
already set manually or by the DHCP/RARP server) or with
the network. Reset the network interface card settings to
their defaults and then try to set a temporary IP address. If
you still have the problem after resetting the network
interface card, consult the network manager.
4.
Register the printer in the
/etc/printcap
file.
Example: for host name PRINTER, to create a queue called
PRINTER_lp
PRINTER_lp: \
:lp=:rm=C7400:rp=lp:\
:sd=/usr/spool/PRINTER_lp:\
:lf=/usr/spool/PRINTER_lp/OKIPRINTER_lp_errs:
PRINTER_lp The name of the printer queue
lp: The name of the device used to connect to the printer.
Does not need to be specified for a remote machine.