<snip>

I have a critcal issue with usd and lpd binding (stalling/hanging at the same time), 
the cause is unknown.

lpd is hung and displays as if the queue jobs were printing normally and the usa 
displays the first queued as;
Job # Job description  User name        Pri Forms       Size  Cps Status  Delay
006779 UniVerse         ograma:38        226              1996   1 1000%006783  
</snip>

I used to get some similarly strange behavior (uv -> Solaris lp queues).  I took the 
"shot gun" fix approach:
1) In UV Spooler/Device management I:
   a) created a "lock" file for each device "/tmp/uvprintername"
   b) instead of using /dev/null as the device for each UV printer,
      I created links in dev for each device pointing to the same pseudo device
      that /dev/null points to - so printer Jupiter would be configured in UV for
      DEVICE: /dev/Jupiter
      Lock1:  /tmp/lock.Jupiter

After making the above changes I still ocasionally get a "barf" condition, but it 
clears it self after a "usa -o -p name" followed by a usa +o...

Also of note:
2) Found that (at least on older versions of Solaris) lpsched would die and jobs
   would simply vanish, so I added the following to the "print driver" script:
    # Test to see if spooler is running                                  
    # Restart lp service if lpstat -r shows it's not running             
    while [ ! -z "`lpstat -r | grep not `" ]                             
      do                                                                  
        /etc/init.d/lp start                                            
        sleep 30                                                        
      done 
3) I give my unix printers the same name as my uv printers, so one script service 95%+ 
   of my printers...
4) Since the printing script is run by root you may want to make sure the permissions
   are set to "-rwx-r-xr-x", or even tighter.
                                                               
--
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users

Reply via email to