How to print UTF-8 from AIX (lp)


 
Thread Tools Search this Thread
Operating Systems AIX How to print UTF-8 from AIX (lp)
# 1  
Old 09-30-2011
Data How to print UTF-8 from AIX (lp)

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.
# 2  
Old 09-30-2011
It's not printing garbage, and it couldn't print Г Ё Ф if UTF8 didn't work.

I think your printer just doesn't have Russian characters for that typeface.
# 3  
Old 09-30-2011
Quote:
Originally Posted by Corona688
It's not printing garbage, and it couldn't print Г Ё Ф if UTF8 didn't work.

I think your printer just doesn't have Russian characters for that typeface.
How can i solve this problem?
# 4  
Old 09-30-2011
I'm not intimately familiar with AIX's printing system or HP's printers, but what I'd do first is find out more about the printer, see if it'll tell you what fonts and regions it has installed. If it has no fonts for your region at all you'll need to upload or install one somehow.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Convert files to UTF-8 on AIX 7.1

Dears, I have a shell script - working perfectly on Oracle Linux - that detects the encoding (the charset to be exact) of the files in a specified directory using the "file" command (The file command outputs the charset in Linux, but doesn't do that in AIX), then if the file isn't a UTF-8 text... (4 Replies)
Discussion started by: JeanM-1
4 Replies

2. AIX

How to print PDF files on AIX 5.3?

Hello All, How to print PDF files on AIX 5.3 and 6.1 because i tried adobe reader with no success, any help will be highly appreciated. Thank you (8 Replies)
Discussion started by: moudmm
8 Replies

3. AIX

How to print color text in AIX?

Hi I'd like to print color text and I've tried this: echo "\033but it didn't woked. When I changed 0 --> 1/4/5, the text "HI" --> bold/underline/blink, but when I changed 31 or 33 to other values, the color didn't change. What's the problem. Need to install something ??? (8 Replies)
Discussion started by: bobochacha29
8 Replies

4. AIX

Install EN_GB UTF-8 on AIX 5.3

Hello Gang Can you please help me in installing EN_GB UTF-8 on AIX 5.3 . I have worked on Solaris and Linux, but not familier with AIX so hoping if someone show the roadmap. (5 Replies)
Discussion started by: ningy
5 Replies

5. AIX

Adding print queue in AIX

Hi When I add a print queue in my AIX server I get the below message. enq: (WARNING): 0781-162 Cannot awaken qdaemon (request accepted anyway). enq: errno = 2: A file or directory in the path name does not exist. Added print queue 'CUNE024'. Also when I give a test print the status... (3 Replies)
Discussion started by: newtoaixos
3 Replies

6. Linux

Help to Convert file from UNIX UTF-8 to Windows UTF-16

Hi, I have tried to convert a UTF-8 file to windows UTF-16 format file as below from unix machine unix2dos < testing.txt | iconv -f UTF-8 -t UTF-16 > out.txt and i am getting some chinese characters as below which l opened the converted file on windows machine. LANG=en_US.UTF-8... (3 Replies)
Discussion started by: phanidhar6039
3 Replies

7. AIX

AIX Print Queue

I am trying to print from Aix 6.1 using a remote queue to a Brother 7360N All in one, I can see the printer, but only output is blank pages. My smit setup is: Name of queue: testprt Hostname if Remote Printer: testprt (I added name to etc/hosts) Name of queue on remote printer: testprt (I... (4 Replies)
Discussion started by: Al Metz
4 Replies

8. AIX

AIX 5 print queue

I have setup a printer and queue using SMIT and I have set the default tray to 4. What I am trying to find out is if there is a way to set the next tray it trys to use if tray 4 is empty to tray 3, then tray 2, then tray 1. (0 Replies)
Discussion started by: chefsride
0 Replies

9. AIX

Print server setup on AIX

Hi, I'm very new to AIX, I have to setup a D-Link print server with HP Laserjet 1300 printer on AIX, any body can guide me thru simple steps to acheive this, like how to install print server, driver and then which services i have to restart after adding the print server all this kind of stuff. ... (1 Reply)
Discussion started by: patras
1 Replies

10. AIX

AIX 5.2 print to a local printer

HHi guys . I have this problem ,I'm trying to print to a local machine (windows from the aix box , I;m using tiny Term Emulator) I mean i have no idea what should i do to get this going. The printer is connect it to the pc , it does not have an ip address. Thanks a lot Jose (0 Replies)
Discussion started by: josramon
0 Replies
Login or Register to Ask a Question