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]m 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. 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 [1m<FILE>[m 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 [1mFILE[m.
- 2 -r
- This will cause the output to come out in portrait mode
- instead of landscape mode.
- 2 -s
- This will cause Saturdays to be printed in black instead of
- gray.
- 2 -"S"
- This will cause Saturdays and Sundays to be printed in black
- instead of gray.
- 2 -t <FONT>
- This option can be used to change the font the title is
- printed with (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.
-