Ralf Sternberg 100% Free Software
wikileode-endmozpro-linuxheisebookzilla Donnerstag, 9. September 2010, 05:51
Der Rabe Ralf baut ein Vogelhaus.

 

Home

Scripts

Tcl/Tk

Links

Photo

 

pscal - PostScript Calendar Creator.

Jahreskalender

Current German Calendars Created with pscal

Download pscal

NAME

pscal - Creates printable calendars in PostScript.


DESCRIPTION

  pscal [options] <year>

creates a year calendar for the given year and prints it to stdout. An output file can be specified using the -o switch.

pscal -h gives an overview of the available options.

Annotations to certain days can be made by editing a file called notes-YYYY.txt where YYYY stands for the year in YYYY format. This file must be either in the current working directory or in a directory .pscal/ in the user's home directory. There are samples that show the syntax to be used.

pscal respects your locale settings. If you like month and daynames appear in a different language, use option -l.

I don't care about creating PDF since this can be easily done using tools like ps2pdf or a print-to-pdf pseudo printer.

If you use a duplex-printer, the back side will be turned correctly (tumble-mode) given that your printer respects these PostScript commands.


EXAMPLE

pscal -wc -l fr_FR -o 2525.ps 2525

creates a french calendar with week numbers for the year 2525.


REQUIREMENTS

All you need is Perl running on your machine.


BUGS

There's another program out there called pscal, so the name is likely to change in the future: http://freshmeat.net/projects/pscal/.

This version can only use one template and is committed to year calendars in a4 paper format.

Holiday files are supplied only for Germany and have to be created separately for every year.

The generated PostScript files does not contain fonts. If the printer does not know the font used, it will choose a default font instead. This should not be a problem, since the template uses a common font that all postscript printers will know. Anyway, future versions should be able to include fonts.


HISTORY

When I found out that stationery shops demand insane amounts of money for simple calendars printed on paper, I immediately started to create those plain year-calendars. Since the calendar is in the public domain, I think one should have to pay only for the paper and the printing.


LICENSE

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program (see file COPYING); if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA


SEE ALSO

ps2pdf


AUTHOR

Ralf Sternberg (2002 - 2004)

Viewable with any browser
Valid XHTML 1.0!
Valid CSS!
Letzte Änderung: 10. Nov. 2005Impressum© 2003 Ralf Sternberg