Operating System - HP-UX
1825694 Members
3315 Online
109686 Solutions
New Discussion

UTF-8 encoded file printing wierd characters for Ukranian data using lpr command

 
vish13
New Member

UTF-8 encoded file printing wierd characters for Ukranian data using lpr command


I have a multilingual(Ukranian) data with other PCL syntax in my notepad which I have saved in UTF-8 encoding format.
When I tried to print it using windows prints it prints out file with ukranian language data.
But When I tried to print it using lpr command, garbage characters are printed on the page for the specific ukranian characters. I am using HP printer to print the file.

My lpr command is
lpr -S Server'sIp PrinterName filename

I have also tried adding document-format=text/utf8 to the command but still no luck.

Could anyone please help me out as to what setting I need to do or how we can associate PCL commands with lpr command for UTF-8 encoding file format.
1 REPLY 1
Bill Hassell
Honored Contributor

Re: UTF-8 encoded file printing wierd characters for Ukranian data using lpr command

> ...data with other PCL syntax in my notepad...

Sounds like a PC, not HP-UX.

> ...print it using windows...

Almost no useful information. Windows version? printer model? Locally attached or network or another print server?

> ...I am using HP printer...

That narrows things down to about 500-600 different models of HP printers spanning more than 20 years. What printer?

> My lpr command is
> lpr -S Server'sIp PrinterName filename

HP-UX doesn't print using lpr -- it is an AT&T SysV spooling system so the command is lp -d.

> ...adding document-format=text/utf8 to the command...

Nothing like this in HP-UX. What operating system are you using?


Bill Hassell, sysadmin