Wolfgang Slany
a2ps.pl was indeed installed and prints the Japanese files as described. To get xemacs to print from the button, I added the following Perl script to /usr/bin:
a2ps-lpr.pl: ============================================================== #!/usr/bin/perl ;# ;# a2ps-lpr.pl: ascii to ps | lpr ;#
open F, "| a2ps.pl -p -ns -nh -nt -fx1.5 | lpr";
while (<>) { print F; }
close F; ===============================================================
Additionally, I added the following lines to /home/user/.xemacs/init.el: ===============================================================
;;---------------------------------------------------------------------- ;; Print Japanese:
(when (string-match "XEmacs" emacs-version) (setq lpr-command "a2ps-lpr.pl")) ===============================================================
Good idea! That's a really convenient workaround.
I wrote that I wanted to try whether the ps-print.el of GNU Emacs can
be made to work with XEmacs. It looks like somebody has already done
this and recent versions of the XEmacs Sumo tarballs already contain a
recent version of ps-print.el taken from GNU Emacs.
I.e. ps-print.el for XEmacs will likely work as soon as I update
XEmacs.
I'll try to do that during the next weeks and upload the new rpms to
the SuSE ftp server.
--
Mike Fabian