Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!hao!gatech!mcnc!rutgers!topaz.rutgers.edu!lachac From: lachac@topaz.rutgers.edu (Gerard Lachac) Newsgroups: comp.sys.amiga Subject: Re: Print to Postscript? Message-ID: <15941@topaz.rutgers.edu> Date: Mon, 26-Oct-87 09:35:13 EST Article-I.D.: topaz.15941 Posted: Mon Oct 26 09:35:13 1987 Date-Received: Wed, 28-Oct-87 03:46:06 EST References: <21427@ucbvax.BERKELEY.EDU> Reply-To: lachac@topaz.rutgers.edu (Gerard Lachac) Organization: Rutgers Univ., New Brunswick, N.J. Lines: 116 In article <21427@ucbvax.BERKELEY.EDU> bryce@hoser.berkeley.edu (Bryce Nesbitt) writes: >In article <4VTpeRy00XoDzE004j@andrew.cmu.edu> jk3n+@andrew.cmu.edu (John Stephen Kalucki) writes: >> >>Is there currently a way for my Amiga to drive a Postscript printer?... >> ...printing from a DeskTop Publishing program.... > > >For some strange reason, nobody has written a printer driver that would look >like a standard preferences printer, yet output postscript. This type of >driver would not be expected to take full advantage of postscript... it would >act a lot more like the Diablo emulation mode on the Apple LaserWriter (plus). > > As usual, I'd love to be wrong on any of the above points Since I didn't want to disappoint you, I figure I would prove you wrong :-) This text file is from an ARC file I found on a local BBS. Of course I haven't had a chance to try it yet, midterms can be nasty things. I promise to upload the binary later on this week. ------------------------------------------------------------------------------ POSTSCRIPT PRINTER DEVICE The postscript printer device included in this archive is Copyrighted by Integrated Systems Inc., 1987. All rights are reserved. It is put in the public domain for use by anyone for non-commercial use only. When I receive my Apple Laser Writer, it worked great with the PageSetter but to print a simple text file I had to keep switching into emulation mode. There are public domain IFF to POSTSCRIPT converters but they do not provide much control of the output. This driver is intended to replace the "sys:devs/printer.device" device driver. To install it, copy "postprint" to "sys:devs/printer.device". This device driver will only work with POSTSCRIPT printers. Make sure that you save the real "printer.device". Once installed, the POSTSCRIPT printer can be used from programs like CLImate, Word Perfect, Deluxe Paint. Both the WRITE and RAWWRITE commands behave the same. The driver assumes that the POSTSCRIPT printer is a serial printer. The preferences should be used to select the baud rate. Packages like PAGESETTER that support POSTSCRIPT can still use the printer through the serial port. Text Support The current AMIGA printer commands and ESCAPE sequences supported include line spacing, pitch, normal, bold, underlining, italics, the left margin, page length (in lines), and NLQ mode. NLQ mode switches between the Courier and Times Roman fonts (so does DRAFT/LETTER mode). Raster Dumps Currently 16 shades of gray form most pictures. The only exceptions are HAMs which use 256 shades, and "Black and White" mode which uses 2 shades. White is represented as the lightest color of gray except in the "Black and White" mode. The margins and page size in lines define the maximum print area. I think all of the different special modes are supported but I don't think they all have been tested. SPECIAL_ASPECT is supported but I was surprised that it does not seem to be used very much. I have tried printing from PAGESETTER (treating the LASERWRITER as a normal printer), GRABBIT (you have to use SIDEWAYS print), and DELUXE PAINT. General Raster dumps are treated like text when it comes to page boundaries. In other words, if a raster dump will not fit on the current page it is moved to the next page. When the printer device is closed the last page is ejected if there is text on it. The CMD_FLUSH used by DELUXE PAINT to abort raster dumps does not loose memory like the real printer device. The EXPUNGE call does not do any thing right now. Future: I plan on adding the following features in the near future: - Using my own shading table - Download raster fonts - Have a program with a control requester that allows different parameters to be changed (like font, rotation etc.). Maybe some kind of a status gauge also. - Make the device look more like the normal printer device. The device structure does not look like the normal printer device right now. I have not found this to be a problem but it seems like it might be. - Support more of the AMIGA TEXT commands like vertical motion, tab definitions, etc. I hope this is useful!!! If anyone has any other ideas or questions, I can be reached at: Chris Nicotra Integrated Systems Inc. 1456 Greenmont CT. Reston, VA 22090 (703) 471-7453 bix: nicotra Compuserve: 72466,765 -- "Truth is false and logic lost..." - Neil Peart (who at the time didn't realize he was talking about RU) lachac@topaz.rutgers.edu <--------OR--------> {seismo|ames}!rutgers!topaz!lachac