--- aps/usr/share/apsfilter/bin/apsfilter	2006-11-03 09:13:02.000000000 +0100
+++ /usr/share/apsfilter/bin/apsfilter	2008-07-23 17:09:36.000000000 +0200
@@ -61,6 +61,7 @@
 #-----------------------------------------------------------------------------
 
 PATH="/usr/local/bin:/usr/X11R6/bin:/usr/bin:/bin"
+APS_TMPDIR=/var/spool/lpd/apsfilter
 
 #-----------------------------------------------------------------------------
 # restrictive umask; needed because private tmp dir must be rwx--x--x
@@ -1861,7 +1862,7 @@ if [ ! "$CONTROL" ]; then
     while read $read_r line; do
 	value="${line#?}"
 	case "$line" in
-	    C*) CLASS="$value" ;;
+#	    C*) CLASS="$value" ;;
 	    H*) HOST="$value"  ;;
 	    J*) JOB="$value"   ;;
 	    N*) FNAME="$value" ;;
@@ -1888,7 +1889,7 @@ fi
 if [ "$CLASS$Z_OPTS" ]; then
   old_ifs="$IFS"
   IFS=:,
-  set -- $CLASS $Z_OPTS
+  set -- $CLASS$Z_OPTS
   IFS="$old_ifs"
   unset old_ifs
 
