Changeset 104 for trunk/SRC/Postscript
- Timestamp:
- 06/12/06 14:54:03 (18 years ago)
- Location:
- trunk/SRC/Postscript
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Postscript/closeps.pro
r16 r104 3 3 ;------------------------------------------------------------ 4 4 ;+ 5 ; NAME: closeps5 ; @file_comments Close the Postscript mode 6 6 ; 7 ; PURPOSE: Close the Postscript mode 7 ; when archive_ps ne 0, we add the name and the date 8 ; at the bottom left corner of the postcript page. If the 9 ; postscript is called idl.ps we change its name to number.ps 10 ; (number automatically found to be 1 larger that any of the 11 ; existing ps file) 8 12 ; 9 ; CALLING SEQUENCE: closeps 10 ; 11 ; KEYWORD PARAMETERS: 12 ; 13 ; INFOWIDGET: A long integer giving the id of the information 13 ; @keyword INFOWIDGET A long integer giving the id of the information 14 14 ; widget (created by openps) that we have de destroy at 15 15 ; the end of closeps (when the postscript is done) 16 16 ; 17 ; COMMON BLOCKS:cm_4ps17 ; @uses cm_4ps 18 18 ; 19 ; SIDE EFFECTS: when archive_ps ne 0, we add the name and the date 20 ; at the bottom left corner of the postcript page. If the 21 ; postscript is called idl.ps we change its name to number.ps 22 ; (number automatically found to be 1 larger that any of the 23 ; existing ps file) 24 ; 25 ; MODIFICATION HISTORY: Sebastien Masson (smasson@lodyc.jussieu.fr) 19 ; @history Sebastien Masson (smasson\@lodyc.jussieu.fr) 26 20 ; 21/12/98 27 21 ; June 2005: Sebastien Masson, english version with new commons -
trunk/SRC/Postscript/openps.pro
r69 r104 3 3 ;------------------------------------------------------------ 4 4 ;+ 5 ; NAME:openps6 5 ; 7 ; PURPOSE:switch to postcript mode and define it6 ; @file_comments switch to postcript mode and define it 8 7 ; 9 ; CALLING SEQUENCE:openps[,nameps] 10 ; 11 ; OPTIONAL INPUT: 12 ; nameps: name of the postscript file. Extension '.ps' is added 8 ; @param namepsin {in}{optional} name of the postscript file. Extension '.ps' is added 13 9 ; if missing. It will be stored in the psdir directory. 14 10 ; 15 ; KEYWORD PARAMETERS: 16 ; 17 ; FILENAME: to define the name of the postcript file through 11 ; @keyword FILENAME to define the name of the postcript file through 18 12 ; a keyword rather than with nameps inut argument 19 13 ; (in this case the keyword can be pass through 20 14 ; different routines via _extra keyword). 21 15 ; 22 ; INFOWIDGET:If INFOWIDGET is present, it specifies a named16 ; @keyword INFOWIDGET If INFOWIDGET is present, it specifies a named 23 17 ; variable into which the id of the widget giving informations 24 18 ; about the postscript creation is stored as a long integer. 25 19 ; This id is needed by close ps to kill the information widget. 26 20 ; 27 ; KEEP_PFONT:activate to suppress the modification of !p.font21 ; @keyword KEEP_PFONT activate to suppress the modification of !p.font 28 22 ; (by defaut we force !p.font = 0 to make smaller postscripts) 29 ; KEEPPFONT:same as keep_pfont23 ; @keyword KEEPPFONT same as keep_pfont 30 24 ; 31 ; LIGHTNESS:a scalar used to change the Lightness of the color25 ; @keyword LIGHTNESS a scalar used to change the Lightness of the color 32 26 ; palette to be abble to adjust according to the printer we use, 33 27 ; the media (paper or slide)... … … 35 29 ; > 1 to get darker colors 36 30 ; 37 ; 31 ; @keyword _EXTRA: used to pass any keyword to device procedure. 38 32 ; 39 ; COMMON BLOCKS:cm_4ps33 ; uses cm_4ps 40 34 ; 41 ; MODIFICATION HISTORY: Sebastien Masson (smasson@lodyc.jussieu.fr)42 ; 35 ; @history Sebastien Masson (smasson\@lodyc.jussieu.fr) 36 ; 21/12/98 43 37 ; 1/2/98: ajout de nameps en input 44 38 ; 1/9/1999: ajout du mot cle FILENAME et du widget -
trunk/SRC/Postscript/printps.pro
r16 r104 3 3 ;------------------------------------------------------------ 4 4 ;+ 5 ; NAME: 6 ; printps 7 ; 8 ; PURPOSE: postscript visualisation/archiving/printing 9 ; 10 ; CATEGORY: for the postscripts 11 ; 12 ; CALLING SEQUENCE: 13 ; imprime [,psfilename] 14 ; 15 ; INPUTS: 16 ; 17 ; psfilename: the name of the postscript file we want to 18 ; visualize and/or print and/or archive. It can also refer 19 ; to a gzipped postscript file. If needed, this name will 20 ; be completed by .ps and/or .gz 21 ; 22 ; KEYWORD PARAMETERS: None 23 ; 24 ; COMMON BLOCKS: cm_4ps 25 ; 26 ; SIDE EFFECTS: 27 5 ; 6 ; 7 ; 28 8 ; - archiving possibilities - 29 9 ; … … 37 17 ; that any of the existing ps file). 38 18 ; 39 ; RESTRICTIONS: 19 ; @categories for the postscripts 20 ; 21 ; @restrictions 40 22 ; 41 23 ; 1) this is working only with unix/linux/osX machines … … 51 33 ; is working. default definition is '\lpr -P' 52 34 ; 53 ; EXAMPLE: IDL> printps 54 ; 55 ; MODIFICATION HISTORY: Sebastien Masson (smasson@lodyc.jussieu.fr) 35 ; 36 ; @history Sebastien Masson (smasson\@lodyc.jussieu.fr) 56 37 ; 21/12/98 57 38 ; 25/8/19999 utilisation des widgets … … 197 178 ;------------------------------------------------------------ 198 179 ;------------------------------------------------------------ 199 ;------------------------------------------------------------ 200 ;------------------------------------------------------------ 201 pro printps, psfilename 180 ;+ 181 ; @file_comments postscript visualisation/archiving/printing 182 ; 183 ; @param psfilename {in}{optional} the name of the postscript file we want to 184 ; visualize and/or print and/or archive. It can also refer 185 ; to a gzipped postscript file. If needed, this name will 186 ; be completed by .ps and/or .gz 187 ; 188 ; @uses cm_4ps 189 ; 190 ; @examples 191 ; IDL> printps 192 ; 193 ; @history Sebastien Masson (smasson\@lodyc.jussieu.fr) 194 ; 21/12/98 195 ; 25/8/19999 utilisation des widgets 196 ; 8/9/1999 utilisation de cw_bgroup 197 ; June 2005: Sebastien Masson: cleaning, english version with new commons 198 ;- 199 ;------------------------------------------------------------ 200 ;------------------------------------------------------------ 201 PRO printps, psfilename 202 202 ; 203 203 ; this is working only with unix/linux/osX machines … … 300 300 return 301 301 end 302 303
Note: See TracChangeset
for help on using the changeset viewer.