jtops [-12rRjJvwWmg] [-ln] [-s size] [-f font] [filename...]
jtops is a filter for converting Japanese characters to Japanese postscript output which uses Kanji font on a printer side. Input from stdin is converted and sent to stdout.
If there is no filename, the standard input is read.
By default, it forms font size 10 and 66 lines per page for the portrait form.
Before checking options specified in command lines, it interprets the strings in the JTOPS environment variable as options.
-1 1 column output (by default).
-2 2 columns output.
-r Rotate for the landscape form.
-R Output in the portrait form (by default).
-v Use Kanji-fonts of printer (for the Japanese PostScript printer by default).
-l n Specify the number of lines per page as n (by default 66).
-m Use Ming style as Japanese fonts (by default).
-g Use Gothic style as Japanese fonts. As alphabetic fonts use Courier-Bold style unless -f option is specified.
-f font Specify alphabetic fonts in font. By default, use Courier style without -g option, otherwise Courier-Bold style.
-s size Set font size to size. When the fontsize is specified with -s, the lines per page are calculated as follows:
-j Use half size alphanumeric of Japanese fonts as alphanumeric fonts.
-J Use Courier as alphanumeric fonts( by default).
-W Control the ratio of alphanumeric character and Japanese to be 1:2, except changeable width of alphanumeric fonts( by default).
-w Not control the ratio of alphanumeric character and Japanese.
example% jtops -j -l40 -s11 filename | lpr example% pr -l120 filename | jtops -l120 -s5 | lpr example% jtops -2r filename | lpr
The locale has to be set to ja, ja_JP.eucJP, ja_JP.PCK, or ja_JP.UTF-8 in your environment.
expand(1), lp(1), pr(1), lpr(1B), lpfilter(1M)
jtops supports the following character sets;
• JIS X 0201 figure character set for Roman
• JIS X 0201 figure character set for Katakana
• JIS X 0208