Content-type: text/html
jprconv [-T terminfo] [-r ]
jprconv is a filter for printing Japanese text on a dot-matrix Kanji printer (EPSON VP-5085 or NEC PC-PR201) or Japanese language page printer (Canon LASERSHOT). Control codes for each printer are as follows:
|
If the above control codes are supported, Japanese text can be printed on another printer.
jprconv reads Japanese characters from the standard input, converts them to each control code, and writes to the standard output. If the input character code includes any user-defined characters, JIS X 0212, IBM Extended characters, or NEC-selective IBM Extended characters, these fonts are also printed. For the other characters, fonts installed on the printer are used.
You can use sdtudctool to define user-specific characters (see sdtudctool(1)). To print JIS X 0212, IBM Extended characters, or NEC-selective IBM Extended characters, the SUNWjcs3f package is also needed.
-T Specifies to use terminfo database. Any one of the following must be spefified.
canon-ls-408 In case of LIPS format
nec-pr201 In case of NEC 201PL format
epson-vp5085 In case of ESC/P24-J84 format
-r Does not convert NL to CR-NL when printing. By default it is converted.
To print file1 in the ESC/P24-J84 format, type:
example% jprconv -T epson-vp5085 < file1
To run this command, the locale must be set to ja, ja_JP.PCK or ja_JP.UTF-8.
/usr/lib/lp/text/jprconv.conf
/usr/share/lib/terminfo/e/epson-vp5085
/usr/share/lib/terminfo/n/nec-pr201
/usr/share/lib/terminfo/c/canon-ls-a408
jtops(1), jpostprint(1), sdtudctool(1), lpfilter(1M)
Japanese Environment User's Guide
In general, it is not necessary to use the jprconv because jprconv is used as a filter on the printer server side. For the setting on the printer server side, see Japanese Environment User's Guide.
Only Japanese characters are printable in the ja_JP.UTF-8 locale.