
Configuring UNIX Printing Software on a SUN Solaris System
UNIX Printing Software Administration and Installation Guide
8/25/02
5-81
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 following two
lpadmin
commands at the command line. Press
RETURN
after each command entry.
# lpadmin -p40_Test -m(model name) -v /dev/null
where 40_Test is the queue name and
-M
is the name of the script created by
make_model.
# lpadmin -p40_Test -Iany
where
40_Test
is the queue name and
-I
is the flag that allows you to include
all text, Postscript and PCI files.
2. Enter the following command to reinstate lpsched.
#
/usr/lib/lpsched
The following prompt appears:
Print Services Started
3. Enter the
lpstat
command at the command line: Press
RETURN
.
Example:
#
lpstat -p40_test
The following message appears:
40_test disabled
4. Enter the following command at the command line. Press
RETURN
.
#
enable printer_name
Example:
#
enable 40_test
The following message appears:
printer “40_test” now enabled.
5. Enter the
accept
command at the command line to prepare the print queue to
accept requests:
Example:
#
/usr/sbin/accept 40_test
The following message appears:
destination “40_test” now accepting requests.
Содержание B6100n
Страница 1: ...OKI DATA 81 3ULQWLQJ 6RIWZDUH GPLQLVWUDWLRQ DQG QVWDOODWLRQ XLGH...
Страница 6: ...vi8 25 02 UNIX Printing Software Administration and Installation Guide Contents...
Страница 106: ...6 1008 25 02 UNIX Printing Software Administration and Installation Guide Chapter 6 Running the Software...