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

Creating a Print Queue Using the lpadmin Command, printer_name

Page 87 highlights

Configuring UNIX Printing Software on a SUN Solaris System 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. UNIX Printing Software Administration and Installation Guide 8/25/025-81

  • 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-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.