Its man page reads:
NAME epsfcompose - generate composite eps files SYNOPSIS epsfcompose [-hp] [-m mx my ] [-a] epsf1 x1 y1 s1 r1 [epsf2 x2 y2 s2 r2 ....] DESCRIPTION 'epsfcompose' reads 1 or more eps files epsf1, epsf2,... and generates a composite in which the origin of epsf_i is shifted by (x_i,y_i) and each sub-image is scaled so its size is s_i times its original size and is rotated anticlockwise by an angle r_i degrees. You can use this to overlay eps files (or rotate/scale individual eps files) or to generate a composite eps file containing sub-plots on a grid say. Note that the spatial origin about which the image will scale, rotate is where the lower-left corner of the page would be if the eps fle were printed by itself. This most likely does not coincide with the origin of physical or user coordinates. This can be confusing. Note also that it is possible to generate eps images where the lower-left corner has one or both coordinates negative, so the image would necessarily be cropped if printed. With the -m optional of the images will be subject ot an additional shift of coordinates so that the final lower-left corner lies at (mx,my). Note that ghostview displays the whole interior of the bounding box of an image, and gives cursor location readout. 'epsfcompose' first looks for the bounding boxes of the input epsf files and computes outputs a header for an epsf file whose bounding box just contains the shifted, scaled and rotated corners of the input bounding boxes (with extra shift to get lower-left point wrt the lower left page corner with -m option). For each input image it saves the state; does miminalistic set up of fg/bg and default line type, outputs postscript commands to implement the shift, scaling and rotation followed by the non-comment lines of the input eps file bracketed by BeginDocument, EndDocument comments. With the -a option, the x,y origin shifts are multiplied by the width and height of the scaled bounding box of the first eps file to facilitate laying out sets of images on a grid (you can set the spacing to be convenient multiples of the 1st plot size). Use -hp option if printing on the big HP printer to include the 'setpagesize' directive. Note that options must be given in order shown in synopsis. AUTHOR Nick Kaiser - email@example.com
With my gs, I do something like
dvips -f -pp 1-1 < source.dvi | gs -q -dNOPAUSE -dSAFER -sDEVICE=epswrite -sOutputFile=page1.epswhich in this case generates an eps file for page 1 of source.dvi. You probably want to do 'gs --help' to check the options.