Traditional Chinese Solaris User's Guide

Laser Printer Support

An application must have the mp utility to print EUC, BIG5, BIG5HK or UTF-8 files to a PostScript-based printer.

Using the mp Utility

The mputility supports all Asian locales. As a printing filter, mp generates a properly formatted version of the file content in PostScript format. Depending on the locale's system font configuration for mp, the Postscript output file contains glyph images from a scalable or a bitmap system font. The mp print filter is enhanced in the current Solaris release to print files of a certain type for each locale. See the mp(1) man page for more information.

Table 6–1 Files Printed With mp in Each Locale

File Printed

Locale

EUC 

zh_TW

BIG5 

zh_TW.BIG5

BIG5HK 

zh_HK.BIG5HK

UTF-8 

zh_TW.UTF-8

zh_HK.UTF-8

You can use a command line such as the following to print a file with Traditional Chinese characters. The file might also include ASCII/English characters.


system%  mp filename | ld -d printer

Using mp as an Xprt (X Print Server) Client

Using mp as an Xprt client enables mp to print the output of any printer connected to a network supported by an Xprt print service. As an Xprt client, mp supports PostScript and many versions of PCL.

The Xprt client attempts a connection to an Xprt server based on the following rules: