Topic
No replies
SystemAdmin
SystemAdmin
6907 Posts
ACCEPTED ANSWER

Pinned topic How to print UTF-8 from AIX (lp)

‏2011-09-30T18:36:20Z |
Hello everyone!

I have a problem with printing ru_RU.UTF-8 from AIX using lp command.

#locale -a
C
POSIX
RU_RU.UTF-8
RU_RU
en_US.8859-15
en_US.ISO8859-1
en_US
ru_RU.ISO8859-5
ru_RU

#locale
LANG=en_US.UTF-8
LC_COLLATE=RU_RU.UTF-8
LC_CTYPE=RU_RU.UTF-8
LC_MONETARY="en_US"
LC_NUMERIC="en_US"
LC_TIME="en_US"
LC_MESSAGES="en_US"
LC_ALL=

That what i print (lp -dmyqueue 1.txt):

АБВГДЕЁЖЗИКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ

That what i get:

А_ВГ_ЕЁ_____МНО_РСТ_ФХ__________

My printer is hp lj 4015dn
Driver is HpJetDirect hp laserjet4+

Printer queue is set to UTF-8 printing.

Please help.