AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
 View Only
  • 1.  print queue stays in running state.

    Posted Mon June 08, 2009 12:46 PM

    Originally posted by: SystemAdmin


    When using hpjetdirect printing I have print queues that show running and job at 100% but the printer is not printing. One way I have been able to recreate the problem is by taking the printer off line and then power cycling the printer. I have found that doing a kill -15 to the qdaemon will get the job printing. I have over 400 machines and thousands of print queues configured this way. So it is hard to get an idea of what the users are doing to get this to happen but my guess is something similar. It is causing a lot of calls to our help desk and I would like to find a way to keep it from happening.
    #AIX-Forum


  • 2.  Re: print queue stays in running state.

    Posted Mon June 08, 2009 12:59 PM

    Originally posted by: alethad


    I have all my printers config'd as hpjetdirect but I only run into this issue occasionly. Unless there is an issue with the printer or the driver that was chosen when you set it up. Is it all your printers or just a few?

    I haven't found any way around this in all my years fo AIX. Maybe someone else may know.

    I have documentation for this if you're interested but here's what I have to do basically.
    Sometimes just stopping and starting the qdaemon will free it up. Sometimes you have to stop the qdaemon then do a ps -ef |grep qd, kill any left over jobs then restart the qdaemon back up. If the printer is in a DOWN state then do a qadm -Uprintername. If all that fails I kill the hung job and see if that will free up the queue.

    Good luck.
    #AIX-Forum


  • 3.  Re: print queue stays in running state.

    Posted Tue June 09, 2009 08:10 AM

    Originally posted by: SystemAdmin


    Thanks for the input. That's what we currently do. The problem is the Support manager want's to eliminate those types of calls. Guess it's script writing time.
    #AIX-Forum


  • 4.  Re: print queue stays in running state.

    Posted Fri June 26, 2009 05:15 PM

    Originally posted by: ericcron


    We have the same issue - we just blow up the first job in the queue and it starts printing.

    I suspect it has something to do with more than one server printing to the machine (for example, both a windows print server and an aix server send jobs to the same printer.)

    I'm also sick of these tickets myself, and the approach I'm going to take - rather than screwing with the output of the lpstat or qchk commands - is to inspect the the time on the files in /var/spool/lpd/qdir. The que name is part of the file name. If the file is too old - you have just found a problem.

    Eric
    #AIX-Forum