tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: ftcn1 () ivd ! uni-stuttgart ! de (Claus Nagel)
To: tru64-unix-managers
Subject: SUMMARY: Customizing printing within dxmail (ivd/cn)
Date: Tue, 29 Apr 1997 17:35:23 +0000	[thread overview]
Message-ID: <96078611110731.tru64-unix-managers.marc@archive.invalid> (raw)

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          .__|_|_\|_.       #
################################################~~~~\_______/~~~~~####

                 reply	other threads:[~1997-04-29 17:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox