DM16.DOC,last modified Nov-14-1992 Documentation of DM16.EXE v1.2 Gongquan Chen 9220 Clarewood Dr., #2063 Houston, TX 77036 Voice: 713-245-9989 Email: gchen@shellus.com -- Note: -------------------------------------------------------------- This is the modified DM16.DOC for DM16.EXE v1.2 as of 11-14-1992. The option -f has been improved. You still need the two .EP9 font files to use this program [see crl.nmsu.edu /incoming or /pub/chinese/ dm16.zip]. Text line preceded by a "!" is newly modified or added. ----------------------------------------------------------------------- DM16 is a small and simple PC program for printing Chinese document files on a 9 pin EPSON or compatible dot matrix printer. It is unique compared to many other Chinese printing programs for 9 pin EPSON printers in that DM16 will try to print each Chinese character in a squared, instead of elongated, form at about 120dpi x 144dpi printer resolution. Like DM24 which I posted on the network for 24 pin EPSON printers, DM16 will print as many files as specified by the user. 1. Files in this package: DM16 .DOC - This file DM16 .EXE - The executable program CCLIB16 .EP9 - Raster-interleaved 16x16 Chinese Bitmap Font (JianTi) CCLIB16F.EP9 - Raster-interleaved 16x16 Chinese Bitmap Font (FanTi) ! CCLIB16S.EP9 - Raster-interleaved 16x16 Chinese Bitmap Font (Simple JT) 2. System Requirements: IBM PC and compatible running MS-DOS. Only about 10KB free RAM is required. But large free RAM will speed up the printing by storing the Chinese font library in memory to avoid repetitive disk access. ! DM16.EXE can be stored anywhere in your system. The font library file(s) ! must be in the same directory as that for DM16.EXE. It's better to set up your DOS path for easy access of DM16.EXE Your 9 or 24 pin EPSON or compatible printer has to be attached to LPT1. Otherwise, you can use DOS MODE command to redirect LPT1 to whichever port your printer is connected to. 3. Usage: ! DM16 [-f#] [-t#] [-l#] [-c#] [-n#] [-p#] file1[.gb] [file2[.gb]...] options: ! -f# = set font file to be used(0..2), default=1 ! 0 : CCLIB16S.EP9 - simplified Hanzi font [Sans Serif] ! 1 : CCLIB16.EP9 - simplified Hanzi font [Serif] ! 2 : CCLIB16F.EP9 - traditional Hanzi font -t# = set top margin(0..20), default=3 -l# = set left margin(0..40), default=5 -c# = set # of chars per line(1..255), default=50 -n# = set # of lines per page(1..255), default=62 -p# = turn on/off page number printing (0=off,1=on), default=1 Note: ! All the options can be used more than one time in any order before ! a filename. The parameter set by an option will be effective until ! a new parameter is given. Invalid options are ignored. Options ! must be separated by at least one space. In the file name, you may include wildcards (*,?) in it. A full DOS path specification is acceptable. GB-coded Chinese files are always assumed. You can give as many files as you want so long they are separated by at least one space. If no extension given, .GB is assumed to be the default. example: DM16 -n54 -p0 * => print any .GB files in current directory, 54 lines/page and no page numbers printed. ! DM16 -f0 -c60 C:\HXWZ\CM* C:\CH_DOC\*.TXT ! => print all HXWZ GB files under C:\HXWZ\ directory and all .TXT ! files under C:\CH_DOC\ directory, using simplified font #0 and ! print at 60 characters/line. 4. Limitations: DM16 is a very simple and plain-Chinese text printing program. It's best suitable for printing HXWZ weekly magazine files. It has very limited error handling support. If you run into any problems with DM16, please let me know by e-mail. Any "pure" English Ascii characters will be printed as their counterparts in the Chinese font library. DM16 also supports 24pin EPSON or compatible printers. I don't know if DM16 will work for all models of 9 or 24 pin EPSON or compatible printers. But DM16 has be tested on the following series of printers: IBM Proprinter XL, EPSON LX-80, EPSON FX+, EPSON LQ-850, and Panasonic KX-1124. The shape of Chinese characters seems a little different on 9pin and 24pin printers. It's a little flat with the former and almost squared on the latter. On U.S. letter-size paper, it's better to set 62 lines per page on 9pin printers (default) and 54 lines per page on 24pin printers. 5. Distribution of DM16: DM16 is free to the public domain, with all rights reserved. No warranty whatsoever. I'll disclaim any responsibility for any consequences resulting from using this software. The user is fully responsible for determining the usefulness and fittness of this program. 6. Revision Notes: v1.0: Nov-12-1992 -Initial release on crl.nmsu.edu /incoming. -only -f is supported for font change. -[deleted by author]. v1.1: Nov-13-1992 -Add five more options for page formating control: -l,-t,-c,-l,-p -Recompress package and upload to crl.nmsu.edu /incoming ! v1.2: Nov-14-1992 ! -Add a new simplified Hanzi font and modified the usage of option -f. ! This new font CCLIB16S.EP9 seems better than CCLIB16.EP9.