Operating System - HP-UX
1834813 Members
2638 Online
110070 Solutions
New Discussion

Re: How to print out Chinese and how to set up paper layout?

 
Jessica Chou
Advisor

How to print out Chinese and how to set up paper layout?

How do I print out Chinese (two-bytes characters) ?

Also, how can i set up the left/right margin
(or more options) of the layout?

Thank you very much for your help.

Jessica
h57619@ms46.hinet.net
3 REPLIES 3
Marcel Eken_2
Frequent Advisor

Re: How to print out Chinese and how to set up paper layout?

 
Jessica Chou
Advisor

Re: How to print out Chinese and how to set up paper layout?

Hi Marcel,
Thank you very much for your help.
It did come out Chinese characters, but they were not the correct fonts. We have PCL fonts installed in the /usr/lib/asx/fonts/chinese-t
(Renamed "chinese-t" as "zh_TW.big5"($LANG) didnt affect my output)
So, here is what I did:
step1) Configure the printer with the PCL5.nloo model-I ran jetadmin to add a network printer to my local spooler and specified the script as "PCL5.nloo".
step 2)set environment vairable LANG and LC_ALL in my profile as
export LANG=zh_TW.big5
export LC_ALL=zh_TW.big5
step 3)print the doc like this:
lp -ochinese-t -d[printername] filename

....
Anything else I should have done?

Thank you again.

Jessica
Jessica Chou
Advisor

Re: How to print out Chinese and how to set up paper layout?

Sorry, i forgot to tell you what printer and system we are using.
They are HP LaserJet 4050 and HP-UP 11 9000.

Thank you.

Jessica