🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fj.editor.xemacs
Article #324

Re: XEmacs からのプリント

#324
From: Atushi Shinmura
Date: Fri, 08 Jun 2001 10:08
38 lines
2952 bytes
新村です。フォロー有難うございます。早速に、

>>> 08 Jun 2001 11:25:36 +0900 の刻に 「Namba」、すなわち
>>> sn@asahi-net.email.ne.jp(Seiichi Namba) 氏曰く

> --------pattern2
> ;;printer setting
> (setq-default lpr-switches '("-Plp0"))
> 
> ;;lisp for prn
> (setq print-command-format "a2ps -p -ns -nh -nt |lpr -Plp0")
>         (defun print-region (begin end)
>           (interactive "r")
>           (shell-command-on-region begin end print-command-format))
>         (defun print-buffer ()
>           (interactive)
>           (print-region (point-min) (point-max)))
>           (setq print-function (function print-buffer))
> -------

Namba> $ < infile.txt a2ps -p -ns -nh -nt |lpr -Plp0
Namba> は既にうまく動いていますよね。

はい。大丈夫です。それに、どうしたことか、pattern2の方で、M-x
print-buffer とすることで、当初の目的どおり印刷できました。何故に今まで
ダメだったのだろう??

便乗で済みませんが、ファイルメニューの「バッファを印刷」「バッファを清書
印刷」とprintボタンに関数 print-bufferを登録したいのですけど、
XEmacs-20.4当時と違って、該当の場所(登録する相手先や方法)がわからずに
戸惑ってます。

メニューとボタンの3個所の一気登録ってできませんでしょうか?

無理言って申し訳ありません。よろしくお願い致します。
 
---
Atushi Shinmura
Technical Details
Message-ID: <m0g0dbnv16.fsf@maria.issui.co>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!newsfeed.mesh.ad.jp!newsgate1.web.ad.jp!news.nifty.com!GGB03631
References: <m0snhbwyjo.fsf@maria.issui.co> <86y9r37lnj.fsf@thelonious.smoke.or.jp>

Show Full Headers
Complete Article Headers
X-Google-Language: Japanese,JIS
X-Google-Thread: 1107f7,746a6b555fb5d4be
X-Google-Attributes: gid1107f7,public
X-Google-ArrivalTime: 2001-06-08 03:25:34 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!newsfeed.mesh.ad.jp!newsgate1.web.ad.jp!news.nifty.com!GGB03631
From: GGB03631@nifty.ne.jp (Atushi Shinmura)
Newsgroups: fj.editor.xemacs
Subject: Re: XEmacs からのプリント
Date: 08 Jun 2001 19:08:37 +0900
Organization: angel
Lines: 38
Message-ID: <m0g0dbnv16.fsf@maria.issui.co>
References: <m0snhbwyjo.fsf@maria.issui.co> <86y9r37lnj.fsf@thelonious.smoke.or.jp>
NNTP-Posting-Host: nara003n071.ppp.infoweb.ne.jp
Mime-Version: 1.0 (generated by WEMI 1.13.7 - "Shimada")
Content-Type: text/plain; charset=ISO-2022-JP
X-Trace: nw041.infoweb.ne.jp 991995930 10507 211.2.82.231 (8 Jun 2001 10:25:30 GMT)
X-Complaints-To: -
NNTP-Posting-Date: 8 Jun 2001 10:25:30 GMT
X-cite: xcite 1.40
X-Face: +U!d{`0K<K`LWEF1+z/<Hda`cOUyA<sIRL^+trpj?|hvjDM?'z{~ll>ljF8f$Yb1a5"KE<z
 7g~f@N+G2MZpOa"'Xf*dBP\lv]'WnPqG&uqv<I2v<ri?,r/iVi%6?Hh-rk"O#BzD*|a@B}Qkod$'uy
 (Kjk;|s`>]S;Db9?l.""C[h)w1L4C#LJC?1={;auE$^uXOy{wU7T/"7DuD,1*^b8UXY#ikc8-ABA{7
 M~-<o4'Hq:gK3=_"JQ'&LzKtfemO8Cd/(d,|btzI-J3gj=23Z0Z/=Pz2fkeZGMC"|l,@A,&|YO()PU
 "$4G+GLM
User-Agent: T-gnus/6.14.6 (based on Gnus v5.8.8) (revision 03) WEMI/1.13.7
 (Shimada) CLIME/1.13.6 (中ノ庄) MULE
 XEmacs/21.1 (patch 12) (Channel Islands) (i686-pc-linux)
X-Newsreader: gnspool [Version 1.40 Jun.1,1998 (Unix)]