REM2PS

Section: User Commands (1)
Updated: 25 November 1992
Index Return to Main Contents
 

NAME

rem2ps - draw a PostScript calendar from Remind output  

SYNOPSIS

rem2ps [options]  

DESCRIPTION

Rem2ps reads the standard input, which should be the results of running Remind with the -p option. It emits PostScript code (which draws a calendar) to the standard output.  

OPTIONS

-l
Produce the calendar in landscape mode rather than the default portrait mode.
-c
Do not generate small calendars for the next and previous months. By default, these small calendars are generated and placed on the main calendar.
-m media
Set the page size. You must specify the media type, which can be one of the following. (Sizes are approximate. For a list of media types, type "rem2ps -m help".)
Letter
8.5 x 11 in.
Legal
11 x 17 in.
Ledger
8.5 x 14 in.
Statement
5.5 x 8.5 in.
Executive
7.5 x 10 in.
A3
29.7 x 42 cm.
A4
21 x 29.7 cm.
A5
14.8 x 21 cm.
B4
25.7 x 36.4 cm.
B5
18.3 x 25.7 cm.
Folio
8.5 x 13 in.
Quarto
8.5 x 10.8 in.
10x14
10 x 14 in.

Type "rem2ps -m help" for a list of available media. Note that the media type (and all Rem2ps options) are case-sensitive.

-f[shed] font
Set the font for the small calendar, the calendar headings, the calendar entries, and the day numbers, respectively. Font must be the name of a valid PostScript font. The default fonts are equivalent to specifying:

        -fhes Helvetica -fd Helvetica-BoldOblique

In other words, the heading, entry and small-calendar fonts are set to Helvetica, and the font for the day numbers is set to Helvetica-BoldOblique.

-s[hed] size
Set the size (in points) of the text for the the calendar headings, the calendar entries, and the day numbers, respectively. Size must be a decimal number. The default sizes are equivalent to specifying:

        -sdh 14 -se 8

In other words, the heading and day numbers are 14-point fonts, and the calendar entries are printed in 8-point text.

-b size
Set the size of the blank white border in each calendar box to size points. The default border size is 6 points, or 1/12 in.
-t size
Set the thickness of the black calendar grid lines. The default is 1, for a line thickness of one point (1/72 in.)
 

USAGE

To use Rem2ps, you should pipe the output of Remind with the -p option to Rem2ps, and then send the result to a printer. This is most easily illustrated with examples:

        remind -p12 /dev/null 1 jan 1994 | rem2ps | lpr -Plaser

That example creates a blank calendar for the entire year of 1994, and sends it the the printer named "laser."

        remind -p ~/.reminders | rem2ps -l -sd 18 > cal.ps

This reminder creates a calendar for the current month, filling in entries from the reminder file "~/.reminders." The calendar is produced in landscape mode, with a font size of 18 for the day numbers. The result is put in the PostScript file "cal.ps."  

AUTHOR

David F. Skoll  

BUGS

All Rem2ps options are case-sensitive, unlike Remind. Any time you supply a font name or size, line thickness, or border width, it is treated as a string and sent straight to the PostScript interpreter. Thus, if you supply invalid fonts or sizes, Rem2ps will not complain, but the resulting PostScript output will probably not work.  

SEE ALSO

Remind


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
USAGE
AUTHOR
BUGS
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 07:04:55 GMT, December 12, 2024