From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078611110731.tru64-unix-managers.marc@archive.invalid> From: ftcn1 () ivd ! uni-stuttgart ! de (Claus Nagel) Date: Tue, 29 Apr 1997 17:35:23 +0000 To: tru64-unix-managers Subject: SUMMARY: Customizing printing within dxmail (ivd/cn) X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078611110731 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//my_dxmail_print 2. /usr/users//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 .__|_|_\|_. # ################################################~~~~\_______/~~~~~####