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

Removing a Printer from a Printer Class, Removing a Printer Class

Page 53 highlights

Printers # disable -r"Printer laser1 is disabled." laser1 You would issue the above disable command if you didn't want to wait for jobs in the printer's queue before removing the printer. Issuing the disable command shuts the printer down in an orderly manner. NOTE: You can also specify the -c option to the disable command to cancel all print requests for the printer. 8. (Optional.) If there are no jobs in the printer's queue, go on to Step 9. If there are jobs, decide whether to move all pending print requests in the request directory to another printer request directory or to cancel those requests. For example, to move print requests: # lpmove laser1 laser2 To cancel any requests: # lpcancel laser1 9. Remove the printer from the LP spooler. For example: # lpadmin -xlaser1 10. Restart the lp spooler: # lpsched Removing a Printer from a Printer Class SAM does not provide a way to remove a printer from a class. Instead, use HP-UX commands as follows: 1. Become superuser with the su command or login as root. 2. Stop the lp spooler: # lpshut 3. Remove the printer from the class. For example: # lpadmin -plaser1 -rclass 4. Restart the lp spooler: # lpsched Removing a Printer Class SAM does not provide a way to remove a printer class. Instead, use HP-UX commands as follows: 1. Become superuser with the su command or login as root. 2. Stop the lp spooler: # lpshut 3. (Optional.) Deny any further print requests for the printer. For example: 48

  • 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
48
# disable -r"Printer laser1 is disabled."
laser1
You would issue the above disable command if you didn±t want to wait for jobs in the printer±s queue
before removing the printer. Issuing the disable command shuts the printer down in an orderly manner.
NOTE:
You can also specify the
-c
option to the disable command to cancel all print requests for the
printer.
8.
(Optional.)
If there are no jobs in the printer±s queue, go on to Step 9. If there are jobs, decide whether
to move all pending print requests in the request directory to another printer request directory or to
cancel those requests.
For example, to move print requests:
# lpmove
laser1 laser2
To cancel any requests:
# lpcancel
laser1
9.
Remove the printer from the LP spooler. For example:
# lpadmin –x
laser1
10. Restart the
lp
spooler:
# lpsched
Removing a Printer from a Printer Class
SAM does not provide a way to remove a printer from a class. Instead, use HP-UX commands as follows:
1.
Become
superuser
with the
su
command or login as
root
.
2.
Stop the
lp
spooler:
# lpshut
3.
Remove the printer from the class. For example:
# lpadmin –p
laser1
–r
class
4.
Restart the
lp
spooler:
# lpsched
Removing a Printer Class
SAM does not provide a way to remove a printer class. Instead, use HP-UX commands as follows:
1.
Become
superuser
with the
su
command or login as
root
.
2.
Stop the
lp
spooler:
# lpshut
3.
(Optional.)
Deny any further print requests for the printer. For example: