[lug] Dummy Postscript Printer

Alan Robertson alanr at bell-labs.com
Wed Sep 22 23:11:53 MDT 1999

Arlan Ramsay wrote:
> This may be what you need: if myfile.dvi is the output from TeX,
> dvips -o output.ps myfile
> will produce a postscript file without shipping it directly to the
> printer.  If you replace 'output.ps' by a longer pathname, you can
> make the file land where you want it.
> Good luck,
> *****************************************************************
> Arlan Ramsay
> Department of Mathematics
> CB 395
> University of Colorado, Boulder
> Telephone 303-492-7148
> Fax 303-492-7707
> ramsay at euclid.colorado.edu
> On Wed, 22 Sep 1999 ekihn at ngdc.noaa.gov wrote:
> >
> > Greetings,
> >
> >       Does anyone know of a way to set up a dummy PS printer which will
> > effectively dump the print to a file? That is to say instead of spooling the
> > data to a waiting printer just dump the data to a .ps file in a named
> > directory. If so I would be most interested...

Most UNIX programs (netscape, for example) have a dialog box for printing.  If
this is the situation you're in, then try putting this in the print command
dialogue box:
	cat >filename

instead of putting in "lpr".

[I feel silly suggesting this, but it may be all you need]

	-- Alan Robertson
	   alanr at bell-labs.com

More information about the LUG mailing list