Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Printing Japanese
- Date: Sun, 05 Dec 2004 23:57:15 +0900
- From: Patrick <patrick@example.com>
- Subject: Re: [tlug] Printing Japanese
- References: <1102231937.4706.10.camel@example.com> <11058980.1102238099028.JavaMail.babayoshihiko@example.com>
> > I'm no expert, but just two things to check: > Do you have JAPANESE_PS=YES in /var/spool/lpd/XXX/postscript.cfg ? > Is the file in EUC? > Thanks for the tips, It seems as though JAPANESE_PS=YES is an LPRng option, not for cups which is what i am using... that may change. And the file i was trying to print was in utf8. I changed it to euc and got some output... nothing pretty but it was a step in the right direction. Anyway in the end i finally worked out what you need to do. a2psj -p -nh -nt -nn -ns eucfile.txt | lp a2psj is a perl script with the most cryptic help i have ever seen. My floor is covered with paper as i had to try almost every flag before i got it right. a2psj is not only environmentally unfriendly it is also has very few formatting options. It creates quite a large border as well. I need to use this print out addresses on to a 伝票, i thought i could just use a perl template module and send it straight to the printer. But unless that is possible with LPRng then i am going to have to learn all about postscript and write something of my own to generate a ps file. Anyway, i am getting a bit carried away here... but if anyone has any experience with japanese text formatting and printing with either cups or LPRng, then i would love to hear from you. Patrick
- Follow-Ups:
- Re: [tlug] Printing Japanese
- From: Stephen J. Turnbull
- References:
- [tlug] Printing Japanese
- From: Patrick
- Re: [tlug] Printing Japanese
- From: BABA Yoshihiko
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Re: Dec 10 TLUG Nomikai/Bonenkai
- Next by Date: Re: [tlug] Internships / japan
- Previous by thread: Re: [tlug] Printing Japanese
- Next by thread: Re: [tlug] Printing Japanese
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links