Adding print queue in AIX


 
Thread Tools Search this Thread
Operating Systems AIX Adding print queue in AIX
# 1  
Old 04-25-2014
Adding print queue in AIX

Hi

When I add a print queue in my AIX server I get the below message.
Code:
enq: (WARNING): 0781-162 Cannot awaken qdaemon (request accepted anyway). 
enq: errno = 2: A file or directory in the path name does not exist. 
Added print queue 'CUNE024'.

Also when I give a test print the status changes from READY to DOWN. Could someone please advise me why this happens.

When I ping the printer I'm getting a response.
Code:
pmut3:/> lpstat -pCUNE024 
Queue   Dev   Status    Job Files              User         PP %   Blks  Cp Rnk 
------- ----- --------- --- ------------------ ---------- ---- -- ----- --- --- 
CUNE024 @NUNE READY 
 
pmut3:/> lp -dCUNE024 /etc/motd 
Job number is: 566 
 
pmut3:/> lpstat -pCUNE024 
Queue   Dev   Status    Job Files              User         PP %   Blks  Cp Rnk 
------- ----- --------- --- ------------------ ---------- ---- -- ----- --- --- 
CUNE024 @NUNE DOWN 
              QUEUED    566 /etc/motd          root                   1   1   1

# 2  
Old 04-28-2014
Quote:
Originally Posted by newtoaixos
Code:
enq: (WARNING): 0781-162 Cannot awaken qdaemon (request accepted anyway).

You might have considered entering 0781-162 Cannot awaken qdaemon into you favourite search engine. I did that with Google (not my favourite, but anyways) and the first hit i got was:

0781-162 cannot awaken qdeamon

Quote:
Originally Posted by newtoaixos
Also when I give a test print the status changes from READY to DOWN. Could someone please advise me why this happens.
What else is the queue manager supposed to do? If a queue (or the queues print server, respectively) does not work it is taken down. Correct the problem (this means: make the print server service its task) and take the queue up again - qadm -U <queue>.

I hope this helps.

bakunin
# 3  
Old 04-28-2014
Hi Bakunin

I have already enabled the queue.
But as I said earlier when i give a test print the status goes to DOWN from READY.

For other printers when i give a test print it works fine. I'm not sure why this printer alone gives me a tough time :-)
# 4  
Old 04-28-2014
Quote:
Originally Posted by newtoaixos
I have already enabled the queue.
But as I said earlier when i give a test print the status goes to DOWN from READY.

For other printers when i give a test print it works fine.
My suspicion is that the other print queues are working (that is: producing a piece of imprinted paper upon request) , whereas this one is not.

You can create any print queue you like, even if the print server (aka: printer) you specify for it does not exist at all. The print queue will be shown as "READY" as long as nobody tries to print anything via it, because the printing subsystem will not poll the print server for readiness. With the first (failing) job the queue will go down and remain that way until taken "UP" again by the "qadm" (or equivalent) command.

I hope this helps.

bakunin
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Remote print from SLES (SAP) to AIX 7.1 04 sp2 virtual printer queue gets down

Hello Administrators. I have a bit difficult problem. I have local virtual printer that has backend defined in /etc/qconf to script which in turns sends the spool to the real device. whenever I print locally (from sap) the print works as it should. The printer queue after the print is done... (6 Replies)
Discussion started by: Deneth
6 Replies

2. UNIX for Dummies Questions & Answers

Error in adding print queue

Hi Everyone, I am trying to add a print queue using HPPI. After selecting the option to add a new printer, I get the following message: ERROR: Printer configuration error Could not find the printer configuration file Please verify software installation Can someone please assist me with... (1 Reply)
Discussion started by: Scarlet
1 Replies

3. AIX

AIX Print Queue

I am trying to print from Aix 6.1 using a remote queue to a Brother 7360N All in one, I can see the printer, but only output is blank pages. My smit setup is: Name of queue: testprt Hostname if Remote Printer: testprt (I added name to etc/hosts) Name of queue on remote printer: testprt (I... (4 Replies)
Discussion started by: Al Metz
4 Replies

4. UNIX for Advanced & Expert Users

[Solved] remove all print jobs from a print queue

Hello, Sometimes i need to clear all the jobs of a print queue and it is really annoying to cancel one by one. Is there a way to cancel all print jobs for a specific print queue with a single command instead of cancelling them one by one? My AIX system is 5.3 Thank you for your attention (2 Replies)
Discussion started by: omonoiatis9
2 Replies

5. AIX

Maximum number of Print Queue on AIX?

Hi, Currently we are experiencing qdaemon died, hourly. We have more than 10,000 print queue on AIX 5.3. Would this cause the qdaemon to die? What is the maximum number of print queue on AIX 5.3? Thank you in advance. (0 Replies)
Discussion started by: raybakh
0 Replies

6. Solaris

Print to ps2pdf print queue

I am trying to create a printer queue, on a SunOS 5.7 system, that outputs a pdf file. There is an application running on the system that has a print button, which sends print files to the default printer. If I disable the printer, I am able to manually capture the files in /var/spool/lp/tmp and... (2 Replies)
Discussion started by: Sean_69
2 Replies

7. UNIX for Dummies Questions & Answers

Print to a ps2pdf print queue.

I am trying to create a printer queue, on a SunOS 5.7 system, that outputs a pdf file. There is an application running on the system that has a print button, which sends print files to the default printer. If I disable the printer, I am able to manually capture the files in /var/spool/lp/tmp and... (1 Reply)
Discussion started by: Sean_69
1 Replies

8. HP-UX

Help adding a printer queue

Hello, I need some help on the following issue: Need to have a printer queue added to the "sssssss" server.The IP address is "xxx.xxx.xxx.xxx". It is an HP8000 printer. Can you please point me to the right direction. Thank you (0 Replies)
Discussion started by: AQG
0 Replies

9. AIX

AIX 5 print queue

I have setup a printer and queue using SMIT and I have set the default tray to 4. What I am trying to find out is if there is a way to set the next tray it trys to use if tray 4 is empty to tray 3, then tray 2, then tray 1. (0 Replies)
Discussion started by: chefsride
0 Replies

10. AIX

Basic AIX Print Queue Questions

Morning, All I've been doing some work on AIX print queues, troubleshooting some underlying issues we've been having. In the process of this I've uncovered some potential gaps in our knowledge. Our typical setup is remote impact printers (In this case OKIML5520s, with NICs) and local queues... (0 Replies)
Discussion started by: alexop
0 Replies
Login or Register to Ask a Question