REM2PS(1) VERSION 06.02.07 REM2PS(1) (NAME) rem2ps - PostScript Remind (SYNOPSIS) rem2ps [options] (DESCRIPTION) rem2ps Remind -p -pp . PostScript ( ) . rem2ps . rem2pdf . -p <> . Remind . rem2ps UTF-8 . ASCII rem2pdf . (OPTIONS) --version rem2ps . -v . rem2ps . . -p file file (prologue) PostScript . PS PSFILE . . -l (portrait) (landscape) . -x . . -c[n] n . n : 0 1 . 2 . 3 n=1 . n=2 n=3 . -i ISO 8859-1 PostScript . . Remind ( UTF-8) iconv(1) ISO-8859-1 . -e . . <<>> . . : -e . ! -m media . -m (media type) ( ): Letter . Legal . Ledger . Statement . Executive . A3 . A4 . A5 . B4 . B5 . Folio . Quarto . 10x14 . XxYin X Y X Y . XxYcm X Y X Y . "rem2ps -m help" . ( rem2ps) . -m - Letter A4 . "-m help" . -f[tshed] font . font PostScript . : -ftshe Helvetica -fd Helvetica-BoldOblique Helvetica Helvetica- BoldOblique . -s[thed] size ( ) . size . : -sthd 14 -se 8 . -b size size . / ..TP -t size . (/ ) . -o[lrtb] size (left) (right) (top) / (bottom) size . size / . . . : # This gives good results for putting into a binder rem2ps -ol 72 -sh 12 (USAGE) rem2ps Remind -p rem2ps (pipe) . : remind -p12 /dev/null 1 jan 1994 | rem2ps | lpr -Plaser <> . remind -p ~/.reminders | rem2ps -l -sd 18 > cal.ps <<~/.reminders>> . (landscape) . PostScript <> . POSTSCRIPT (VARIABLES AVAILABLE TO USER-SUPPLIED POSTSCRIPT CODE) PS PSFILE . ( Remind .) LineWidth . Border . . BoxWidth BoxHeight . InBoxHeight . . /DayFont /TitleFont /EntryFont /SmallFont /HeadFont . DaySize TitleSize EntrySize HeadSize . ( .) : REM PS Border BoxHeight Border sub DaySize sub moveto \ /DayFont findfont DaySize scalefont setfont \ ([hebday(today())] [hebmon(today())]) show /DayFont DaySize . PostScript PostScript . PostScript PostScript . (document structuring comments) PostScript . rem2ps PostScript : save (mon) (yr) PreCal restore mon yr . (procedure) PreCal (pop) . PreCal (prologue) . PreCal : o PostScript PostScript / . o MinX MinY MaxX MaxY (bounding box) . o Border LineWidth . <> : /PreCal { /yr exch def /mon exch def /xsiz1 MaxX MinX sub def /ysiz1 MaxY MinY sub def /xsiz xsiz1 MinX sub MinX sub def /ysiz ysiz1 MinY sub MinY sub def xsiz ysiz lt {/len xsiz 1.41 mul def MinX MinX add ysiz1 xsiz1 sub 2 div MinY add MinY add moveto} {/len ysiz 1.41 mul def xsiz1 ysiz1 sub 2 div MinX add MinX add MinY MinY add moveto} ifelse /Helvetica-Bold findfont 1 scalefont setfont mon stringwidth pop ( ) stringwidth pop add yr stringwidth pop add len exch div /len exch def /Helvetica-Bold findfont len scalefont setfont 0.95 setgray 45 rotate mon show ( ) show yr show } bind def -p rem2ps . -p Remind back-end . back- end -pp -p . Remind -p . back-end : # translations (translation table) . # translations JSON ( ) . back-end . Remind . # rem2ps begin . back- end . month_name year num_days first_day monday_first month_name . num_days . first_day ( = = = ). monday_first -m Remind . back-end . month_name (underscore) . back-end . sun mon tue wed thu fri sat Remind . back-end . . back-end . next_mon next_days . prev_mon prev_days . next_mon prev_mon (inset) . : yyyy/mm/dd special tag dur time body yyyy mm (-) dd . "/" Remind "-" . "/" . special " " (out-of-band) back-end . special "*" . rem2ps PostScript PSFile . back-end . back-end . tag TAG "*" . TAG . REM TAG foo TAG bar TAG quux foo,bar,quux tag . dur DURATION "*". time "*". body . Remind JSON . . Remind : # rem2ps end back-end EOF . -l remind : # fileinfo lineno filename fileinfo (literal) lineno filename . back-end "#" ( # rem2ps). Remind -pp . remind -p . <> . ( ) . remind -pp : # translations . # translations JSON ( ) . . Remind . # rem2ps2 begin . . <<2>> <> -p . month_name year num_days first_day monday_first -p sun mon tue wed thu fri sat -p next_mon next_days -p prev_mon prev_days -p (CALENDAR ENTRIES) JSON . <<{>> JSON . JSON : date YYYY-MM-DD date YYYY-MM-DD . filename f . lineno n . lineno_start n lineno lineno_start . lineno lineno_start . nonconst_expr 1 1 . JSON . if_depth n IF ELSE IF . IF ELSE . passthru special SPECIAL passthru SPECIAL ( SHADE COLOR MOON ) . tags data TAG tags . info { hash } INFO info . - info . INFO . INFO . REM : REM INFO "Location: Boardroom" INFO "Summary: None" MSG whatever info : "info" : { "location" : "Boardroom", "summary" : "None" }, tz zone TZ . time t AT AT . time_in_tz t TZ AT TZ . tdelta n (+n AT) . trep n (*n AT) . eventduration n DURATION . duration n DURATION . duration event duration remind(1) <> . eventstart dt AT YYYY-MM- DDTHH:MM . eventstart_in_tz dt TZ YYYY-MM- DDTHH:MM TZ . back n <> (-n --n) back . <> -n --n . delta n <> (+n ++n) . <> +n ++n . trigbase date trigbase YYYY-MM-DD . rep n <> (*n) . skip type SKIP BEFORE AFTER . localomit array OMIT . OMIT () . wd array . ..TP d n . m n . y n . until YYYY-MM-DD UNTIL THROUGH . YYYY-MM-DD . once 1 ONCE 1 . scanfrom YYYY-MM-DD scanfrom -n SCANFROM SCANFROM YYYY-MM-DD scanfrom -n . from YYYY-MM-DD FROM YYYY-MM-DD . is_todo flag TODO flag 1 . complete_through YYYY-MM-DD COMPLETE-THROUGH YYYY-MM-DD . max_overdue n MAX- OVERDUE MAX-OVERDUE . priority n . PRIORITY 5000 . r n SHADE COLOR . g n SHADE COLOR . b n SHADE COLOR . body body . . calendar_body body . %"...%" "q" -pp... Remind . plain_body body <<>> %"...%". calendar_body . plain_body body . rawbody raw <<>> . . Remind : # rem2ps2 end EOF . Remind -ppp remind -p+ JSON . : Remind JSON . remind -p+ . JSON : caltype type monthly () weekly (). Remind caltype caltype monthly . monthname name . . year yyyy . . daysinmonnth n . . firstwkday n (0 = 1 = 6 = ). . mondayfirst n (n=0) (n=1) . . daynames [days] . . prevmonthname name . . daysinprevmonth n . . prevmonthyear yyyy . ( year .) . nextmonthname name . . daysinnextmonth n . . nextmonthyear yyyy . ( year .) . translations {object} Remind. . . entries [array] entries JSON CALENDAR ENTRIES -PP FORMAT : -PP %" body . -PPP %" back-end . dates [array] dates . JSON / : date YYYY-MM-DD . day DD . dayname weekday_name ( ). month month_name ( ). year YYYY . rem2ps Dianne Skoll . (BUGS) Remind rem2ps . PostScript . rem2ps PostScript . . () rem2ps PostScript . (HOME PAGE) https://dianne.skoll.ca/projects/remind (SEE ALSO) remind rem2pdf rem2html tkremind. Remind 2026-06-05 REM2PS(1)