[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

[linux-users:95059] Mew & Emacs での印刷


こんばんわ、ことぶき@印度 です。

ヘッダーの通り、Emacs 21.2 上で Mew を使用しております。
A4用紙にプリントする際、用紙サイズより長大な文字列が印刷
されず、しり切れとんぼになってしまい困っています。
Mew 、Emacs各々、用紙サイズの範囲内で自動的に折り返しさせ
るには、どの様に設定すればよいのでしょう?

.emcas.el の現状設定は下記です。
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; プリンタ出力設定
;;; Plamo Linux の設定ファイルからコピー
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

(setq ps-multibyte-buffer 'non-latin-printer)
;;; プリンタ出力のコマンドを定義
(setq ps-lpr-command "lpr")
(setq ps-printer-name-option "-P ")
;; printer name
(setq ps-printer-name "lp")

(add-hook 'ps-print-hook
          '(lambda ()
             (setq ps-font-info-database
                   (append
                    '((Japanese                        ; the family key
                       (fonts (normal      . "Ryumin-Light")
                              (bold        . "GothicBBB-Bold")
                              (italic      . "GothicBBB-Bold")
                              (bold-italic . "Ryumin-Light"))
                       (size . 10.0)
                       (line-height . 10.27)
                       (space-width . 5.99993)
                       (avg-char-width . 5.99993)))
                    ps-font-info-database))
             (setq ps-multibyte-buffer 'non-latin-printer)
             (setq ps-paper-type 'a4)
             (setq ps-print-control-characters nil)
             (setq ps-font-family 'Japanese)
             (setq ps-font-size '(10 . 10))
             (setq ps-print-only-one-header t) ))


.mew.el の現状設定は下記です。
;; 印刷コマンド設定
(setq mew-print-command-format "mpage -2 -P")
(defun mew-print-region (begin end)
     (interactive "r")
     (shell-command-on-region begin end mew-print-command-format))

(defun mew-print-buffer ()
    (interactive)
    (mew-print-region (point-min) (point-max)))
(setq mew-print-function (function mew-print-buffer))

-- 
kiyoshige KOTOBUKI
Umiam Site in India
Hotel Polo Towers Room No. 104
Oakland road, Polo Graunds, Shillong 793001, Meghalaya, India
Phone  : +91(0364)22-2341/2342
e-mail : FZE01202 _at_ nifty.com

この情報があなたの探していたものかどうか選択してください。
yes/まさにこれだ!   no/違うなぁ   part/一部見つかった   try/これで試してみる

あなたが探していた情報はどのようなことか、ご自由に記入下さい。特に「まさにこれだ!」と言う場合は記入をお願いします。
例:「複数のマシンからCATV経由でipmasqueradeを利用してWebを参照したい場合の設定について」
Follow-Ups: