psfiletype(1)

psfiletype - determine format of file for PostScript conversion

As shipped in IRIX 6.5.22. Last changed in IRIX 6.5.15.

     NAME
          psfiletype - determine format of file for PostScript
          conversion

     SYNOPSIS
          /usr/etc/appletalk/psfiletype file

     DESCRIPTION
          The psfiletype program scans the given file to figure out
          what kind of file it is; mainly to distinguish between
          PostScript and image files so that they may be printed
          correctly on a PostScript printer.  After determining the
          data type, psfiletype prints one of the strings:  image,
          eps, PostScript, unsupported, or unknown.  The result
          ``unsupported'' means that the file is an image, but the
          imagetops program won't be able to convert it to PostScript.

     DIAGNOSTICS
          Psfiletype exits with status 1 if it cannot read the file

     SEE ALSO
          imagetox(1), imagetops(1)