|
|
1.1 ! root 1: .ds dQ /usr/lib/postscript ! 2: .TH GRABIT 1 "DWB 3.2" ! 3: .SH NAME ! 4: .B grabit ! 5: \- recover the text representation of PostScript objects ! 6: .SH SYNOPSIS ! 7: \*(mBgrabit\f1 ! 8: .OP "" options [] ! 9: .OP "" object ! 10: \&... ! 11: .SH DESCRIPTION ! 12: .B Grabit ! 13: builds a PostScript program that generates a text representation ! 14: of one or more PostScript ! 15: .IR object s. ! 16: The program is written on the standard output. ! 17: The following ! 18: .I options ! 19: are understood: ! 20: .TP 1.0i ! 21: .OP \-d ! 22: Do not automatically dump the contents of unrecognized dictionary ! 23: objects found in PostScript arrays. ! 24: .TP 1.0i ! 25: .OP \-C file ! 26: Copy ! 27: .I file ! 28: into the PostScript program. ! 29: .I file ! 30: must contain legitimate PostScript. ! 31: .TP 1.0i ! 32: .OP \-L file ! 33: Use ! 34: .I file ! 35: as the PostScript prologue. ! 36: .br ! 37: The default is ! 38: .MR \*(dQ/grabit.ps . ! 39: .PP ! 40: When the program built by ! 41: .B grabit ! 42: is sent to a PostScript printer the text representation of each ! 43: .I object ! 44: is normally returned to the host computer over the printer's serial port. ! 45: Use ! 46: .BR hardcopy (1) ! 47: if you do not have access to the port. ! 48: .PP ! 49: Each argument should be a PostScript ! 50: .I object ! 51: or commands that generate a PostScript ! 52: .IR object . ! 53: The program built by ! 54: .B grabit ! 55: produces results that are often close to legitimate PostScript that ! 56: can be successfully sent through an interpreter. ! 57: .SH EXAMPLES ! 58: .PP ! 59: If you can read and write ! 60: .MW /dev/tty00 ! 61: and there is a PostScript printer on ! 62: the other end, then ! 63: recover the readable portions of the ! 64: .MW userdict ! 65: and ! 66: .MW statusdict ! 67: dictionaries: ! 68: .EX ! 69: grabit userdict statusdict | postio -l/dev/tty00 -t ! 70: .EE ! 71: Otherwise get a printout of the dictionaries: ! 72: .EX ! 73: grabit userdict statusdict | hardcopy | lp ... ! 74: .EE ! 75: Arguments should be PostScript code that leaves an object on the stack. ! 76: Dump the contents of Adobe's ! 77: .MW internaldict ! 78: dictionary: ! 79: .EX ! 80: grabit "1183615869 internaldict" | postio -l/dev/tty00 -t ! 81: .EE ! 82: .SH FILES ! 83: .MW \*(dQ/grabit.ps ! 84: .SH SEE ALSO ! 85: .BR hardcopy (1), ! 86: .BR postio (1)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.