xetops 和 xutops 公用程序的作用是产生位图图形来作为打印的图像。 简体中文软件中包括 xetops 和 xutops 公用程序,因此任何系统都可以在 PostScript 打印机上打印简体中文文本。 未来可能不再支持 EUC 和 GBK 语言环境中的 xetops 公用程序以及 UTF-8 语言环境中的 xutops 公用程序。
xetops 处理 zh 和 zh.GBK 语言环境中的文件。
xutops 处理 zh.UTF-8 语言环境中的文件。
《简体中文 Solaris 用户指南》的“简体中文打印设备,” 一章以及 xetops(1) 和 xutops(1)man 页中描述了 xetops 和xutops 的使用。
打印一个名为 filename 、包含简体中文字符、包含或不包含 ASCII/英文字符的文件的典型命令行如下所示:
system% pr filename | xetops | lp |
xutops 的语法与此类似:
system% pr filename | xutops | lp |
将 filename 作为要打印的文件的名称。该文件既可以包含 ASCII/英文字符,也可以包含简体中文。