Article View: comp.lang.postscript
Article #7061Re: A REAL postscript calendar
From: Greg Miller
Date: Thu, 14 Apr 1988 23:03
Date: Thu, 14 Apr 1988 23:03
37 lines
1884 bytes
1884 bytes
In article <Apr.12.00.55.37.1988.2602@porthos.rutgers.edu>, 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 <<EOF > 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!!
Technical Details
Message-ID:
<238@uwovax.uwo.cdn>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!julian!uwovax!3021_4346References:
<8804112027.AA19801@decwrl.dec.com> <Apr.12.00.55.37.1988.2602@porthos.rutgers.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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> <Apr.12.00.55.37.1988.2602@porthos.rutgers.edu> Lines: 37 Organisation: University of Western Ontario, Canada