Article View: comp.lang.postscript
Article #7047Re: A REAL postscript calendar
From: Bob Mende pie
Date: Tue, 12 Apr 1988 04:55
Date: Tue, 12 Apr 1988 04:55
36 lines
1729 bytes
1729 bytes
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:
<Apr.12.00.55.37.1988.2602@porthos.rutgers.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!rutgers!aramis.rutgers.edu!porthos.rutgers.edu!mendeReferences:
<8804112027.AA19801@decwrl.dec.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!rutgers!aramis.rutgers.edu!porthos.rutgers.edu!mende From: mende@porthos.rutgers.edu (Bob Mende pie) Newsgroups: comp.lang.postscript Subject: Re: A REAL postscript calendar Message-ID: <Apr.12.00.55.37.1988.2602@porthos.rutgers.edu> Date: 12 Apr 88 04:55:38 GMT References: <8804112027.AA19801@decwrl.dec.com> Organization: New Jersey, The State of Rutgers University Lines: 36