The xetops and xutops utilities produce bitmapped graphics as printable images. Simplified Chinese software includes the xetops and xutops utilities so any system can print Simplified Chinese text on a PostScript printer. The xetops utility in both EUC and GBK locales and xutops utility in UTF-8 locale may no longer be supported in the future.
xetops handles files in the zh and zh.GBK locales
xutops handles files in zh.UTF-8 locale
Using xetops and xutops is described in Simplified Chinese Solaris User's Guide, in the chapter "Simplified Chinese Printing Facilities," and in the xetops(1) and xutops(1)man pages.
A typical command line for printing a file named filename containing Simplified Chinese characters with or without ASCII/English characters, would be as follows:
system% pr filename | xetops | lp |
The syntax for xutops is similar:
system% pr filename | xutops | lp |
Make filename the name of the file to print. This file can contain ASCII/English characters as well as Simplified Chinese.