Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

enq command

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Dear All,
would appreciate someone explain to me the result of using
the below command and when can I apply it?any special setup require before issue this command.
enq -o -d -o c <file>
after the execution,file qconfig.bin is created.
Can I just remove this file
TQ in advance
 
Don't delete the qconfig.bin and do read the man page for both enq and piobe. They are quite complicated and you can see from below that you will need more info to answer your question.

>man enq
...
-o Option Specifies that flags specific to the backend be passed to the backend.
Thus, for each queue there are flags not described in this article that can be
included on the enq command line. See the piobe command for a list of these
flags.
...
15. To print a file with page numbers using the piobe command backend on the
default printer, enter:
enq -o -p filename

The -p flag is not looked at by the enq command. The -o flag tells the enq
command to pass the next item, which can be in quotes, to the backend
unchanged. So, the enq command passes the -p flag to the qdaemon process,
which in turn passes it to the backend piobe. The -p flag causes piobe to
execute the /usr/bin/pr filter to apply page numbers to the document before
giving data to the device. Multiple options can be given in quotes preceded
by one -o flag or without quotes and individually preceded by more than one
-o flag.
IBM Certified -- AIX 4.3 Obfuscation
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top