2-34
8/25/02
UNIX Printing Software Administration and Installation Guide
Chapter 2: Installing and Configuring UNIX Printing Software on a HP/UX System
Shutting-down the Line Printer Scheduler
lpsched must be shut-down before running the lpadmin command; then turned back
on once the lpadmin command process completes.
To shut down
lpsched
, enter the following command at the command line. Press
RETURN
:
#
lpshut
The following message will appear:
scheduler stopped
Creating a Print Queue Using the lpadmin Command
Now that
lpsched
has been stopped, the
lpadmin
command will work.
Instructions on how to create a print queue are as follows:
1. Enter the
lpadmin
command at the command line. Press
RETURN
.
Example:
#
lpadmin -p40_test -M40 -v /dev/null
where
40_test
is the queue name and
-M40
is the name of the script created by
make_model.
2. Enter the
lpstat
command at the command line: Press
RETURN
.
Example:
#
lpstat -p40_test
The following message appears:
state will be disabled since the time it was created
3. Enter the following command at the command line. Press
RETURN
.
# enable <queue_name>
Example:
#
enable 40_test
The following message appears:
printer “40_test” now enabled.
4. Enter the following command to reinstate lpsched.
#
lpsched
The following prompt appears: