SUMMARY: Problems with Printtool

From: Richard N. Cleary (rnclear@sandia.gov)
Date: Sat Nov 19 1994 - 05:24:08 CST


Hi,
        It turns out that the problem with printtool was a bug
        and required a patch. Thanks to Andrew Watkins for pointing
        me in the right direction. Below is his response and an anonymous
        ftp site where the patch can be found. Thanks again.

------------------------------------------------------------

Host ftp.germany.eu.net (192.76.144.75)
Last updated 04:11 12 Nov 1994

    Location: /pub/comp/sun/sun-fixes
      FILE -rw-r--r-- 1062 bytes 19:00 31 Mar 1994 100499-04.README
      FILE -rw-r--r-- 32092 bytes 18:00 10 Apr 1994 100499-04.tar.Z

Host ftp.cs.uni-sb.de (134.96.7.254)
Last updated 09:55 1 Nov 1994

    Location: /pub/systems/sun-fixes/100400-100499
      FILE -rw-r--r-- 32092 bytes 18:00 6 Apr 1994 100499-04.tar.Z

>From andrew@dcs.bbk.ac.uk Mon Nov 14 09:10:53 1994
From: Andrew Watkins <andrew@dcs.bbk.ac.uk>
Date: Mon, 14 Nov 94 11:23:46 GMT
To: rnclear@sandia.gov
Subject: printtool
Content-Length: 1782

>
> Printing /home/rnclear/datafile
>
> Unable to execute print command
>
Guess what it is a known bug!
He is the patch information. If you can get hold of the patch I think
you can get round the problem by having the longest entry in the
first two columns.

Good luck

Andrew

******************************************************************************
Andrew Watkins e-mail: andrew@dcs.bbk.ac.uk
System Group tel: 071-631 6720
Computer Science Department fax: 071-631 6727
Birkbeck College (University of London)
Malet Street
London
WC1E 7HX
******************************************************************************

Patch-ID# 100499-04
Keywords: printtool
Synopsis: OpenWindows 3.0: printtool looks for longest entry instead of first 2
Date: Apr/01/94
 
SunOS release: 4.1, 4.1.1, 4.1.2, 4.1.3
 
Unbundled Product: Openwindows 3.0
 
Topic: Printtool patch
 
BugId's fixed with this patch: 1074177 1058325 1099010

Changes incorporated in this version: 1099010

Architectures for which this patch is available: sun4

Files included with this patch: printtool

Problem Description:

BUGID Description

1074177 printtool looks at all printer names for longest name instead of
        first 2. This version only looks at the first two and chooses the
        longest from them.
1058325 print check error(): pipe error: Error 0", nothing prints

1099010 Printool does not allow root to delete other peoples print jobs.

INSTALL:

As root, make a backup copy of printtool:
        mv $OPENWINHOME/bin/printtool $OPENWINHOME/bin/printtool.FCS

Now install the patched version of printtool and verify permissions:

        cp sun4/printtool $OPENWINHOME/bin/printtool
        chmod 755 $OPENWINHOME/bin/printtool

----------------------------------------------------------------------------

                                   Richard N. Cleary
     _/_/_/ _/ _/ _/ SANDIA NATIONAL LABORATORIES _/_/_/
   _/ _/_/ _/ _/ P.O. Box 5800 _/_/
  _/_/_/ _/ _/ _/ _/ Albuquerque, NM 87185-1193 _/_/_/_/_/_/
     _/ _/ _/_/ _/ rnclear@sandia.gov - E-Mail _/ _/_/ _/
_/_/_/ _/ _/ _/_/_/_/ 505/845-7836 - Phone (voice-mail) _/ _/_/ _/



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:09:15 CDT