AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
#Power
 View Only

How to print UTF-8 from AIX (lp)

  • 1.  How to print UTF-8 from AIX (lp)

    Posted Fri September 30, 2011 02:36 PM

    Originally posted by: SystemAdmin


    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.
    #AIX-Forum