GRABIT(1)

NAME
grabit - recover the text representation of PostScript objects

SYNOPSIS
grabit [ options []] [ object] ...

DESCRIPTION
Grabit builds a PostScript program that generates a text representation of one or more PostScript objects. The program is written on the standard output. The following options are understood:

[-d]
Do not automatically dump the contents of unrecognized dictionary
    objects found in PostScript arrays.

    [-C file]
Copy
    file into the PostScript program. file must contain legitimate PostScript.

    [-L file]
Use file as the PostScript prologue.
    The default is /tmp/pkgbuild/textproc/DWB/work.vax/.destdir/usr/pkg/DWB/lib/postscript/grabit.ps(.)

When the program built by grabit is sent to a PostScript printer the text representation of each object is normally returned to the host computer over the printer's serial port. Use hardcopy(1) if you do not have access to the port.

Each argument should be a PostScript object or commands that generate a PostScript object. The program built by grabit produces results that are often close to legitimate PostScript that can be successfully sent through an interpreter.

EXAMPLES

If you can read and write and there is a PostScript printer on the other end, then recover the readable portions of the and dictionaries:
    grabit userdict statusdict | postio -l/dev/tty00 -t
Otherwise get a printout of the dictionaries:
    grabit userdict statusdict | hardcopy | lp ...
Arguments should be PostScript code that leaves an object on the stack. Dump the contents of Adobe's dictionary:
    grabit "1183615869 internaldict" | postio -l/dev/tty00 -t

FILES

SEE ALSO
hardcopy(1), postio(1)