| 1 |
==================== e2ps(EUC to PS) Vesion 4.34 08/21/2002 |
| 2 |
Tool for printing text files by ps |
| 3 |
Copyright 1999-2002 Nobuyuki SHIRAKI (White Tools Presents) |
| 4 |
Last change : Wed 21 August 2002 17:54:51 |
| 5 |
|
| 6 |
e2ps is a tool for printing Japanese EUC code text. |
| 7 |
Because it processes mainly EUC files, I named this tool 'e'2ps. |
| 8 |
|
| 9 |
|
| 10 |
== How to install |
| 11 |
- arrange Makefile |
| 12 |
You have to configure following values for your system. |
| 13 |
E2PS_INST_DIR Set directory to install binaries. |
| 14 |
- run 'make' command |
| 15 |
After configuration, run |
| 16 |
make |
| 17 |
make install |
| 18 |
In E2PS_INST_DIR, e2ps and e2lpr(synbolic link to e2ps) are created. |
| 19 |
|
| 20 |
|
| 21 |
== How to use (simply) |
| 22 |
- e2ps [arguments] [filenames...] |
| 23 |
filename and standard-input are both OK. The output is to standard-out |
| 24 |
as postscript text. |
| 25 |
- e2lpr sends postscript text to the default printer directly. |
| 26 |
- e2ps -h shows arguments help. |
| 27 |
frequently used arguments follows: |
| 28 |
|
| 29 |
-p : portrait |
| 30 |
-p2 : portrait 2 pages/paper (default) |
| 31 |
-p4 : portrait 4 pages/paper |
| 32 |
-pv4 : portrait 4 pages/paper vertical |
| 33 |
Ex: 1 2 |
| 34 |
3 4 |
| 35 |
-l : landsacpe |
| 36 |
-l2 : landscape 2 pages/paper |
| 37 |
-l4 : landscape 4 pages/paper |
| 38 |
-lv4 : landscape 4 pages/paper vertical |
| 39 |
Ex: 1 3 |
| 40 |
2 4 |
| 41 |
-box : page frame line print |
| 42 |
-size fontsize : fontsize (10.0) |
| 43 |
-line line : max lines/page (66) |
| 44 |
-nh : not print headers |
| 45 |
-Pprinter : printer name |
| 46 |
-h | --help : show this help |
| 47 |
-v | --version : show version |
| 48 |
|
| 49 |
|
| 50 |
== Complex arguments |
| 51 |
- -af (default: Courier) |
| 52 |
- -abf (default: Courier-Bold) |
| 53 |
- -abif (default: Courier-BoldOblique) |
| 54 |
Specify PostScript ASCII-fonts (bold, bold-italic). |
| 55 |
You can read font-list with -fl argument, but every fonts can be used. |
| 56 |
Available font is based on the printer. |
| 57 |
Example: |
| 58 |
-af Times-Roman print with Times-Roman |
| 59 |
|
| 60 |
- -afw (default: 0.6) |
| 61 |
- -afh (default: 1.0) |
| 62 |
- -kfw (default: 1.2) |
| 63 |
- -kfh (default: 1.0) |
| 64 |
Specify scales of font-width and font-height. |
| 65 |
-afw and -afh specify ASCII-font's width and height. |
| 66 |
-kfw and -kfh specify KANJI-font's width and height. |
| 67 |
A value over 1.0 of either -afh or -kfh is ignored. |
| 68 |
Courier font width is 0.6 times as large as its height. |
| 69 |
Kanji font width is equal to its height, but Kanji font is printed |
| 70 |
with 1.2 times width. So default value is 1.2. |
| 71 |
Example: |
| 72 |
-afw 0.3 ASCII-font is printed with half width |
| 73 |
-afw 1.2 ASCII-font is printed with 2 times width |
| 74 |
-afh 0.5 ASCII-font is printed with half height |
| 75 |
-afh 1.2 ASCII-font is printed normally |
| 76 |
-kfw 1.0 KANJI-font is printed densely |
| 77 |
-kfw 0.5 KANJI-font is printed with half width |
| 78 |
-kfw 2.0 KANJI-font is printed with 2 times width |
| 79 |
-kfh 0.5 KANJI-font is printed with half height |
| 80 |
-kfh 1.2 KANJI-font is printed normally |
| 81 |
|
| 82 |
- -ohp |
| 83 |
printing on OHP sheet with big size font (25.0) and without headers. |
| 84 |
|
| 85 |
- -date |
| 86 |
Specifies date-character-string printed on top-left of a page. |
| 87 |
Your printer can use EUC-font, you can specify EUC character strings. |
| 88 |
|
| 89 |
- -head |
| 90 |
Specifies file-name-character-string printed on top-center of a page. |
| 91 |
Your printer can use EUC-font, you can specify EUC character strings. |
| 92 |
|
| 93 |
- -page |
| 94 |
Specifies page-character-string printed on top-right of a page. |
| 95 |
' specified-string + page-number ' is the print-style. |
| 96 |
Your printer can use EUC-font, you can specify EUC character strings. |
| 97 |
|
| 98 |
|
| 99 |
== Chages |
| 100 |
- version 4.34 |
| 101 |
enabled Japanese header strings. |
| 102 |
corrected bugs of LANG environment. |
| 103 |
- version 4.33 |
| 104 |
make process of big-size files much faster. |
| 105 |
- version 4.32 |
| 106 |
added functions of 4 pages/paper vertical printing. |
| 107 |
added arguments:-pv4, -lv4 |
| 108 |
- version 4.31 |
| 109 |
corrected a problem about 0 byte input. |
| 110 |
- version 4.30 |
| 111 |
added a function of setting font-width and font-height magnification. |
| 112 |
added arguments: -afw, -afhm, -kfw, -kfh |
| 113 |
changed portrait 2 pages/paper to portrait 1 in OHP printing. |
| 114 |
changed process of KANJI code convertion. |
| 115 |
corrected other problems. |
| 116 |
- version 4.29 |
| 117 |
corrected PowerPC arm s390's char architecture problem. |
| 118 |
corrected SJIS problems. |
| 119 |
corrected other problems. |
| 120 |
- version 4.28 |
| 121 |
corrected ASCII fonts arguments's problems. |
| 122 |
- version 4.27 |
| 123 |
corrected header fonts problems. |
| 124 |
- version 4.26 |
| 125 |
corrected Y2K problem again. |
| 126 |
arrange sources a little. |
| 127 |
became able to change space ratio between lines. |
| 128 |
- version 4.25 |
| 129 |
corrected help and library mistakes which are misprinting fonts. |
| 130 |
corrected font size mistakes in ps-font.c |
| 131 |
- version 4.24 |
| 132 |
corrected the 'Copyright' expression. |
| 133 |
corrected the argument '-box' problems. |
| 134 |
- version 4.23 |
| 135 |
became smaller especially for ps-font.c. |
| 136 |
- version 4.22 |
| 137 |
became able to print page box like a2ps. |
| 138 |
- version 4.21 |
| 139 |
corrected Y2K problem. |
| 140 |
- version 4.20 |
| 141 |
made English help etc. |
| 142 |
changed EUC and JIS printing with argument. |
| 143 |
output number of printing papers to stndard error. |
| 144 |
- version 4.11 |
| 145 |
became able to deal with Tektronix printers. (-DTEKTRO) |
| 146 |
- version 4.1 |
| 147 |
became able to deal with printers without EUC fonts. (-DJIS_PS) |
| 148 |
|
| 149 |
|
| 150 |
== Copyright |
| 151 |
The copyright of 'e2ps' is according to GPL. |
| 152 |
|
| 153 |
|
| 154 |
== E-mail Address (Aug/2002) |
| 155 |
If you want to use whole or part of e2ps, I wish you e-mail to me. |
| 156 |
[email protected] |
| 157 |
[email protected] |
| 158 |
'wt' and 'White Tools' mean the tools I made. |