File: README.UTILITYPROGRAMS

package info (click to toggle)
ifhp 3.5.7-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 3,220 kB
  • ctags: 1,647
  • sloc: ansic: 14,617; sh: 8,969; makefile: 613; perl: 311
file content (77 lines) | stat: -rw-r--r-- 3,070 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
       Utility Programs Used By IFHP
       Tue Apr 13 21:39:23 PDT 1999


I recommend the following utility programs for use with LPRng.
They seem to be the 'best of their breed', at least for this week:

A2PS - Ascii Text to PostScript Converter
   http://www-inf.enst.fr/~demaille/a2ps
   ftp://ftp.enst.fr/pub/unix/a2ps/

    a2ps is an Any to PostScript filter. It started as a Text to
    PostScript converter, with pretty printing features and all the
    expected features from this kind of programs. But today, it is also
    able to deal with other file types (PostScript, Texinfo, compressed,
    whatever...) provided you have the necessary tools.

    Some samples of its Text to PostScript feature are available: in
    plain style, or in the gray style (and its alternative gray2), or
    with colors. (Remember!  Sometimes you can't trust too much ghostview:
    print it, then evaluate!)

    You can even see more samples! (they are old though, and don't
    reflect very well everything that can be done.)


GNU enscript
   http://www.gnu.org  - following links to ftp mirror site

   This is similar to a2ps,  but with a more limited set of functionality.

file - utility to determine file type
   ftp://ftp.astron.com/pub/file/
   ftp.deshaw.com/pub/file/
     OR a copy can be obtained from:
   ftp://ftp.lprng.com/pub/LPRng/UNIXTOOLS/file/

   Also available from the RedHat.com SRPMS in (of course) rpm format


	FILE(1)                                                   FILE(1)
	NAME
		   file - determine file type
	SYNOPSIS
		   file  [ -vczL ] [ -f namefile ] [ -m magicfiles ] file ...
	DESCRIPTION
		   This manual page documents version 3.21 of the  file  com-
		   mand.   File tests each argument in an attempt to classify
		   it.  There are three sets  of  tests,  performed  in  this
		   order:  filesystem tests, magic number tests, and language
		   tests.  The first test that succeeds causes the file  type
		   to be printed.

		   The  type  printed  will  usually contain one of the words
		   text (the file contains only ASCII characters and is prob-
		   ably  safe  to read on an ASCII terminal), executable (the
		   file contains the result of compiling a program in a  form
		   understandable  to  some  UNIX kernel or another), or data
		   meaning anything else (data is usually  `binary'  or  non-
		   printable).   Exceptions are well-known file formats (core
		   files, tar archives) that  are  known  to  contain  binary
		   data.   When  modifying  the file /usr/share/misc/magic or
		   the program itself,  preserve  these  keywords  .   People
		   depend  on knowing that all the readable files in a direc-
		   tory have the word ``text'' printed.  Don't do as Berkeley
		   did  - change ``shell commands text'' to ``shell script''.


GhostScript - PostScript converter
   http://www.ghostscript.org
   http://www.cs.wisc.edu/~ghost/index.html
   http://www.ghost.com/

   Does conversion from PostScript and PDF to a wide range of other
   formats, including those compatible with various printers.