Describes creation of a print queue in a Sun Solaris environment
Facts or Affected Items:
Defining a print queue on a Sun Solaris Unix system.
This command deletes the print queue named "zebra2":
lpadmin -x zebra2
This command creates a new print queue named "zebra2", where the QL printer network name is "zebra":
lpadmin -p zebra2 -v /dev/null -m netstandard -o dest=zebra -o nobanner
Before creating a print queue, you should try to delete it first in case it had already been created improperly.
After you create the print queue, verify it was created properly by issuing the following commands:
lpstat -v zebra2
(This should print the following as a response: "device for zebra2: /dev/null")
lpstat -p zebra2 -D -l
(This should print something similar to this: printer zebra2 is idle. enabled since Fri Mar 21 12:23:56 PST 2003.
Content types: simple
Printer types: unknown
After fault: continue
Banner not required
Default page size:
Default port settings:
Technologies Corporation makes no representations about the suitability of this
documentation for any purpose. It is provided "as is", for your information only, without
warranty of any kind, either expressed or implied, including, but not limited
to, implied warranties of merchantability, fitness for a particular purpose and