home *** CD-ROM | disk | FTP | other *** search
- 1 PCAL
- Pcal generates PostScript to produce landscape or portrait
- orientated calendars for any month and year. The defaults for
- month and year are the current month and year.
-
- VMS Version
- Execution format:
-
- pcal [options] [mm yy] [n]
-
- If a file named calendar.dat resides in the caller's home
- directory, it will be searched for lines with leading dates
- matching the requested month and year (current by default). Any
- text following the date will be printed on the calendar under the
- appropriate day of the month. Dates in the calendar.dat file may
- consist of a numeric or alpha month (at least the first 3
- characters for month names) followed by a numeric day and
- optionally followed by a year. Any non-numeric character may
- separate numeric dates. Holidays may be flagged by following the
- date immediately with '*'; this will cause the date to be printed
- in gray. Lines in the calendar.dat file consisting of "year xxxx"
- (where xxxx is a numeric year) can be used to set the year for
- following entries. This assumes that the following entries do not
- contain a year; any date entries containing year information will
- set the remembered year to that year. Lines consisting of
- "opt <options>" can be used to override defaults for all command-
- line flags except -e and -f; any flags set in this manner are
- themselves overridden by flags specified explicitly on the command
- line. Comments ('#' through end-of-line) are permitted.
-
- 2 parameters
- mm yy n
- "mm" and "yy" are numeric values of the month (1-12) and year
- (0-99) (i.e., July 1990 would be 7 90). If you just include the
- "yy" option, an entire 12 months of calendars will be generated.
- A specific month can be produced by including the "mm" parameter.
- The "n" parameter will produce the "n" consectutive months of
- calendars starting with the requested month.
-
- 2 -e
- Print an empty calendar. Do not print entries from a
- calendar.dat file.
-
- 2 -f <FILE>
- Directs pcal to use the file name <FILE> as the input file in
- place of the default calendar.dat file in the callers home
- directory.
- 2 -o <FILE>
- Directs pcal to write the PostScript calendar into FILE.
- 2 -l
- This will cause the output to come out in landscape mode
- (default).
- 2 -p
- This will cause the output to come out in portrait mode
- instead of landscape mode.
- 2 -b <DAY> | all
- This will cause all dates on weekday DAY to be printed in
- black; "-b all" causes all dates to be printed in black unless
- explicitly flagged as a holiday.
- 2 -g <DAY> | all
- This will cause all dates on weekday DAY to be printed in
- gray; "-g all" causes all dates to be printed in gray. Default is
- to print Saturdays and Sundays in gray and other dates in black.
- 2 -t <FONT>
- This option can be used to change the font the title is
- printed in (ie. pcal -tTimes-Roman). The default is Times-Bold.
- 2 -d <FONT>
- This option is the same as -t except that the font used to
- print the day numbers is changed.
- 2 CAVEATS
- The original PostScript code to generate the calendars was
- written by Patrick Wood (Copywrite (c) 1987 by Patrick Wood of
- Pipeline Associates, Inc.), and authorized for modification and
- redistribution. The calendar.dat file inclusion code was
- originally written in "bs(1)" by Bill Vogel of AT&T. Patrick's
- original PostScript was modified and enhanced several times by
- others whose names have regrettably been lost. Ken Keirnan of
- Pacific Bell assembled the original "C" version upon which this is
- based; additional modifications and enhancements were the work of
- Joseph P. Larson, Ed Hand, and Andrew W. Rogers. This VMS HELP
- file was written by Richard Dyson.
-