Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1556
News FAQ
Search Home


next up previous contents index
Next: viewercanvasprintmanager.writexpm - Function Up: viewercanvasprintmanager - Tool Previous: viewercanvasprintmanager.gui - Function


viewercanvasprintmanager.writeps - Function



Package display
Module viewer
Tool viewercanvasprintmanager


Write a PostScript file


Synopsis
writeps(filename, media, landscape, dpi, zoom, eps)


Arguments

filename   name of file to write
    Allowed: string or unset
    Default: unset
media   paper type
    Allowed: 'A4' 'LETTER'
    Default: 'A4'
landscape   print in landscape mode?
    Allowed: boolean
    Default: F
dpi   resolution of output in dots per inch
    Allowed: integer
    Default: 100
zoom   scaling of output
    Allowed: float in (0,1]
    Default: 1.0
eps   generate encapsulated PostScript output
    Allowed: boolean
    Default: F


Returns
fail or name of file written


Description

This function writes a PostScript version of the current view on display in the Viewerdisplaypanel tool for which this tool provides canvas print management facilities. The PostScript output will have the same aspect ratio as that of the Viewerdisplaypanel tool displayed on screen (provided the screen pixel aspect ratio is close to 1.0), but may differ slightly in color use and resampling resolution for raster images. If the filename argument is left unset, then a sensible filename is generated by the Viewer tool. The dpi argument allows the caller to specify the resolution of the output.





next up previous contents index
Next: viewercanvasprintmanager.writexpm - Function Up: viewercanvasprintmanager - Tool Previous: viewercanvasprintmanager.gui - Function   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-10-15