ITEM: AA2500L

mkvirprt does not work from command line.


Question:

I want to run mkvirprt from the command line.  I'm entering:

mkvirprt -d lp1 -n lp1 -q aaa -s asc -t 4201-3

I am getting the following error:

        0782-318 aaa is not a valid queue name.

This seems as if it should work because when this is done from smit or in
interactive mode on the commmand line (mkvirprt w/o parameters), it works
even though the queue name aaa didn't exist before you start.

Response:

When you use mkvirprt from the command line you must first run mkque and
then mkquedev.  smit and the interactive mkvirprt take care of this for
you.

\# mkque 
usage: mkque -D -q\ -a\ [-a\ ...]
(The -D parameter will make this queue the default queue for your system.
-a parameters are not required, they are optional.)

\# mkquedev
usage: mkquedev -q\ -d\ -a\ [-a\ ...]
(The -a to specify the backend program is absolutely required.  Watch
the syntax, spaces must be included when specifying the backend.)

\# mkvirprt (usage for command line use)
usage: mkvirprt -d\ -n\ -q\ \\
>    -s\ -t\

\# mkque -q aaa
\# mkquedev -q aaa -d lp1 -a 'backend = /usr/lib/lpd/piobe'
\# mkvirprt -d lp1 -n lp1 -q aaa -s asc -t 4201-3


Support Line: mkvirprt does not work from command line. ITEM: AA2500L
Dated: July 1994 Category: N/A
This HTML file was generated 99/06/24~13:30:32
Comments or suggestions? Contact us