THANKS
======
Charles Johnson, NC State University (charles_johnson_at_ncsu.edu)
The QUESTION was:
=================
> I tried to change the print-command within dxmail and failed.
>
> % uname -a
> OSF1 ivda11 V3.2 148 alpha
>
> Making the entries
> *PrintCommand: /usr/bin/a2ps (1)
> *PrintCommand: /usr/bin/a2ps > /dev/null 2 > /dev/null (2)
> DXMail.PrintCommand: /usr/bin/a2ps (3)
>
> in the files
> .Xdefaults (4)
> .mh_profile (5)
> DXMail (6)
> changed nothing.
>
> Does anybody have an idea who to customize the printing within the
> /usr/bin/X11/dxmail programme?
The (simple) SOLUTION
=====================
1. Create or modify ~/DXMail with an entry like
*PrintCommand: /usr/users/<homedir>/my_dxmail_print
2. /usr/users/<homedir>/my_dxmail_print
/usr/bin/a2ps -1 -p -ns -nu -nH -P8 $1
A2ps converts ASCII files to PostScript files. The option -P8 gives
the printername and $1 is used for the actual email which comes out
of dxmail.
Using the menuoptions "Print" or "File/Print/Entire message" or "File/
Print/Body" within the DXMail programmes uses the print command from
my_dxmail_print.
Using "File/Print... /Entire Message/OK" or "File/Print... /Body only
/OK" remains to use the original DXMail printing.
Thanks again to Charles, bye
Claus
######################################################################
#address: University of Stuttgart, Institute of Process Engineering #
# and Power Plant Technology (IVD) #
# Claus Nagel, Pfaffenwaldring 23, D-70550 Stuttgart/Germany #
#phone: 49 711 685 -3751, -3563, -3487 . #
#fax: 49 711 685 3491 _ - |\ #
#email: nagel_at_ivd.uni-stuttgart.de - | \ #
# nagel_at_guug.de |\*\ */ #
#www:
http://www.ivd.uni-stuttgart.de .__|_|_\|_. #
################################################~~~~\_______/~~~~~####
Received on Tue Apr 29 1997 - 19:53:27 NZST