Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
Configuring HP-UX for Different Languages > Chapter 2 How to Configure the Asian System Environment

Configuring Printers

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

Configuring the LP Spooler

ASE provides many kinds of LP model files which are designed to be configured by sam(1m) . To add, delete and maintain Asian printers with the model files in /usr/lib/lp/model , refer to the Managing Printers section of the Managing Systems and Workgroups manual.

Printing

To print Asian text on the printer, you may need to specify the locale value for the lp command along with the text file. For example,

lp -oja_JP.eucJP text_file_written_in_Japanese_euc

The following table shows the supported locales in HP-UX 11i

Table 2-2 Locales Supported by the lp command

LocaleLanguage/CodeSet
ja_JP.SJIS Japanese/HP-15
ja_JP.eucJP Japanese/EUC
ja_JP.utf8 Japanese/UTF8
ko_KR.eucKR Korean/EUC
ko_KR.utf8 Korean/UTF8
zh_CN.gb18030 Simplified Chinese/GB18030
zh_CN.hp15CN Simplified Chinese/GB2312
zh_CN.utf8 Simplified Chinese/UTF8
zh_TW.big5 Traditional Chinese/BIG5
zh_TW.ccdc Traditional Chinese/CCDC
zh_TW.eucTW Traditional Chinese/CNS
zh_TW.utf8 Traditional Chinese/UTF8
zh_HK.big5 Traditional Chinese/BIG5
zh_HK.utf8 Traditional Chinese/UTF8

 

The printer model files support a wide variety of options, such as font selection and page control. Consult the model file which is installed in /usr/lib/lp/model for more details.

Typically, the following model files are used for Asian printers:

Table 2-3 Model files for Asian printers

ModelPrinters
PCL5.asian HP LaserJet printers with Asian font DIMM
PCL5.nloo HP LaserJet printers without Asian font DIMM
ESCP Asian printers supporting ESC/P printer language

 

Simple Test

LANG=ja_JP.eucJP
export LANG
date | lp -oja_JP.eucJP -d printer_name
Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2002 Hewlett-Packard Development Company, L.P.