Traditional Chinese Solaris System Administrator's Guide

Laser Printer Support

To print Traditional Chinese characters using a PostScript-based printer, a Traditional Chinese Solaris software application must have the Traditional Chinese Solaris xetops, xutops or mp utility to print EUC, BIG5, BIG5HK or UTF-8 files.

Using xetops and xutops Utilities

The xetops and xutops utilities produce bitmapped graphics as printed images. Traditional Chinese software includes the xetops and xutops utilities so any system can print Traditional Chinese text on a PostScript printer. The xetops utility in EUC locale and xutops Utility in UTF--8 locale may no longer be supported in the future.

Using xetops and xutops is described in Traditional Chinese Solaris User's Guide, in the chapter "Traditional Chinese Printing Facilities," and in the xetops(1) and xutops(1) man pages.

A typical command line for printing a file named filename containing Traditional Chinese characters with xetops, 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 Traditional Chinese.

Using the mp Utility

The mp utility supports all Asian locales. As a printing filter, mp generates a pretitified version of contents in PostScript format. The Postscript output file contains glyph images from Solaris system-resident scalable or bitmap fonts, depending on each locale's system font configuration for mp. As a print filter, mp(1) is enhanced in the Solaris 9 environment to print either EUCfile in the zh_TW locale, BIG5 file in the zh_TW.BIG5 locale, BIG5HK file in the zh_HK.BIG5HK locale or UTF-8 files in both the zh_TW.UTF-8 and zh_HK.UTF-8 locales.

Using mp is described in Traditional Chinese Solaris User's Guide, in the chapter "Traditional Chinese Printing Facilities," and in the mp(1) man page.

A typical command line for printing a file named filename containing Traditional Chinese characters with or without ASCII/English characters, would be as follows:


system%  mp filename | ld -d printer

Make filename the name of the file to print. This file can contain ASCII/English characters as well as Traditional Chinese.