Plotting hpgl files in UXNMR

Clive Jarman (cnj@bruker.com)
Wed, 19 Jan 94 15:15:13 EST

Dear all,
This is an amendment to my last posting that the Printer Interface files
in UXNMR do not accept hpgl format. This is true for old versions of
UXNMR, but it is not true for the latest versions of UXNMR.

The interfaces installed with 'cfpp' from UXNMR CAN handle HPGL files
with the option -ohpgl. You can even print TeX files with the option
-oraw or -otex. My thanks to Guenter Schmidt for bringing this to my
attention.

Guenter has used a remlist command for many years to print any file type
on a remote computer. The default is to do a listing with linenumbers,
but with the options
-otex for TEX Files
-ohpgl for HPGL Files
-oraw for PCL Files
any file type can be printed on the printer connected to the X32 with
CPU /1 or /2 or /3 or to the AspectStation1 (if the specified mode is
supported by the printer).

The remlist shell script follows. To use it, cut and paste it into
a file called remlist in a directory that is in your PATH.

------------------------------ CUT HERE -----------------------------
#! /bin/sh

#ident "@(#)remlist 1.3 Copyright (c) 1991 Bruker Analyt. Messtechnik GmbH
# Version 93/06/04

#
VERSION=93/06/04
RSH=/usr/ucb/rsh # remote shell command of source computer
SYSTEM=nmr # default systemname where printer is connected
OPTIONS=p:s:o: # -p printer name; -s systemname; -o lp-options
HOST=`hostname`

#
if [ $# = 0 ]
then
cat <<-!EOF

Usage: $0 [-s system] [-p printer] [-o option] filename (Version ${VERSION})

without any option a listing with 16 CPI and line numbers is printed
on the default printer on the system \`${SYSTEM}\`

Installed printer on remote station $SYSTEM:

!EOF
${RSH} ${SYSTEM} lpstat -p -d
exit 0
fi
#
#
#
while getopts ${OPTIONS} opt
do
case $opt in
p) PRINTER="-d${OPTARG}"
;;
s) SYSTEM="${OPTARG}"
;;
o) LPOPT="${LPOPT}""-o${OPTARG} "
;;
esac
done
------------------------------ CUT HERE -----------------------------

Sincere apologies for any confusion generated by my previous posting!

Clive Jarman

-- 
==================================================================
     ...         ...     Clive Nicholas Jarman Ph.D
    .    .     .    .	   Software Support Specialist 
    .     *   .     .	   Bruker Instruments, Inc. 
     .      .      .     Billerica, MA 01821, USA 
      .   .   .   .	    
       . BRUKER .	       (508) 667-9580 Ext. 231, 233 Phone 
      .   .   .  .       (508) 663-9177               FAX 
     .      .     .	     cnj@bruker.com               e-mail 
    .     *  .     .     software@bruker.com          e-mail 
     ...        ...      support@bruker.com           e-mail 
=================================================================