From: Beck, Johannes

Subject: RE: Postscript pictures???

Date: 2000-10-19 3:13

> I'm probably dreaming, but is there any possibility for easily generating
postscript (or other common formats) from a
> standard Allegro graphics session?
I assume you talk about ACL on windows (from the other question). I dont know anything about graphics on UNIX. For a first and very easy approach to the problem I would use the printing capabilities of Allegro. The printer is a stream which works like a graphics device in MS Windows. You can use it almost like a window. And you install a printer driver for a postscript printer and connect it to a file. From my experience of generating "good" postscript from MS Word, I recommend using the Apple LaserWriter II printer driver. These printers are bit old, but printers and drivers were famous for having excellent postscript (almost as good as dvips). "Good" postscript in the meaning of "well formed and valid" postscript, which means you can use it later on anything which claims to be able to handle postscript.
> When running Allegro in Windows 98, I can't find a way to break my run
without terminating Allegro itself. I've seen this several times myself. This does not happen in Windows NT. I would recommend to set the optimization flags in ACL to some minimal values (not to (speed 3) (debug 0) ) and stay away from anything like without-interrupts. Things on Win98 get worse if you're using threads. Bye Johannes Beck -----Original Message----- From: Keith L. Downing <ifi.ntnu.no] at [mailto:keithd> Sent: Wednesday, October 18, 2000 10:45 PM To: <cs.berkeley.edu at allegro-cl> Subject: Postscript pictures??? Hi, I'm probably dreaming, but is there any possibility for easily generating postscript (or other common formats) from a standard Allegro graphics session? In short, is there any way for me to run my normal graphics code and just send everything to a special type of stream (e.g. for a postscript file) instead of my normal window stream? Basically, I draw a lot of different types of diagrams in Allegro, and it's kind of a pain to have to dump the data to files and then redraw them in another language (like MATLAB) to get nice print-outs. I'm using Allegro 5.01 or thereabouts. One other question: I've asked this several times, but the suggested solution never works: When running Allegro in Windows 98, I can't find a way to break my run without terminating Allegro itself. This has become a real pain recently, since I'm debugging some pretty hairy code which frequently goes into hyperspace. I have no problem halting stuff in Unix, but in Windows, the usual use of the Break key just isn't enough. I have to do cntl-alt-break to get any interrupt, and then my only option is to kill lisp itself. Cheers... Keith Downing NTNU Trondheim, Norway