ras2ps man page on SunOS

Man page or keyword search:  
man Server   20652 pages
apropos Keyword Search (all sections)
Output format
SunOS logo
[printable version]

ras2ps(1)							     ras2ps(1)

NAME
       ras2ps - converts a Sun RasterFile to a PostScript file

SYNOPSIS
       ras2ps  [  -x xoffset  ]	 [  -y yoffset ] [ -X xscale ] [ -Y yscale ] [
       -w width ] [ -h height ] [ -r rotation ] [ -i ] [ -C ] [ -l ] [ -n ]  [
       -v ] [ -q ] [ rasterfile | - ] [ psfile ]

DESCRIPTION
       ras2ps  converts	 a Sun RasterFile to a PostScript file.	 If both file‐
       names are missing, the rasterfile is read from stdin and the PostScript
       is written to stdout.  If there is only one filename, then it is inter‐
       preted as the rasterfile and is opened for input.  To have a named out‐
       put  PostScript	file  and  still read the rasterfile from stdin, use a
       dash (-) in place of the input filename.

OPTIONS
       -x xoffset
	    Set the amount of space to the left of the	image  to  be  xoffset
	    inches.   The  default  is a quarter inch to keep the image in the
	    imagable area of the printer.

       -y yoffset
	    Set the amount of space below the image to	yoffset	 inches.   The
	    default is a quarter inch same as above.

       -X xscale
	    Multiply  the  width  of  the  image  by  xscale.  This is used to
	    stretch or shrink an image along the X axis.

       -Y yscale
	    Multiply the height of the image  by  yscale.   This  is  used  to
	    stretch or shrink an image along the Y axis.

       -w width
	    Set the max width in inches.

       -h height
	    Set	 the  max  height  in  inches.	 The -w and -h options set the
	    desired width and height of the output image in  inches.   Default
	    height  and	 width	are  the  source  image dimensions at 300 dpi.
	    ras2ps will expand or shrink the image to  fit  these  dimensions,
	    while  still  preserving  the image scale values.  The closest fit
	    within the boundaries will be used.	 Note that  width  and	height
	    arguments  do  not	stretch	 or shrink the image, but only set its
	    limits.  At least one of width or height is guaranteed to be  sat‐
	    isfied.

       -r n Rotate  the	 image	by n degrees, counterclockwise.	 The origin of
	    rotation is the lower left corner of the image at the point speci‐
	    fied by the -x and -y options.

       -i   Invert  the	 image.	  This will reverse black and white on a mono‐
	    chrome image and is of limited usefulness on color images.

       -C   Output 8 and 24 bit images as color PostScript using the  colorim‐
	    age operator as supported by printers such as the QMS ColorPS 800.

       -l   Orient  the	 image in landscape mode, which puts the origin at the
	    lower right corner of the page and rotates the image  90  degrees.
	    All	 arguments  follow  this new orientation.  The default is Por‐
	    trait mode.

       -n   Do not include the PostScript operator 'showpage' in  the  output.
	    This  is  for  backward  compatibility  with programs which do not
	    override 'showpage' as the EPSF spec advises.

       -v   Verbose mode will print information as  it	processes  the	image.
	    (The default is to be silent.)

       -q   Query (prints list of options)

SEE ALSO
       lp(1), 24to8(1)

				 11 March 1992			     ras2ps(1)
[top]

List of man pages available for SunOS

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net