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

Postscript/

printps.pro

- 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 postscript 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). postscript visualisation/archiving/printing

Routine summary

printps_event, event, uval=uval

printps[, psfilename], ARCHIVE=integer 0 or 1, DIRECTPRINT=string

topprintps_event Postscripts

printps_event, event, uval=uval

Parameters

event       

Keywords

uval       

Version history

Version

$Id: printps.pro 401 2009-07-23 08:48:16Z smasson $

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 defined/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'

Statistics

McCabe cyclic 54
McCabe essential 1
McCabe modular design 1

topprintps Postscripts

printps[, psfilename], ARCHIVE=integer 0 or 1, DIRECTPRINT=string

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.

Keywords

ARCHIVE        type: integer 0 or 1 default: 0

activate to bypass the widget and directly archive the postcript (useful to use printps in batch mode)

DIRECTPRINT        type: string default: not defined

bypass the widget and directly define the printer that must be used to print the postcript file. DIRECTPRINT must correspond to one of the names defined in the comoon variables printer_machine_names or printer_human_names. useful to use printps in batch mode

Examples

IDL> printps

Version history

Version

$Id: printps.pro 401 2009-07-23 08:48:16Z smasson $

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

Statistics

McCabe cyclic 27
McCabe essential 1
McCabe modular design 1
Produced by IDLdoc 2.0.