Skip site navigation (1)Skip section navigation (2)
Date:      07 Jan 98 15:52:00 +0100
From:      leifn@image.dk (Leif Neland)
To:        freebsd-questions@freebsd.org
Subject:   bug in unix-lpr.sh/gsif in ghostscript 5.10
Message-ID:  <816_9801071814@swimsuit.swimsuit.roskildebc.dk>

next in thread | raw e-mail | index | archive | help
Two mistakes are found in the unix-lpr.sh filter from ghostscript 5.10:


*** unix-lpr.sh.org	Wed Jan  7 15:31:31 1998
--- unix-lpr.sh	Wed Jan  7 15:31:01 1998
***************
*** 14,22 ****
  # but it may be restored by commenting out the lines referring to
  # 'gsoutput' and uncommenting the lines referring to 'gspipe'.
  #
  PBMPLUSPATH=/usr/local/bin
! PSFILTERPATH=/usr/local/lib/ghostscript
  LOCALPATH=/usr/local/bin
  X11HOME=/usr/X11R6

--- 14,22 ----
  # but it may be restored by commenting out the lines referring to
  # 'gsoutput' and uncommenting the lines referring to 'gspipe'.
  #
  PBMPLUSPATH=/usr/local/bin
! PSFILTERPATH=/usr/local/share/ghostscript
  LOCALPATH=/usr/local/bin
  X11HOME=/usr/X11R6

***************
The port installs the filter in /usr/local/share/ghostscript

*** 72,78 ****
  fi

  bpp="`echo ${device} | sed 's/.*\.\([0-9][0-9]*\)$/\1/'`"
! if test "$bppspec" = "${device}"
  then
      bpp=1
  else
--- 72,78 ----
  fi

  bpp="`echo ${device} | sed 's/.*\.\([0-9][0-9]*\)$/\1/'`"
! if test "$bpp" = "${device}"
  then
      bpp=1
  else

-------------------
"$bpp" is the right one.


Leif Neland
leifn@image.dk

---
|Fidonet:  Leif Neland 2:234/49
|Internet: leifn@image.dk




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?816_9801071814>