GSPrintFilter.1.30.README June 1997 To be (most likely) placed at: ftp://ftp.next.peak.org/pub/next/apps/utils/printer The GSPrintFilter package contains instructions and documentation on installing/configuring Aladdin ghostscript to be used as a filter, so that one can use a Non-PostScript printer with NEXTSTEP/OPENSTEP. md5sums: a6e9ac210b1b9616b342f053416f82a9 GSPrintFilter.1.30.tar.gz 7c60c7abfe85e85da914fa0075d7078d ghostscript.5.00.NIHS.b.tar.gz 40d669cf7ac1d00d0784cb438614034c ghostscriptFonts.5.00.tar.gz bb86a521cc53ccbe60bc539e6a0d70de ghostscriptMin.5.0.NIHS.b.tar.gz 49bad7e21a3363abb231459befbf6f4e ghostscriptPSFonts.5.00.tar.gz FILES GSPrintFilter.1.30.tar.gz: REQUIRED Setup instructions and documentation to install ghostscript as a NEXTSTEP/OPENSTEP printer filter. ghostscript.5.00.NIHS.b.tar.gz: REQUIRED Aladdin ghostscript version 5.00 binary and associated files. Installation of this package is optional if you already have homebrewed gs binaries, but you will need to modify the setup instructions appropriately to reflect the different installation and locations of files. Includes all output targets/drivers. ghostscriptMin.5.00.NIHS.b.tar.gz: OPTIONAL A minimal build of Aladdin ghostscript version 5.00 and associated files. Includes most printer output targets/drivers and no documentation or examples. ghostscriptPSFonts.5.00.tar.gz OPTIONAL Aladdin ghostscript fonts: CenturySchoolBook, CharterBT, Nimbus*, Shareware-Cyrillic, URW*, Utopia. Extracted from font packages distributed with ghostscript, and translated into native NEXTSTEP-style (.font wrapper) PS fonts. To be placed in /LocalLibrary/Fonts. ghostscriptFonts.5.00.tar.gz OPTIONAL Aladdin ghostscript fonts (non-postscript): Hershey. SUPPORTED PRINTERS This version of ghostscript supports primarily Epson, Canon BubbleJet, HP DeskJet, HP LaserJet, HP PaintJet printers. Any printer capable of emulating these types of printers is also naturally supported. Please refer to the ghostscript printer compatibility www page: http://www.cs.wisc.edu/~ghost/printer.html and included documentation in /usr/local/share/ghostscript/5.0/doc for more information. Supports (some as aliases) the following devices/drivers: bj10e (Cannon Bubblejet 10e) bj200 (Cannon BubbleJet 200) bj210 (Cannon BubbleJet 210) bj240 (Cannon BubbleJet 240) bjc600 (Cannon Bubblejet 600) bjc610 (Cannon Bubblejet 610) bjc800 (Cannon Bubblejet 800) bjc4000 (Cannon BubbleJet 4000) bjc4100 (See http://www.cs.wisc.edu/~ghost/printer.html for info) cdj500 (HP Color Deskjet 500) - DeskJet's with CMY ink cdj540 (HP Color Deskjet 540) cdj550 (HP Color Deskjet 550) - DeskJet's with CMYK ink cdj560 (HP Color Deskjet 560) cdj682 (HP Color Deskjet 682) cdj683 (HP Color Deskjet 683) cdj850 (HP Color Deskjet 850) cdj870 (HP Color DeskJet 870) dj1200c (HP DeskJet 1200C) dj1600c (HP DeskJet 1600C) ljet2p (HP LaserJet II+) ljet3 (HP LaserJet III) ljet4 (HP LaserJet IV) lj4dith (HP LaserJet IV, FS dithering) ljet5l (HP LaserJet 5L) lj5mono (HP PCL5 and PCL6 driver, untested) lj5gray (HP PCL5 and PCL6 driver, untested) pjxl300 (HP PaintJet XL300) stcolor2 (Stylus Color II) st500 (Epson Stylus 500) st800 (Epson Stylus 800) stproxl (Epson Stylus Pro XL) INSTALLATION NOTE: most of these steps require root access. Location By default, the Installer.app will place all most UNIX'ish files in /usr/local and most NeXT'ish files in /LocalLibrary. If you want these installed somewhere else, you're on your own. NOTE: the ghostscript binary DOES have support to be optionally installed in /usr/share, but this may require a minor modification of the lpd.filter script to point to the new location. PS Fonts In order for ghostscript to use any custom installed fonts in /LocalLibrary/Fonts (OTHER than those supplied in ghostscriptPSFonts), you'll need to create an outline directory containing symbolic links similar to the one you'll find in /NextLibrary/Fonts/outline Provided in this package is a script named 'outline.links' that will output shell script commands, that when executed in the given Font directory, will create the proper symbolic links. For example, > cd /LocalLibrary/Fonts > /usr/local/share/ghostscript/outline.links /LocalLibrary/Fonts > links.sh > sh links.sh Create NetInfo Printer Entry Once all files are in place, you'll need to create a Ghostscript printer using PrintManager.app. There are several generic ppd files included in this archive that you may use. (These were installed into /LocalLibrary/PrinterTypes/English.lproj ) Alternatively, you can probably just create a printer entry using any ppd you already have (ie. it probably doesn't matter... much... at this stage). Modify NetInfo Printer Entry to use GSPrintFilter Run the provided GSPrintFilter.postinstall script (in /LocalLibrary/GSPrintFilter). Unless you specify otherwise on its command line, it assumes you want to use the ljet4 driver and name the new printer LocalGS. Alternatively, you may peruse the script's contents and make the necessary changes to NetInfo by hand using NetInfoManager. LIMITATIONS 1. This package has been tested only on Intel systems using the: bjc600, cdj550, deskjet, ljet2p, ljet3, ljet4, stcolor drivers. In my limited testing, the lj5mono and lj5gray drivers did NOT work. 2. Ghostscript insists on PS input, so you cannot print plain text files (at least not directly). 'lpr mytextfile.txt' fails. You COULD, however, use 'enscript'. Try 'man enscript' for more details. 3. Occurrences of occasional faulty output has been verified for HP LaserJets: (Using GSPrintFilter 1.20... ) Vertical lines missing in Landscape mode (ljet4, ljet5l) Apostrophe's missing (ljet3) TODO 1. Verify functionality on untested platforms: hppa. 2. Build gs to support more output formats/drivers. HISTORY 1.30 - Upgrade to Aladdin Ghostscript 5.0. - Split distribution AGAIN. Sorry. But splitting the ghostscript port from GSPrintFilter makes sense. - ghostscript supports file descriptor-based streamed I/O, which should magically cure the "Parallel port driver losing data" problem. - Updated to v1.1 of cdj850 driver. - lpd.filter automatically recognizes and implements device aliases and their corresponding hacks and driver configurations. - Fontmap definitions have been split intelligently across separate packages. - Rebuilt most of ghostscript's ps fonts into NeXTSTEP ps fonts. 1.20 - GSPrintFilter: Minimize. GSPrintFilter binary now has support for only printer devices. Package now excludes ghostscript documentation, examples, and some superfluous ps files. New package, GSPrintFilterFull, contains the full ghostscript distribution for those who don't mind the extra functionality/space. - GSPrintFilterSetup: Removed dependance upon good/flaky parallel port driver (ala NEXTSTEP-3.3). Modified /usr/local/lib/ghostscript/lpd/lpd.filter to send buffered/verified data to parallel port. - GSPrintFilterFonts: translated almost all of ghostscript's native fonts into NEXTSTEP-style (.font wrapper) PS fonts (except the Hershey fonts, which appear to be broken) and placed them into a separate package: ghostscriptPSFonts.4.03. Only the remaining untranslated fonts (Hershey) remain in GSPrintFilterFonts. Modified Fontmaps to reflect the change. - Added drivers: dfaxlow, dfaxhigh. 1.13 - Fixed runtime error for sparc (compile problem). NOTE: problems MAY exist for untested platforms: hppa (but I think I've guessed well). If you can verify success/failure to me, I'd appreciate it. - lib/ghostscript/4.03/Fontmap: added Fontmap entries for Ohlfs and NeXT Screen fonts. - Added drivers: cdj850. 1.12 - Modularized GSPrintFilter into 3 separate packages: binaries, setup documentation, and fonts. - Fixed typo in GSPrintFilter.postinstall so that a 'burst page' no longer prints a garbage 1st page before actual printjob. The script SHOULD set the printcap variables sb AND sh to false), not just sb. Note: similar symptoms as this occur sometimes when using NeXT's Parallel port driver, especially when printouts stop after just a few pages. - Compiled against Xnext X11R6 libs (successfully, this time). - Added drivers: lbp8, lips3, lj250 (and alternate declj250), oki182, okiibm, st800. 1.11 - Added drivers: epson eps9high eps9mid ibmpro epsonc stcolor lj4dith - Added (Cludged) driver: ljet5l. This is really using the ljet4 driver, but with a lower default resolution (300DPI) to avoid occasional printer memory depletion problems. - Tried compiling against Xnext X11R6 libs, but linking failed. )-; 1.1 - Upgraded to Aladdin Ghostscript 4.03 - Fixed runtime error for m68k (compile problem). NOTE: problems MAY exist for untested platforms: hppa, sparc. - Included support for gamma correction to compensate for some VERY dark deskjet printouts. See the lpd.filter script for details. Thanks to: Bill Bumgarner. See also the gs DEPLETION option. - Included more ghostscript output targets (including X11, various image types and pdf). This made the binary much larger. X11R5 support is provided via co-Xist developer (X11R5). I MAY recompile against X11R6 Xnext libraries (for another release) if there is interest. 1.0 - Initial Package CREDITS Source Aladdin Enterprises Aladdin Ghostscript http://www.cs.wisc.edu/~ghost/ cdj850 ghostscript driver http://bonk.ethz.ch/hp850/ Package Creation Rex Dieter Computer System Manager Department of Mathematics and Statistics University of Nebraska Lincoln http://www.math.unl.edu/~rdieter/ COPYRIGHT Ghostscript is a copyrighted work (Aladdin Enterprises owns the copyright); it is not shareware or in the public domain. Different versions of it are distributed with three different licenses: Versions entitled "Aladdin Ghostscript" are distributed with a license called the Aladdin Ghostscript Free Public License that allows free use, copying, and distribution by end users, but does not allow commercial distribution. You can always get the current version of Aladdin Ghostscript with this license by Internet FTP from ftp.cs.wisc.edu:/ghost/aladdin/ghostscript*NNNN*_ . or /afs/cs.wisc.edu/public/ghost/aladdin/ghostscript*NNNN* where NNNN is the version number. If you do not have convenient access to the Internet, Aladdin Enterprises can send you Aladdin Ghostscript on PC-compatible diskettes for a small fee; please contact Aladdin for more information. The address and phone number are given later on in this document. Please note that this is not "commercial licensing"; you are still getting free software, with no support and no warranty.