#!/bin/csh -f
#
#	$Id: cgmtrans,v 1.2.2.1 1993/02/19 17:50:04 haley Exp $
#

if ($#argv < 1) then
	echo 'Improper usage of cgmtrans: see "man cgmtrans".'
	exit 1
endif

set cmd = "cgmtrans.nolj $*"

if ("$GRAPHCAP" == "hplj100l" || \
    "$GRAPHCAP" == "hplj100p" || \
    "$GRAPHCAP" == "hplj150l" || \
    "$GRAPHCAP" == "hplj150p" || \
    "$GRAPHCAP" == "hplj300l" || \
    "$GRAPHCAP" == "hplj300p" || \
    "$GRAPHCAP" ==  "hplj75l" || \
    "$GRAPHCAP" ==  "hplj75p" || \
    "$GRAPHCAP" == "hpljo75l" || \
    "$GRAPHCAP" == "hpljo75p" || ) then
  set cmd = "cgmtrans.hplj $*"
endif

$cmd
