NOTES ON PROGRAMS IN pstools
____________________________________
______________________________________________________________
Adds a text string to label the bottom of an image. You can hack the program if you want to change the font size.
requires Impressario Server Software
______________________________________________________________
Adds a preview image to an eps file. If you do this showcase will display someting more interesting than a box with a filename.
requires Impressario Server Software
______________________________________________________________
This converts an Encapsulated PostScript file into an SGI image file. The -a option is to output an rgba file instead of rgb. The -f option forces full page rendering. The -p option specifies the resolution is pixels per inch. The -t option specifies the max seconds for conversion. The -d option specifies a temp directory to use.
Image Scripts employing fromeps:
requires Impressario Server Software
______________________________________________________________
This converts a multipage PostScript document into a series of SGI image files. The -p option specifies the resolution in pixels per inch. The -s option specifies the page size in inches. The -c option specifies a script to run on each output image.
requires Impressario Server Software
______________________________________________________________
Uses a PostScript interpreter to render each word. This is one way of getting arbitrary typefaces on html pages.
requires Impressario Server Software
______________________________________________________________
Imgtops traces a a b/w image and makes a PostScript path that fills the interior of the image. The -q option will quantize the geometry to give a more polygonal look. The -g option will cause the program to use graphics. Imgtops normally generates a showpage command on output, this can be disabled with the -noshowpage option. The -c option allows the color of the filed region to be set to a specific color instead of the default black.
______________________________________________________________
This program emulates a line printer and generates PostScript output. xpages and ypages specify how big an array of 132 column pages to print on.
______________________________________________________________
If factor is 2, 4 pages are printed, if 3, 9 are printed, etc. Any positive integer value is valid, although it is pretty hard to read if factor is larger than 3.
MULTIPRINT(1) UNIX System V (24 May 1988) MULTIPRINT(1) NAME multiprint - map multiple pages onto PostScript pages SYNOPSIS multiprint [ -f font ] [ -F font ] [ -p factor ] [ -P printer ] [ -d printer ] [ -h ] [ -r ] [ -s ] filename(s) DESCRIPTION Multiprint maps pages from files to PostScript pages and sends the output to the line printer. Each PostScript page will contain factor-by-factor pages from the files. OPTIONS -f Use font font to print the body of each page. -F Use font font to print the title of each page. -p Change factor from default of 2 to factor. (-2 is a synonym for -p 2, -3 for -p 3, etc.) -P On systems with the BSD lpr command, send output to printer instead of the default printer. -h On systems with the BSD lpr command, suppress printing of the burst page. -d On systems with the System V lp command, send output to printer instead of the default printer. -r Output pages in row major order instead of column major. -s Output to standard output instead of to the printer. BUGS Tabs are expanded to spaces, which does not work well with proportionally spaced fonts.
______________________________________________________________
This makes a nx by ny array from a set of EPS files.
______________________________________________________________
This takes a PostScript document with page structuring conventions and generates 2 or 4 page signatures on a laser printer. The document is printed in the correct page order so that the pages can be taken from the printer, folded, stapled and cut to make books. Pagescale specifies how much to scale the pages down for printing. If the -pagespread option is used, then page spreads are genererated instead of signatures. Normally psbook outputs PostScript code to linearize our printer greyscale, this can be disabled with the -nosettrans option. The -s option allows you to specify the input page size in inches -- this defaults to 8.5 by 11.0. The -o option sets a x and y offset that is applied to each page. The dxoffset is used to make the x offset on left pages different from the offset of right pages. The -b option can be used to specify the thickness of the binding. The -minicomic option prints an eight-page minicomic for your document.
______________________________________________________________
Pscal prints a calendar for one month using the specified image file. Specify the numerical month and year, and then name an image file to illustrate the calendar. The calendar page will be printed on the default printer.
______________________________________________________________
Pscat takes one or more PostScript documents with page structuring conventions and inserts transformations to adjust the offset and scale of the documents. This may be used as part of the procedure for creating a book from different documents.
______________________________________________________________
This program looks for the page strcuturing conventions that indicate the inclusion of an image, and deletes the image data.
______________________________________________________________
Psfold takes a PostScript document with page structuring conventions and outputs pages with a vertical (-vfold) or horizontal (-hfold) fold. The input document normally should be a sequence of pages where each input page represents a page spread. The -s option specifies the input page size in inches. This defaults to 8.5 by 11.0. This program may be used as part of the procedure for creating a book.
______________________________________________________________
This will convert carriage returns (cr) to newlines (nl) in a PostScript file.
______________________________________________________________
Psfold takes a PostScript document with page structuring conventions and outputs Postscript that prints the pages reduced in size and arrayed in x and y. Nx and ny specify how the input pages should be arrayed on the output page. The -s option specifies the input page size in inches. This defaults to 8.5 by 11.0. Normally psnup outputs PostScript code to linearize our printer greyscale, this can be disabled with the -nosettrans option.
______________________________________________________________
This writes out a PostScript file that is a pattern of 441 dots that can be photographed and used to correct for geometric distortions. This image is analysed by the mkwarp program.
______________________________________________________________
This prints the input image with a scale that shows the size of the image in pixels.
______________________________________________________________
This program generates a optimal color map for the input image in.rgb with ncolors. The image is quantized to these colors, and each colored area is converted into filled PostScript areas. The minimum edge length in pixels is specified by edgelenght. The -q option can be used to quantize x and y coordinates in the areas to a grid.
______________________________________________________________
This prints test scales that can be used to calibrate printers. If the argument is 1, a black and white test scane is printed. If the argument is 2, a cmyk test scale is printed. An argument of 3 causes a 0.5 inch grid to be printed across the page.
______________________________________________________________
This demo program generates some smooth shaded triangles in PostScript.
______________________________________________________________
This program generates an array of slide images from the input image files.
______________________________________________________________
This takes a one page PostScript document, and generates a two dimensional array of copies on the output page. The x and y dimensions of the tiled array of pages is determined by how many copies will fit on a 8.5 by 11.0 inch page. The -s option specifies the input page size in inches. This defaults to 8.5 by 11.0. Normally pstile outputs PostScript code to linearize our printer greyscale, this can be disabled with the -nosettrans option.
______________________________________________________________
This converts a multipage PostScript file into a series of separate EPS files, one per page.
______________________________________________________________
This is an ultra simple PostScript previewer.
requires Impressario Server Software