source: trunk/SRC/Commons/cm_4ps.pro @ 231

Last change on this file since 231 was 231, checked in by pinsard, 17 years ago

improvements/corrections of some *.pro headers

  • Property svn:keywords set to Id
File size: 2.3 KB
RevLine 
[54]1;+
2;
[157]3; @history Sebastien Masson (smasson\@lodyc.jussieu.fr)
[54]4;                       June 2005
5;-
[231]6;
[54]7@cm_general
8;
9; printer environment
[121]10;
[54]11; printer_human_names: a string array specifying the name of the
12;                      available printers such as ['color printer',
13;                      'black and while']
[121]14; printer_machine_names: a string array specifying the IP address or
[54]15;                        the name usable by the lpr command
[121]16;
[54]17; print_command: a scalar or array variable of string type, defining
18;                the command that must be used to print a postscript.
[121]19;                This command must be defined/build in a way that it the
[54]20;                instruction:
21;                  print_command+printer_machine_names[i]+' '+file.ps
22;                or
23;                  print_command[i]+printer_machine_names[i]+' '+file.ps
24;                is working. default definition is '\lpr -P'
25;
26COMMON for_printers, printer_human_names, printer_machine_names, print_command
27;
28; page configuration
29;
30; page_size: a 2 elements array specifying the size of the page
31;            in cm (for example a4 pages: page_size = [21.,29.7]
[121]32; page_margins: a 4 elements array specifying the size in cm of the
[54]33;               margins on left, right, bottom, up side of the page
[121]34;               (where nothing is supposed to be drawn).
35;               default is [1., 1., 1., 1.]
[54]36; key_portrait = 1 for portrait page or 0 for landscape page
37;
38COMMON page_setup, page_size, page_margins
39COMMON keys_ps, key_portrait
40;
41; postscript archiving
42;
43; archive_ps = 0 -> nothing is done
[121]44; archive_ps = 1 -> each printed ps has its name and creation date
[136]45;                   written in the bottom-left corner of the page
[54]46;                   and is gzipped in the psdir directory
[121]47; archive_ps > 1 -> question is asked to know if ps file has to be
[136]48;                   archived or not
[54]49;
50COMMON ps_archiving, archive_ps
51;
52; graphic window size
53;
54; windowsize_scale: the size of the graphic window will (should) be equal to
[121]55;                   windowsize_scale * page_size. default definition is
56;                   windowsize_scale = 1. The smaller windowsize_scale
[54]57;                   is, the larger are the differences between the plots in
58;                   graphic window and the corresponding plots in postscript
[121]59;                   mode.
[54]60;
61COMMON  windowsize_scale, windowsize_scale
Note: See TracBrowser for help on using the repository browser.