From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,b6576d9ca157611e,start X-Google-Attributes: gidfee84,public From: onions@doosan.com (J.K Chung) Subject: How can I change my LOCALE ? I see wrong character in my line printer . Date: 1998/10/26 Message-ID: <363482be.2131334@10.101.72.105>#1/1 X-Deja-AN: 405185994 Organization: Korea Telecom Newsgroups: comp.unix.osf.osf1 Hi, I am trying to print ASCII to my line printer. "cat /etc/networks > /dev/lp0" or "lpr -Plp0 networks" The file "networks" looks like as follow : # ***************************************************************** # * * # * Copyright (c) Digital Equipment Corporation, 1991, 1996 * # ................. And what is printed on the paper looks like as follow: # ***********************#* *#* oyih c iia imn oprto,19,19 re udr *#* tecprgtlw fteuie tts *#* *#* Testfwr oti nti ei i o, ue dpiain r *#* dseiaino h otasedf ... Strange thing is, if I use "lprsetup" and use my default, locale is set to Thai. Is the locale that prevent me from printing ASCII ? I would really appreciate if any one can enlighten me. Thank you. lp1|1|trigem1:\ :af=/usr/adm/lp1acct:\ :if=/usr/lbin/thailpof:\ :lf=/usr/adm/lp1err:\ :lp=/dev/lp0:\ :mx#0:\ :pl#44:\ :pw#80:\ :sd=/usr/spool/lpd1:\ :ya="plocale=th_TH":\ :yp=epb411: onions (onions@bears.doosan.com)