Xerox M118i System Administration Guide - Page 46

HP-UX, Using the Command Window TTY Method

Page 46 highlights

4 UNIX TCP/IP HP-UX Follow the steps below to set up an HP-UX workstation to communicate with the machine. 1. Log in as root at a client and add the machine to the /etc/hosts file. For example: Ip address [tab] PrinterName 2. Verify connectivity to the machine, by using a UNIX command such as ping from a terminal command window, as shown in the following example: ping PrinterName NOTE: Select CTRL+C to cancel the ping command. 3. There are two methods to install the machine on an HP-UX workstation. Choose the method that will be used to complete the installation and refer to the appropriate page: Using the Command Window TTY Method - page 46 Using the System Administrator Manager (SAM) GUI Method - page 47 Using the Command Window TTY Method Follow the steps below to use the command window to manually enter command strings. 1. Open a command window on the desktop. From the command prompt (#), enter the information below. Remember that UNIX commands are case-sensitive. 1) Type su to access the superuser mode. 2) Type sh to run the Bourne shell. 3) Type lpshut to stop the print service. 4) Type the following command on one line: lpadmin -pqueuename -v/dev/null -mrmodel -ocmrcmodelosmrsmodel -ob3 -orc -ormhostname -orplp NOTE: The queuename is the name of the print queue being created. The hostname is the PrinterName for the machine from the etc/hosts file. The remote queue name must be set to lp to spool jobs to the machine. This is set by the -orplp command. 2. Type lpsched to start the print service. 3. Type enable queuename to enable the queue to print to the machine. 4. Type accept queuename to enable the queue to start accepting jobs from the HP-UX workstation. NOTE: The queuename is the name of the print queue that has been created. 5. Type exit to exit the Bourne shell. 6. Type exit to exit superuser mode. 7. Type exit to close the command window. 46 Xerox CopyCentre/WorkCentre 118 System Administration Guide

  • 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
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134

4
UNIX TCP/IP
46
Xerox CopyCentre/WorkCentre 118 System Administration Guide
HP-UX
Follow the steps below to set up an HP-UX workstation to communicate with the
machine.
1.
Log in as root at a client and add the machine to the /etc/hosts file. For example:
Ip address [tab] PrinterName
2.
Verify connectivity to the machine, by using a UNIX command such as ping from a
terminal command window, as shown in the following example:
ping PrinterName
NOTE:
Select CTRL+C to cancel the ping command.
3.
There are two methods to install the machine on an HP-UX workstation. Choose
the method that will be used to complete the installation and refer to the
appropriate page:
Using the Command Window TTY Method – page 46
Using the System Administrator Manager (SAM) GUI Method – page 47
Using the Command Window TTY Method
Follow the steps below to use the command window to manually enter command
strings.
1.
Open a command window on the desktop. From the command prompt (#), enter
the information below. Remember that UNIX commands are case-sensitive.
1) Type
su
to access the superuser mode.
2) Type
sh
to run the Bourne shell.
3) Type
lpshut
to stop the print service.
4)
Type the following command on one line:
lpadmin -pqueuename -v/dev/null -mrmodel -ocmrcmodel-
osmrsmodel -ob3 -orc -ormhostname -orplp
NOTE:
The queuename is the name of the print queue being created. The hostname
is the
PrinterName
for the machine from the etc/hosts file.
The remote queue name must be set to
lp
to spool jobs to the machine. This is set by
the
-orplp
command.
2.
Type
lpsched
to start the print service.
3.
Type
enable queuename
to enable the queue to print to the machine.
4.
Type
accept queuename
to enable the queue to start accepting jobs from the
HP-UX workstation.
NOTE:
The queuename is the name of the print queue that has been created.
5.
Type
exit
to exit the Bourne shell.
6.
Type
exit
to exit superuser mode.
7.
Type
exit
to close the command window.