************************************************ * Software Release: CNPRINT Versions 2.90/2.91 * ************************************************ 0. What Is CNPRINT and What's New CNPRINT, a utility to print Chinese/Japanese/Korean text (or convert to PostScript) under DOS, VMS and UNIX systems. It works just as a print command on your system. Currently GB, Hz, zW, BIG5, JIS, EUC, Shift-JIS, KSC, UTF8 and UTF7 formats are supported. These versions are updated from V2.40/V2.41. Thanks to users for your valuable support and suggestions. Main changes: V2.90/2.91 1. print address labels (-label option). Need to update file cnprint.cmd for this option to work properly. See @[LBAR] in section V.3 on how to specify addresses of sender and receiver. 2. GB<->B5 may use the phrase dictionary from "wordg2b" 3. added several command-line options: -f: two-sided format (but does not print two-sided!) -extr: extract/print selected pages from a PS file (use with -be, -o) -epsms: MS format EPS (add a CTRL-D at the beginning of the EPS file) -odd, -even: -o and -oo still works. 4. @[DF] also sets char width/height ratio (Cx, Cy) to default 5. optimized comma treatment in vertical mode 6. several bug fixes supplied by Ron Grenier V2.80/2.81 1. added several command-line options -mfeed (manual feed) -eps (-e still works) -nopage (do not print page number and date) -h3, set default English font as Helvetica -big5, input file is big5 (-5 still works) 2. do not break English (ascii) words: algorithm rewritten 3. -io option, redesigned some of the messages so that it works better when used as a filter. For unix, filter setup is provided in appendix. V2.70/2.71 1. -r8: CStar format to regular DOS format (-r7 the reserve) 2. -bk, booklet format (only even number of columns allowed) 3. -rm(lm/tm/bm)=12, right (left/top/bottom) margin 12 mm 4. -size=10.5, char size 10.5 pts *5. -euro, disable/enable printing European chars. Default: auto-detect. 6. Several functional sequences: @[BR]: issue a line break (useful in Japanese document); @[DF]: use default settings for font, size, line and char spaces; @[F0]: use default font. (Note: the default setting means the setting in "cnprint.cmd", command-line, or selected by menu) 7. Fixed a bug with @[C0], now return to default column numbers, not 1. 8. Add -letter(legal)(a3)(a4) to select paper sizes. Note it does not actually select the proper paper tray on printer, but only use the paper size to generate image. 9. Add -gb2hz, -hz2gb options (original -z and -zz still work). 10. (DOS and VMS) Accept wildcard in input file name (e.g. hxwz*.gb). 11. Set default page number position in "cnprint.cmd". *12. -env(s): envelope mode on command-line. 13. -fpg(5): (multiple input files) start new page for each new input file (if within 5 lines to bottom). *14. -bmps#: shift bitmap of a char. *15. CNS support (convert to Big5 and then print). 16. GB(HZ)<->B5 conversion. 17. Now write to stdout, thus can be used as a "filter". But there may be some problems with file protection for multiple users. It works on my linux as a filter defined in "printcap" file. V2.60/2.61 1. Six positions for page number 2. Allow pipeline-input for unix and DOS (-i option) 3. Support Korean KSC-5601 4. Support more Japanese formats: JIS (old-, new-, nec-), shift-JIS, EUC 5. Auto-detect input codes (either Chinese or Japanese, not both) 6. Vertical option for Japanese 7. -f hbfname --> -f=hbfname; -n 0 --> -n=0 8. Repair functions for GB/Big5/JIS 9. Added control to make the text (e.g. titles) appear at the center of a line (@[CB], @[CE]) 10. Support European characters generated by NJstar (those characters are mapped to 128-160) 11. Now do not break English (ascii) words and numbers like 123.4 12. Draw a line under text (@[UB], @[UE]) 13. Specify char size on command line: -size=15.4 14. Support unicode (utf8, utf7) 15. Fixed some bugs. I. Functions and Features 1. Print GB/Hz/zW/BIG-5/JIS/KSC/unicode format Chinese/Japanese/Korean documents (or pure English documents), or convert them to PostScript. 2. Fast? It's up to your judgement. Speed of printing depends on printers and the number of characters in a page (from 3-4 pages per minute to 2 minutes per page. One user reported that it takes only 135 seconds to print one issue of HXWZ, but on most printers I tested it takes 6-10 minutes). 3. Small disk space requirement; PS file < 400K per issue of HXWZ, (actually ~350K, almost smallest possible). 4. Support HBF (Hanzi Bitmap Format) V1.0, thus can use almost ALL existing bitmap fonts with different sizes, so don't worry about disk space if you want to try different softwares. 5. "Intelligent" treatment of punctuation marks. Looks nicer. 6. Multi-column for a page or part of a page. 7. Change font (both Chinese and English), character size or character width-height ratio, gray level, for a whole document, a group of characters, or EVEN just one character. 8. Vertical printing mode (people not from mainland may like it). 9. Change line space, character space and width of English chars. 10. Set paper orientation: Portrait or Landscape (use -l option, save paper). 11. Page numbering, change of paper margins. 12. Multiple copies of print-out option. 13. Change English font. 14. User defined default values for margins, character size, etc. 15. Start a new page at any point (@[P#]). * 17. Generate and import EPS files (picture/graph/text). (see V.10, V.17) * 18. Page header, i.e. put something on a specific place on every page. (see V.17) * 19. Character or word statistics (enhanced version only, see V.18) 20. Friendly designed so that even if you make a mistake the program would take care for you in most cases. II. What Do You Need to Use CNPRINT A machine runing UNIX or VMS (V2.90), or an (IBM compatible) PC running DOS (V2.91) A PostScript printer (CAUTION: NOT ordinary laser printer) CNPRINT V?.?? One or more Chinese (HBF) font file(s) (see part VI) III. Where to Get CNPRINT site: ftp.ifcss.org directory: /pub/software/unix/print (cnprint290.readme, cnprint290.tar.gz) /pub/software/vms/print (cnprint290.readme, cnprint290.zip) /pub/software/dos/print (cnprint.doc, cnprint.zip) Note: 1. The /software directory at ftp.ifcss.org is mirrored at cnd.org (132.249.229.100, directory /pub/software) and nctuccca.edu.tw (140.111.3.21). As an alternative to ftp.ifcss.org, you may also use these two mirror sites for fast access. 2. The ftp site at neurophys.wisc.edu also carries the above files (except fonts and HBF files). The directory is "pub/cn". This site also contains the latest yet not formally released versions and some "bug-fix" for unusual systems. Please read the file "00readme.0", if you have any questions. 3. Other sites may also carry CNPRINT, but the author will only update ftp.ifcss.org and neurophys.wisc.edu with each release. 4. To unzip (uncompress): UNIX: tar -zxvf cnprint.290.tar.gz or gunzip -c cnprint290.tar.gz | tar -xvf VMS: unzip cnprint290.zip DOS: pkunzip cnprint.zip (tar and gzip utilities are available from ftp://ftp.gnu.ai.mit.edu/pub/gnu) (If you have problems with decompressing the files, read part 2 of this section) After ungzip or unzip the file "cnprint290.tar.gz" (or cnprint290.zip, cnprint.zip), you will get the first 3(4) files depending on your system. You need to get font files and HBF files seperately (or you can use font and HBF files from other softwares). Please read part VI of cnprint.help (DOS: cnprint.hlp) before you get any font or HBF file). UNIX: cnprint.help, cnprint.c, cnprint.cmd, cnprint.1, fonts, HBF files VMS: cnprint.help, cnprint.exe, cnprint.cmd, fonts, HBF files DOS: cnprint.hlp, cnprint.exe, cnprint.cmd, fonts, HBF files See part IV of the complete help file for installation. Copyright YIDAO CAI (~{2LR@5@~}), 1992-1998 All Rights Reserved. Free for non-commercial and personal use only. Last revised on Jan. 10, 1998.