Path: utzoo!utgpu!water!watmath!julian!uwovax!3021_4346 From: 3021_4346@uwovax.uwo.cdn (Greg Miller) Newsgroups: comp.lang.postscript Subject: Re: A REAL postscript calendar Message-ID: <238@uwovax.uwo.cdn> Date: 14 Apr 88 23:03:58 GMT References: <8804112027.AA19801@decwrl.dec.com> Lines: 37 Organisation: University of Western Ontario, Canada In article , mende@porthos.rutgers.edu (Bob Mende pie) writes: > In article <8804112027.AA19801@decwrl.dec.com> chavez@cookie.dec.com > (Dale - 522-2336/3905) writes: >> >> What kind of code precedes the Postscript calendar? It looks somewhat like >> C, but when I try and compile using VMS, I get tons of compiler errors. >> >> Dale > > The code that precedes the PostScript calendar is unix cshell > commands. It is a hack to do the following. > > o allow a command line interface to postscript. > o allow the month and year to be taken from a command line and > set in postscript. > o print the file... > > Now I am sure that there is a way to do a similar hack in vms ... > but I dont know if there is a equivalent of the < construct of sh/csh. If you want to make the calendar remove > everything before the %! and modify the following... > > /month $month def /month month-you-want-1-12 def > /year $year def /year year-you-want-in-19xx-form def > > and then print it by hand ... what the csh code does is take your > command line args and replace $month and $year appropritly. > > > /Bob > > ps... you also could print it on a UNIX(tm) machine. > -- > mende@aramis.rutgers.edu rutgers!aramis.rutgers.edu!mende mende@zodiac.bitnet > > Kids, the seven basic food groups are GUM, PUFF PASTRY, PIZZA, > PESTICIDES, ANTIBIOTICS, NUTRA-SWEET and MILK DUDS!!