Comment 8 for bug 86970

Revision history for this message
Andreas Wenger (andi-xenoage) wrote :

I (any many others...) had the same problem: The printer did not accent jobs.

This can be fixed in this way:

* create a link from /usr/lib/libcups.so to /usr/lib/libcups.so.2
* edit /etc/cups/cupsd.conf : remove the line "Listen /var/run/cups/cups.sock"
* restart CUPS

But then an empty page is printed. This can be fixed in this way:

# cp /usr/lib/cups/filter/pstops /usr/lib/cups/filter/pstops.dist
# cat > /usr/lib/cups/filter/pstops

============= New pstops ==============
#!/bin/bash

JOBID="$1"
USER="$2"
TITLE="$3"
COPIES="$4"
SPEC="$5"
FILE="$6"

TEMP=`mktemp /tmp/pstops.XXXXXXX` || exit 1

# we're reading from STDIN, store it into the temporary file
if test -z "$FILE" -o ! -f "$FILE" ; then
  cat > "$TEMP"
else
  cp "$FILE" "$TEMP"
fi

# remove offending commands
sed -i -e 's/\/DeferredMediaSelection true //' "$TEMP"

# execute the command
/usr/lib/cups/filter/pstops.dist "$JOBID" "$USER" "$TITLE" \
                                 "$COPIES" "$SPEC" "$TEMP"

# removing temporary file
rm -f "$TEMP"
=======================================

Note that the location of your pstops may be different (this is for RHEL 5) and
the one in /usr/bin is NOT the one used by CUPS.

(Source: Adam C, http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6506286)

After doing that, printing works perfectly.

I have no idea who is responsibly for the bug. CUPS, Sun, the Ubuntu package? But I know from others that the problem exists with the Ubuntu JDK package as well as with the original Sun package.

Here is the discussion (but only in German): http://forum.ubuntuusers.de/topic/108231/