Re: Printing DIFAX maps.

NOTE: The difax mailing list is no longer active. The list archives are made available for historical reasons.

On Tue, 18 Jan 2000, J. Christopher Clarke wrote:

        We have just upgraded our LDM server and found that  we have lost all 
of our scripts needed to print DIFAX maps.  Does  anyone know of a resource 
that we could use in order to print  selected DIFAX maps as they come in?   We 
used to have a  script that would do such a thing, but it was lost in the 
upgrade,  and the link from UNIDATA is invalid.  Any ideas on how to proceed  
at this point?


Hi Chris,

Try this. This works with Linux RH 6.0 using PBMPLUS. Should work with other UNIX 
flavors. Call this from your pqact.conf with an "EXEC" to this script, like:

DIFAX   ^(2003).*       EXEC /home/scripts/convert_difax \1

#!/bin/sh
#
# Script to print the DIFAX charts.
#
LD_LIBRARY_PATH=/opt/SUNWspro/lib:/usr/openwin/lib:/usr/local/lib:/usr/ucblib
export LD_LIBRARY_PATH
dt=`/bin/date -u +%y%m%d`
/usr/bin/g3topbm /home/data/difax/$dt'_'$1.g3|/usr/bin/pnmtops|/usr/bin/lpr


  • 2000 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the difax archives: