home *** CD-ROM | disk | FTP | other *** search
- ------------------------------------------------------------------------------
- YACPU 1.0 - (C) Copyright 1991-1992 by Anders Ohlsson
- ------------------------------------------------------------------------------
-
- PROGRAM
-
- YACPU - Yet Another Calendar Printing Utility for HP LaserJet III
-
- VERSION
-
- 1.0
-
- COPYRIGHT
-
- YACPU is (C) copyright 1991-1992 by Anders Ohlsson
-
- YACPU is not public domain, nor shareware, it's "like-ware" (If you like
- it, send me $1, a postcard, or whatever you think it's worth).
-
- PURPOSE
-
- YACPU prints a planning calendar for the first or second half year of a
- specified calendar year. Five languages are currently supported (English,
- Swedish, German, French and Spanish). YACPU prints an optional title at the
- top, names of the months, days of the week, and week numbers. Sundays and
- other holidays are highlighted. The calendar sheet consists of 6x31 boxes
- (one for each day of the half year). Non-existing dates are hashed.
-
- HISTORY
-
- 1.0 Initial release (1991-09-03)
-
- AUTHOR
-
- Anders Ohlsson
- Tjadervagen 4
- S-198 00 Balsta
- Sweden
-
- InterNet: ao@elixir.lne.kth.se or
- ao@infovox.se
-
- FILES
-
- Files included in this archive are:
-
- YACPU DOC 7703 bytes - This file
- YACPU EXE 13712 bytes - The executable
- HOLIDAYS TXT 195 bytes - Sample holiday file
-
- SYNTAX
-
- YACPU -y<year> -h<half> [-l<language> -d<device/file> -t<"title">]
-
- Required parameters:
-
- <year> the calendar year for which you want a calendar printed
- <half> '1' for January-June or '2' for July-December
-
- Optional parameters:
-
- <language> 'en', 'sw', 'ge', 'fr' or 'sp' (language initials)
- <device/file> an output device or a filename
- <title> the title enclosed in quotation marks
-
- Default values:
-
- <language> English
- <device/file> PRN
- <title> the calendar year
-
- (<...> denotes parameter names and [...] denotes optional parameters)
-
- NOTES
-
- 1. YACPU does not warn you if the output file already exists!
-
- 2. The character ' (apostrophe) should not be typed!
-
- 3. 'en', 'sw', 'ge', 'fr' and 'sp' stands for English, Swedish, German,
- French and Spanish respectively.
-
- 4. Parameters can be typed in any order. You can even specify the same
- parameter more than once (the last overrides the previous ones).
-
- 5. You can use "/" instead of "-" as switch character if you wish. You can
- mix them if you like.
-
- 6. If you don't specify a title, the year will be printed at the top of the
- calendar sheet. If you don't want a title, nor the year to be printed,
- specify an empty title (i.e. -t"").
-
- 7. Quotation marks can be either ", ' or `. Quotes must be closed!
-
- 8. ASCII 32-165 except 127,156-159 are currently supported. The width table
- I use is not perfect, see the "SUPPORT" section below. Using characters
- other than ASCII 32-165 may cause unpredictable results.
-
- 9. This program is based on the Gregorian calendar. Concerning the intro-
- duction of this calendar system in different countries, please consult
- a history book. It should however work for all Western countries after
- AD 1802.
-
- EXAMPLES
-
- Print a calendar for Jul-Dec, 1991 in English:
-
- YACPU -y1991 -h2
-
- Print a calendar for Jan-Jun, 2001 in German:
-
- YACPU -y2001 -h1 -lge
-
- Print a calendar for Jan-Jun, 1995 in English with a title:
-
- YACPU -y1995 -h1 -t"Planning Calendar for 1995"
-
- Print a calendar on COM2:
-
- YACPU -y1991 -h2 -dcom2
-
- Print a calendar on D:\TEST\YACPU.OUT:
-
- YACPU -y1992 -h1 -dd:\test\yacpu.out
-
- HOLIDAYS
-
- YACPU looks for a file named "HOLIDAYS.TXT" in the current directory. If
- this file is not found, YACPU says so, but still prints the calendar.
-
- "HOLIDAYS.TXT" is a text file used to specify holidays. Dates specified in
- this file are highlighted on the calendar sheet.
-
- A line in "HOLIDAYS.TXT" could look like this:
-
- 0704 4th of July
-
- The first two numbers are the month, the next two are the day. The rest of
- the line is an optional comment (not used by YACPU) i.e. the four leftmost
- character (mmdd) are the only characters needed.
-
- Note 1: Entries must start in the leftmost column!
- Note 2: No checking is done to see if the date is valid or not. (You can
- for instance specify 1232 to highlight the 32nd of December...)
- Note 3: Sundays are highlighted by default, you don't have to specify
- these.
-
- SUPPORT
-
- 1. If you like this program and want to support it:
-
- Send me $1, a postcard, or whatever you think it's worth.
-
- 2. If you want this program to support more languages:
-
- Send me a letter (snail or e-mail) containing the following:
-
- 1. The name of the language
- 2. The name of the months (January through December)
- 3. The name of the days (Monday through Sunday)
- 4. The word for "week" (used as a prefix before the week
- number)
-
- 3. If you think that this program is not perfect:
-
- Send me a width table containing the widths of each character in the
- ASCII character set.
-
- (I have one, but the formulas I use are not perfect, which you'll
- probably notice if you use a long title...)
-
- 4. If you want more dates to be highlighted by default:
-
- Send me a list containing these dates and how to determine when they
- occur for a given year. E.g. Easter Day is the first Sunday after
- the first full moon after Vernal Equinox, and can be calculated by
- using a mathematical formula (which I don't have at this date,
- please send it if you have it).
-
- FORMATS
-
- In Sweden, weeks start on Mondays. If for instance, you want a calendar
- where weeks start on Sundays, drop me a note and I will include this
- feature either as optional or as a language dependent feature.
-
- FUTURE
-
- Ability to pre-print text strings on a given date. E.g. print the
- text "4th of July", "Mother's Birthday" and so on.
-
- Support for more languages.
-
- Support for the full extended ASCII character set.
-
- More optional parameters, such as
-
- 1. don't print weekdays (Mo...Su)
- 2. don't print week numbers
- 3. and more...
-
- FEED-BACK
-
- If you have any questions/comments relating to this program, please feel
- free to send me mail or e-mail (e-mail is faster).
-
- Anders Ohlsson, Tjadervagen 4, S-198 00 Balsta, Sweden
- InterNet: ao@elixir.lne.kth.se or ao@infovox.se
-
- DISCLAIMER
-
- You use this program at your own risk. In no event whatsoever, shall I
- (the author of this program) be held responsible for any damage inflicted
- by this program. (Damage is not very likely to be inflicted, I just want
- to make sure that you don't blame me, should you accidentally overwrite
- some of your other files (by specifying -dC:\COMMAND.COM or something
- like that)).
-
- BUGS
-
- If you find any, please let me know, and I will try to fix them.
-
- ------------------------------------------------------------------------------
- YACPU 1.0 - (C) Copyright 1991-1992 by Anders Ohlsson
- ------------------------------------------------------------------------------