International Language Environments Guide

Asian Multibyte Printing Support

The xetops and xutops utilities convert Asian text into a bitmapped graphics printed image. This enables you to print Asian characters on PostScript-based printers, even without having Asian fonts resident on the printers.

A typical command line for printing such a file would be as follows:


system% pr <filename> | xetops |lp

or


system% pr <filename> | xutops |lp 
(for the ko.UTF-8, zh.UTF-8 and zh_TW.UTF-8 locales)

Japanese Solaris 8 supports the following Japanese-specific printers:

Japanese texts can be printed with these printers through the LP print service. The following table shows the relation between these printers and user components. See JFP User's Guide for further details.

Table 8-2 Japanese Printer Support

Printer 

terminfo(-T) 

interface(-i) 

content(-I) 

filter 

Japanese PS 

PS 

jstandard 

postscript 

jpostprint 

Epson VP-5085 

epson-vp5085 

jstandard 

None 

jprconv 

NEC PC-PR201 

nec-pr201 

jstandard 

None 

jprconv 

Canon LASERSHOT 

canon-ls-a408 

jstandard 

None 

jprconv 

Use the following to set up a Japanese PostScript printer.

In the following example, the PostScript printer name is lw. The /dev/lp1 is the device that is associated with the printer. For more information, see thelpadmin(1M) man page.


# lpadmin -p lw -v /dev/lp1 -T PS -I postscript
# lpadmin -p lw -i /usr/lib/lp/model/jstandard
# cd /etc/lp/fd
# lpfilter -x -f postprint
# lpfilter -f jpostprint -F jpostprint.fd
# accept lw
# enable lw
# /etc/init.d/lp stop
# /etc/init.d/lp start

To print, use the following operation:


% lp -d lw Japanese Text File

Note -

These features are supported only on Japanese Solaris. Input codesets to a printer depend on the system locale.