How to print HXWZ PS files on HP lasejer from a PC using ghostscript 2.5.2 Installation Guide xiaofei@acsu.buffalo.edu Ghostscript is fully fledged, free, reliable Postscript interpreter which works on many computer platforms and on many printing devices. I am going to introduce how to print Hua Xia Wen Zhai PS files on HP laserjet from a PC using Ghostscript 2.5.2, the lastest version at the time. How to install: 1. For a list of FTP sites, please see enclosed announcement at the end. There are only two files we need to get: ghostscript-2.5.2msdos.tar.Z and ghostscript-fonts-2.5.2.tar.Z The first one contains main distribution files. And the second file contains ascii font files. We do not need all of the files. Among the main distribution files, only 4 files are large binary files: dos4gw.exe gs.exe gs386.exe gswin.exe Where gs.exe is for any PC, gs386.exe is for 386 PC. gswin.exe is for window and is of use for printing purpose. So if you use a 386 PC then you need dos4gw.exe and gs386.exe, otherwise you need dos4gw.exe and gs.exe. We do not need all of the rest of main distribution file either to run ghostscript. Basically we do not need example files such as tiger.ps and documentation files such as use.doc. But since they are small ascii files, if you are not absolutely sure if a file is needed, intall it. No big deal. You do not need any fonts for bitmapped Chinese. The English uses Courier-Bold font (named ncrb.gsf in Ghostscript). So we need to get only one file ncrb.gsf from font distribution file. If you do not install fonts, the ghostscript uses home made ugly font for printing English. it doesnot look pretty, that is all. Put all files mentioned above in a directory called c:\ghost. The total space taken is less than 1 MB. 2. Please set the following in autoexec.bat. And type autoexec.bat to run it or switch the computer off and turn it on again. set GS_RUN_EXE=c:\ghost\dos4gw set GS_LIB=c:\ghost And set the c:\ghost in the searching path. 3. To print HXWZ, type gs386 -sDEVICE=ljet3 -dNOPAUSE pspage01 pspage02 pspage03 ... quit.ps or replace gs386 to gs if your computer isn't 386 and ljet3 to laserjet if your printer is not HP laserjet III. Please note that msdos can only accept commands up to certain limit. So you want to rename pspage01 to something shorter, eg p01 or print first 1-5 pages and then print 5-10 pages. It takes about 15 minutes to print a Hua Xia Wen Zhai issue and the quality is as good as from a true Postscript speaking laser printer. 4. The above introduction applies to any Postscript files. The only problem is you did not install sufficient fonts. What I suggest you to do is to run postscript and ghostscript will remind you what fonts are missing and you just need to get those fonts from font distribution. 5. Where to get further help for ghostscript: a) read the all related manuals from main distribution files. b) query newsgroup `gnu.ghostscript.bug'. Enclosure: announcement of Ghostscript 2.5.2 From: ghost%ka.cs.wisc.edu@cs.wisc.edu (L. Peter Deutsch) Newsgroups: gnu.ghostscript.bug,comp.lang.postscript,gnu.announce Subject: Ghostscript 2.5.2 is released Ghostscript 2.5.2 is now released. The main purpose of this release is to fix the DeskJet and LaserJet drivers, which were still broken in 2.5.1. As usual, see readme.doc in the fileset for a somewhat more detailed list; see the NEWS file for a very detailed list. Note that only a subset of the available drivers and features are included in the PC executables distributed as GNU software: read the individual makefiles to find out which drivers and features are included in which executables. Ghostscript 2.5.2 may be obtained from the usual GNU distribution points. One good place to get it is ftp.cs.wisc.edu:/pub/X/ghostscript-*2.5.2*. This is a 24-hour-access site that allows anonymous FTP and is not heavily loaded. Context diffs from Ghostscript 2.5.1 to 2.5.2 have been provided. Ghostscript 2.5.1 has been left on-line, as well as 2.4.1. 2.5 has been deleted, although diffs from 2.4.1 -> 2.5 -> 2.5.1 have been left on-line to help users upgrade. Both 2.4.1 and 2.5.1 will be deleted in the near future, but the diffs will be left on-line indefinitely. Suggestions for what should go in Ghostscript 2.6 are more than welcome. The only new feature definitely scheduled for inclusion is the ability to use the platform's fonts (e.g., the X bitmap fonts) when possible. Leading candidates for other features are Type 0 (Chinese/Japanese) font capability, the Level 2 'pattern' facility, and a major overhaul of the general rasterizing algorithm for increased performance. Please send suggestions directly to ghost@aladdin.com. I would like to thank the users who helped test this release on very short notice, and especially George Cameron for help with the printer drivers. L. Peter Deutsch [ Soon to be at these ftp sites as well. Please try them before prep.ai.mit.edu! thanx -gnu@prep.ai.mit.edu Japan: ftp.cs.titech.ac.jp, utsun.s.u-tokyo.ac.jp:ftpsync/prep Australia: archie.au:gnu Europe: src.doc.ic.ac.uk:gnu, ftp.informatik.tu-muenchen.de, ftp.informatik.rwth-aachen.de:pub/gnu, nic.funet.fi:pub/gnu, ugle.unit.no, isy.liu.se, ftp.stacken.kth.se, sunic.sunet.se, ftp.win.tue.nl, ftp.diku.dk, ftp.eunet.ch, archive.eu.net United States: wuarchive.wustl.edu ftp.cs.widener.edu, uxc.cso.uiuc.edu, col.hp.com, gatekeeper.dec.com:pub/GNU, ftp.uu.net:packages/gnu For information on how to order GNU software on tape, check the file etc/DISTRIB in the GNU Emacs distribution, or e-mail a request to: gnu@prep.ai.mit.edu ]