[gs-cvs] rev 8030 - trunk/gs/cups

giles at ghostscript.com giles at ghostscript.com
Wed Jun 6 21:44:54 PDT 2007


Author: giles
Date: 2007-06-06 21:44:52 -0700 (Wed, 06 Jun 2007)
New Revision: 8030

Removed:
   trunk/gs/cups/pstopxl
   trunk/gs/cups/pstoraster
Log:
Remove generated cups scripts from the repository.


Deleted: trunk/gs/cups/pstopxl
===================================================================
--- trunk/gs/cups/pstopxl	2007-06-07 04:40:42 UTC (rev 8029)
+++ trunk/gs/cups/pstopxl	2007-06-07 04:44:52 UTC (rev 8030)
@@ -1,67 +0,0 @@
-#!/bin/sh
-#
-# "$Id: pstopxl.in,v 1.1.2.2 2004/06/29 13:15:10 mike Exp $"
-#
-# CUPS PCL XL/PCL 6 filter script for Ghostscript.
-#
-# Copyright 2001-2005 by Easy Software Products.
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-#
-
-# Installation directories...
-prefix=/usr/local
-exec_prefix=${prefix}
-bindir=${exec_prefix}/bin
-
-# Set the library/font path...
-GS_LIB="${CUPS_FONTPATH:=/usr/share/cups/fonts}"
-export GS_LIB
-
-# Determine the PCL XL/PCL 6 driver to use...
-if test "x$PPD" != x; then
-    colordevice=`grep '^*ColorDevice:' "$PPD" | awk -F: '{print $2}'`
-    case "$colordevice" in
-	*True* | *true*)
-	    device="pxlcolor"
-	    ;;
-	*)
-	    device="pxlmono"
-	    ;;
-    esac
-else
-    device="pxlmono"
-fi
-
-# Options we use with Ghostscript...
-gsopts="-dQUIET -dDEBUG -dPARANOIDSAFER -dNOPAUSE -dBATCH"
-gsopts="$gsopts -dNOMEDIAATTRS -sDEVICE=$device -sstdout=%stderr"
-
-# See if we have a filename on the command-line...
-if test -z "$6"; then
-	ifile="-"
-else
-	ifile="$6"
-fi
-
-echo INFO: Starting GPL Ghostscript 8.57... 1>&2
-echo DEBUG: Running $bindir/gs $gsopts -sOUTPUTFILE="%stdout" "$ifile" 1>&2
-
-# Now run Ghostscript...
-exec $bindir/gs $gsopts -sOUTPUTFILE="%stdout" "$ifile"
-
-#
-# End of "$Id: pstopxl.in,v 1.1.2.2 2004/06/29 13:15:10 mike Exp $".
-#

Deleted: trunk/gs/cups/pstoraster
===================================================================
--- trunk/gs/cups/pstoraster	2007-06-07 04:40:42 UTC (rev 8029)
+++ trunk/gs/cups/pstoraster	2007-06-07 04:44:52 UTC (rev 8030)
@@ -1,62 +0,0 @@
-#!/bin/sh
-#
-# "$Id: pstoraster.in,v 1.3.2.4 2004/06/29 13:15:10 mike Exp $"
-#
-# CUPS raster filter script for Ghostscript.
-#
-# Copyright 2001-2005 by Easy Software Products.
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-#
-
-# Installation directories...
-prefix=/usr/local
-exec_prefix=${prefix}
-bindir=${exec_prefix}/bin
-
-# Set the library/font path...
-GS_LIB="${CUPS_FONTPATH:=/usr/share/cups/fonts}"
-export GS_LIB
-
-# Options we use with Ghostscript...
-gsopts="-dQUIET -dDEBUG -dPARANOIDSAFER -dNOPAUSE -dBATCH"
-gsopts="$gsopts -dNOMEDIAATTRS -sDEVICE=cups -sstdout=%stderr"
-
-# See if we have a profile=n,n,n,n,n,n,n,n,n,n,n option...
-profile=""
-for option in $5; do
-    case $option in
-        profile=*)
-	    profile="<</cupsProfile(`echo $option | awk -F= '{print $2}'`)>>setpagedevice"
-	    ;;
-    esac
-done
-
-# See if we have a filename on the command-line...
-if test -z "$6"; then
-	ifile="-"
-else
-	ifile="$6"
-fi
-
-echo INFO: Starting GPL Ghostscript 8.57... 1>&2
-echo DEBUG: Running $bindir/gs $gsopts -sOUTPUTFILE="%stdout" -c"$profile" "$ifile" 1>&2
-
-# Now run Ghostscript...
-exec $bindir/gs $gsopts -sOUTPUTFILE="%stdout" -c"$profile" "$ifile"
-
-#
-# End of "$Id: pstoraster.in,v 1.3.2.4 2004/06/29 13:15:10 mike Exp $".
-#



More information about the gs-cvs mailing list