ccalpdf

Langue: en

Version: 4 October 2003 (mandriva - 01/05/08)

Section: 1 (Commandes utilisateur)

NAME

ccalpdf - generates a calendar together with Chinese calendar in PDF

SYNOPSIS

ccalpdf [ -g|-b ] [ -o file ] [ [ month ] year ]

DESCRIPTION

The ccalpdf script writes a Gregorian calendar together with Chinese calendar in PDF to standard output. If the year operand is specified, a calendar for that year is written. If no operands are specified, a calendar for the current month is written.

OPTIONS

-g
Outputs simplified Chinese characters. This is the default.
-b
Outputs traditional Chinese characters.
-o file
Outputs the calendar to file instead of standard output.

OPERANDS

The following operands are supported:
month
Specify the month to be displayed, represented as a decimal integer from 1 (January) to 12 (December). The default is the current month.
year
Specify the year for which the calendar is displayed, represented as a decimal integer from 1646 to 9999. However, accuracy will gradually decrease beyond 300 years from Year 2000. The default is the current year.

EXIT STATUS

The following exit values are returned:
0
Successful completion.
>0
An error occurred.

SEE ALSO

ccal(1)