HP Visualize J210XC IRIX to HP-UX Migration Guide - Page 51

Adding a Network-Based Printer

Page 51 highlights

Printers See lpadmin(1M) for details on the options. If your remote printer does not work, check if the remote printing daemon (rlpdaemon) is correctly running on the remote machine (the host where the physical printer resides), using the following steps: 1. Examine the file /etc/inetd.conf and look for the following line: # printer stream tcp nowait root /usr/sbin/rlpdaemon rlpdaemon -I If there is a # sign at the beginning of the line, the rlpdaemon line is commented out, preventing the printer from printing remotely. Edit the file /etc/inetd.conf to remove the # sign. Save the file. 2. Check /etc/services and look for: # printer 515/tcp spooler #remote print spooling If there is a # sign at the beginning of the line, it is commented out. Edit the file to remove the # sign in the first column, and save the file. 3. Reconfigure the Internet daemon inetd, forcing it to reread the /etc/inetd.conf file: # inetd -c 4. Also, check entries in /var/adm/inetd.sec restricting which systems can send remote print requests. Adding a Network-Based Printer A network-based printer is connected directly to the LAN and is not physically connected to any system. Network printers do not use device special files. You can use SAM to add a network-based printer that uses the HP JetDirect Network Interface. But, the HP JetDirect software must be installed on your system first, and you must be prepared to provide SAM with the printer's node name (the name associated with an Internet address) and the local name the lp spooler will use to refer to the printer. With HP JetDirect, printers can connect directly to the network. The printer uses a LAN connection, and the HP JetDirect software transmits print requests. For more information, see the HP JetDirect Network InterfaceConfiguration Guide. If you do not use SAM, follow the instructions shipped with either your printer or the network interface card for the printer. Creating a Printer Class You can make efficient use of multiple printers by creating a printer class. A printer class is a name you use to refer to a group of printers. Print requests can then be spooled to a single print queue and printed by the first available printer in the class. This procedure reduces or eliminates logjams on individual printers. NOTE: Remote printers cannot belong to a printer class. You can use SAM to add a printer to a printer class when the printer is being added to the spooler; otherwise, you must use HP-UX commands. To use HP-UX commands, follow these steps after several printers have been added to the lp spooler: 1. Become superuser with the su command or login as root. 2. Stop the lp spooler: 46

  • 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
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125

Printers
46
See
lpadmin(1M
)
for details on the options.
If your remote printer does not work, check if the remote printing daemon (
rlpdaemon
) is correctly
running on the remote machine (the host where the physical printer resides), using the following steps:
1.
Examine the file
/etc/inetd.conf
and look for the following line:
# printer stream tcp nowait root /usr/sbin/rlpdaemon rlpdaemon –I
If there is a
#
sign at the beginning of the line, the
rlpdaemon
line is commented out, preventing the
printer from printing remotely. Edit the file
/etc/inetd.conf
to remove the
#
sign. Save the file.
2.
Check
/etc/services
and look for:
# printer 515/tcp spooler #remote print spooling
If there is a
#
sign at the beginning of the line, it is commented out. Edit the file to remove the
#
sign in
the first column, and save the file.
3.
Reconfigure the Internet daemon
inetd
, forcing it to reread the
/etc/inetd.conf
file:
# inetd –c
4.
Also, check entries in
/var/adm/inetd.sec
restricting which systems can send remote print requests.
Adding a Network-Based Printer
A network-based printer is connected directly to the LAN and is not physically connected to any system.
Network printers do not use device special files.
You can use SAM to add a network-based printer that uses the HP JetDirect Network Interface.
But, the
HP JetDirect software must be installed on your system first, and you must be prepared to provide SAM
with the printer±s node name (the name associated with an Internet address) and the local name the
lp
spooler will use to refer to the printer. With HP JetDirect, printers can connect directly to the network. The
printer uses a LAN connection, and the HP JetDirect software transmits print requests. For more
information, see the
HP JetDirect Network InterfaceConfiguration Guide
.
If you do not use SAM, follow the instructions shipped with either your printer or the network interface
card for the printer.
Creating a Printer Class
You can make efficient use of multiple printers by creating a printer class. A printer class is a name you use
to refer to a group of printers. Print requests can then be spooled to a single print queue and printed by the
first available printer in the class. This procedure reduces or eliminates logjams on individual printers.
NOTE:
Remote printers cannot belong to a printer class.
You can use SAM to add a printer to a printer class when the printer is being added to the spooler;
otherwise, you must use HP-UX commands. To use HP-UX commands, follow these steps after several
printers have been added to the
lp
spooler:
1.
Become
superuser
with the
su
command or login as
root
.
2.
Stop the
lp
spooler: