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

Creating a Print Queue for a SUN Solaris System

Page 85 highlights

Configuring UNIX Printing Software on a SUN Solaris System Creating a Print Queue for a SUN Solaris System To create a print queue on a SUN Solaris System, you must execute the following commands: • make_model • lpshut • lpadmin The make_model command lets you add the printer model to the system. The information that you provide through this command will be used to create a shell script. The shell script 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 model name: 2. Enter a name for the printer model. Press RETURN. Example: printer2 The following prompt appears: Enter the name of the printer: 3. Enter a name for the printer. Press RETURN. Note: Printer is the name of the printer as it exists in /etc/hosts or yp/DNS. Example: hallway_40 UNIX Printing Software Administration and Installation Guide 8/25/025-79

  • 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

Configuring UNIX Printing Software on a SUN Solaris System
UNIX Printing Software Administration and Installation Guide
8/25/02
5-79
Creating a Print Queue for a SUN Solaris System
To create a print queue on a SUN Solaris System, you must execute the following
commands:
make_model
lpshut
lpadmin
The
make_model
command lets you add the printer model to the system. The
information that you provide through this command will be used to create a shell
script. The shell script 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 model name:
2.
Enter a name for the printer model. Press
RETURN
.
Example:
printer2
The following prompt appears:
Enter the name of the printer:
3.
Enter a name for the printer. Press
RETURN
.
Note:
Printer is the name of the printer as it exists in
/etc/hosts
or
yp/DNS
.
Example:
hallway_40