Name


Output

postscript - convert pixmap	to PostScript and store	in file

Summary

     Name	   output postscript

Type

  renderer

Inputs

   pixmap (required; pixmap)
     Outputs	   none

Parameters

   Name		   Type
		   filename	   browser
		   mode		   choice

Description

     The output	postscript module converts its input pixmap to the
     PostScript	page description language and stores it	in a file.
     After the file is written,	the filename is	reset to NULL.	This
     prevents subsequent changes upstream in the network from automatically
     triggering	the rewriting of the file.  A new file is written only when
     you enter a filename.
     Two types of PostScript output are	supported:
     +	 PostScript-compatible monochrome laser printer.
     +	 PostScript-compatible color laser printer.
INPUTS
     pixmap (pixmap)
	  Any AVS pixmap.
PARAMETERS
     filename
	  A file browser that allows you to specify the	name of	the
	  PostScript file to be	created.  After	the file is written, the
	  filename is reset to NULL.  This prevents subsequent changes
	  upstream in the network from automatically triggering	the
	  rewriting of the file.  A new	file is	written	only when you enter
	  a filename.
     Mode
	  Selects the type of PostScript output: laserwriter or
	  ColorScript 100.

Example

     This example converts an image to a PostScript file:
	   READ	IMAGE
	       |
	  IMAGE	TO PIXMAP
	       |
	  OUTPUT POSTSCRIPT
RELATED	MODULES
     image to pixmap, render geometry, alpha blend

Limitations

     This module does not work on a 16-plane system.
Notes:
THER MODIFIED for temporary port to Titan P2 architecture BY:
        Charlie Hill
        Fluids Section (PG)
        Mechanical Engineering Department
        Imperial College of Science Technology & Medicine
        Exhibition Rd
        London SW7 2BX
        071 589 5111 x6215
        umemf66@uk.ac.ic.cc.vaxa
        NOTE
        The resulting module for the Titan is modal: it will
        only function when the pixmap it receives comes from
        the image_to_pixmap module (i.e. NOT from the render_
        geometry module). The module fails when used with
        render_geom, so it is necessary to convert pixmaps to
        images and then the image back to a pixmap to work
        round the problem. The problem is probably due to my
        extremely dubious practice of simply commenting out the
        shared memory image handling case statement! Anyone who
        knows more about Titan & X than me should be able to
        port the module more completely.
        The executable in this directory is for a ST-3000 P3 Titan.
Release	2.0			  Stellar	       dump postscript(6)