Administration Guide : Command-line manual pages

PSFILETYPE(1) manual page


psfiletype - determine format of file for PostScript conversion


/usr/etc/appletalk/psfiletype file


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.


Psfiletype exits with status 1 if it cannot read the file

See Also

imagetox(1) , imagetops(1)