こんにちは、かわむらです。
From: 高瀬 昭治/TAKASE Shoji <taq@xxxxxxxxxxxxxxx>
> これまでPlamoで、OKI-Microline600PS2を使っていましたが、Vineに変えたら、
> 日本語が文字化けします。
昔、このプリンタを使っていました。
フォント回りの設定をプリンタ起動時に行う必要があります。
以前WEBでみつけたものをスクリプト化しました。以下のスクリプトを
oki_init.sh と保存して、chmod +x oki_init.sh としてから、
実行してください。
プリンタを起動する毎に毎回行う必要があります。
=======================================================================
#! /bin/bash
# This program initializes Japanese fonts of the OKI Microline 600 PSII
# printer.
# When the printer is powered on, you must run this program at first.
# May 26, 1999 by Masaki Kawamura
cat <<INIT_PS | lpr
%!PS-Adobe-3.0 ExitServer
%%Creator: Kazuhiro Kazama (kazama@xxxxxxxxxxxx)
%%For: (LaserWind 1040PS users)
%%Title: (eucfonts.ps)
%%LanguageLevel: 2
%%DocumentNeededResources: font HeiseiMin-W3-EUC-H HeiseiKakuGo-W5-EUC-H
%%CreationDate: (6/22/1995)
%%EndComments
%%BeginExitServer: 0
serverdict begin 0 exitserver
%%EndExitServer
%%BeginResource: procset eucfonts 1 0
%%Title: (User defined EUC kanji fonts)
%%Version: 1.0
%%CreationDate: (6/22/1995)
%%Copyright: ((C) 1995 Kazuhiro Kazama All Rights Reserved)
/Ryumin-Light-EUC-H /HeiseiMin-W3-EUC-H /Font findresource
/Font defineresource pop
/GothicBBB-Medium-EUC-H /HeiseiKakuGo-W5-EUC-H /Font findresource
/Font defineresource pop
%%EndResource
%%EOF
INIT_PS
### done