* SUMMARY: Customizing printing within dxmail (ivd/cn)
@ 1997-04-29 17:35 ftcn1
0 siblings, 0 replies; only message in thread
From: ftcn1 @ 1997-04-29 17:35 UTC (permalink / raw)
To: tru64-unix-managers
THANKS
======
Charles Johnson, NC State University (charles_johnson@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@ivd.uni-stuttgart.de - | \ #
# nagel@guug.de |\*\ */ #
#www: http://www.ivd.uni-stuttgart.de .__|_|_\|_. #
################################################~~~~\_______/~~~~~####
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1997-04-29 17:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-04-29 17:35 SUMMARY: Customizing printing within dxmail (ivd/cn) ftcn1
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox