Oki B6100n Guide: Administration and Installation, B6100 UNIX Printing Softwar - Page 38

Creating Print Queues for an HP/UX System, Adding Printer Model Information Using the make_model

Page 38 highlights

Chapter 2: Installing and Configuring UNIX Printing Software on a HP/UX System i You must be a Super User (Root) in order to perform any of the configuration tasks described in this chapter. Refer to the section, "Super User Privileges" on page 2-25 for instructions on how to accomplish this task. Creating Print Queues for an HP/UX System Each print queue within a UNIX system corresponds to an internet address of a particular printer. You establish this association during the creation of the print queue. When configuring and/or running sdriver, the printer's IP address is included after the -I switch. Alternatively, the printer's name is included after the -P switch when using sdriver. In addition, the print queue is also the first item to appear on each line of the printer-to-model file (printer2mdl). There are three commands that you will use to create a print queue for an HP/UX System: • make_model • lpshut • lpadmin The make_model command lets you add the printer model to the system. The information that you supply under the make_model command will be used by lpadmin to actually create the print queue. The lpshut command shuts down lpsched (i.e., line printer scheduler). You must run this command prior to running lpadmin. If you do not shut-down the line print scheduler, the lpadmin process will not work. However, once the lpadmin command process completes, the lpsched command must be reinstated. Instructions on how to accomplish each of the above tasks are defined in the following sections. Adding Printer Model Information Using the make_model Command 1. From the /tmp/install directory, enter the following command at the command line: # ./make_model The following prompt appears # Enter the printer model name: 2-328/25/02 UNIX Printing Software Administration and Installation 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

2-32
8/25/02
UNIX Printing Software Administration and Installation Guide
Chapter 2: Installing and Configuring UNIX Printing Software on a HP/UX System
Creating Print Queues for an HP/UX System
Each print queue within a UNIX system corresponds to an internet address of a
particular printer. You establish this association during the creation of the print queue.
When configuring and/or running sdriver, the printer’s IP address is included after the
-I switch. Alternatively, the printer’s name is included after the -P switch when using
sdriver. In addition, the print queue is also the first item to appear on each line of the
printer-to-model file (printer2mdl).
There are three commands that you will use to create a print queue for an HP/UX
System:
make_model
lpshut
lpadmin
The
make_model
command lets you add the printer model to the system. The
information that you supply under the make_model command will be used by
lpadmin
to actually create the print queue.
The
lpshut
command shuts down
lpsched
(i.e., line printer scheduler). You must
run this command prior to running
lpadmin
. If you do not shut-down the line print
scheduler, the
lpadmin
process will not work. However, once the
lpadmin
command process completes, the
lpsched
command must be reinstated.
Instructions on how to accomplish each of the above tasks are defined in the following
sections.
Adding Printer Model Information Using the make_model
Command
1.
From the /tmp/install directory, enter the following command at the command
line:
#
./make_model
The following prompt appears
# Enter the printer model name:
i
You must be a Super User (Root) in order to perform any of the configuration
tasks described in this chapter. Refer to the section,
“Super User Privileges” on
page 2-25
for instructions on how to accomplish this task.