Discussions:
Describes creation of a print queue in a Sun Solaris environment
Facts or Affected Items:
QL Printers
Details
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.
available)
Form mounted:
Content types: simple
Printer types: unknown
Description:
Connection: direct
Interface: /usr/lib/lp/model/netstandard
After fault: continue
Users allowed:
(all)
Forms allowed:
(none)
Banner not required
Character sets:
(none)
Default pitch:
Default page size:
Default port settings:
Options: dest=zebra
Notice: Zebra
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
non-infringement.
|