<<prev file | next file >>    view single page | view frames    summary: fields | routine    details: routine

Postscript/

printps.pro

postscript visualisation/archiving/printing

Routine summary

printps_event, event

- archiving possibilities - if archive_ps (common variable of cm_4ps) ne 0 then the postscript can be saved for archiving if it is printed or if the button "archive ps" is pressed.

printps[, psfilename]

topprintps_event for the postscripts

printps_event, event

- archiving possibilities - if archive_ps (common variable of cm_4ps) ne 0 then the postscript can be saved for archiving if it is printed or if the button "archive ps" is pressed. if it is printed and archive_ps = 1 then the archiving is done automatically whereas we ask if the postscript file must be archived or not. If the postcript name is "idl.ps" (default name) then this name will be changed to number.ps (number automatically found to be 1 larger that any of the existing ps file).

Parameters

event       

Version history

History

Sebastien Masson (smasson@lodyc.jussieu.fr) 21/12/98 25/8/19999 utilisation des widgets 8/9/1999 utilisation de cw_bgroup June 2005: Sebastien Masson: cleaning, english version with new commons

Known issues

Restrictions

1) this is working only with unix/linux/osX machines 2) definition of the printing command the printing command is defined by the common variable "print_command" in cm_4ps. This command must be defind/build in a way that it the instruction: print_command[i]+printer_machine_names[i]+' '+file.ps or print_command+printer_machine_names[i]+' '+file.ps is working. default definition is 'lpr -P'

topprintps

printps[, psfilename]

Parameters

psfilename        in optional

the name of the postscript file we want to visualize and/or print and/or archive. It can also refer to a gzipped postscript file. If needed, this name will be completed by .ps and/or .gz

Examples

IDL> printps

Version history

History

Sebastien Masson (smasson@lodyc.jussieu.fr) 21/12/98 25/8/19999 utilisation des widgets 8/9/1999 utilisation de cw_bgroup June 2005: Sebastien Masson: cleaning, english version with new commons

Other attributes

Uses routines

cm_4ps
Produced by IDLdoc 2.0.