DragonFly On-Line Manual Pages

Search: Section:  


KPCAL(1)               DragonFly General Commands Manual              KPCAL(1)

NAME

kpcal - generate Kanji PostScript calendars

SYNOPSIS

kpcal [ -a<ASCIIFont> ] [ -k<KANJIFont> ] [ -t<TITLEFont> ] [ -n<NUMBERFont> ] [ -e| -f<cal> ] [ <month> [ <year> ]]

DESCRIPTION

Kpcal generates PostScript to produce landscape calendars for any month and year. The arguments <month> and <year>, if provided, should be numeric. The month should be in the range 1 - 12, and year should be specified as 1 or 2 digits or as the full 4 digit year. The defaults for month and year are the current month and year. If a file named calendar resides in the callers 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 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. Lines in the calendar 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 ,and that the calendar file written in JIS Code. Any date entries containing year information will set the remembered year to that year. Kpcal has six options: -e Print an empty calendar. Do not print entries from a calendar file. -f<cal> Directs kpcal to use the file name <cal> as the input file in place of the default calendar file in the callers home directory. -a<ASCIIFont> use the font <ASCII Font> for printing ASCII characters in messages of the day. The default is Times-Roman. -k<KANJIFont> use the font <KANJI Font> for printing KANJI characters in messages of the day. The default is Ryumin-Light-H. -n<NUMBERFont> use the font <NUMBER Font> for printing day numbers. The default is Helvetica-Bold. -t<TITLEFont> use the font <TITLE Font> for printing titles. The default is Times-Bold.

SEE ALSO

cal(1)

CAVEATS

The original PostScript code to generate the calendars was written by Patrick Wood (Copyright (c) 1987 by Patrick Wood of Pipeline Associates, Inc.), and authorized for modification and redistribution. The calendar file inclusion code was originally written in "bs(1)" by Bill Vogel of AT&T. Patricks original PostScript was modified and enhanced several times by others whos names have regrettably been lost. Ken Keirnan of Pacific Bell was assembled this "C" version (pcal). If you want to modify or redistribute "kpcal", please retain above Copyright with the package. Kenji Urushima SECOM Intelligent Systems Laboratory Shimorenjaku Mitaka, Tokyo. KPCAL(1)

Search: Section: