Package: cupsys Version: 1.1.23-12 Severity: serious Tags: patch Justification: dvis can't be printed automagically like that.
with some magic cups can be convinced to directly print dvi files. i achieved this with: * adding to mime.convs: application/x-dvi application/postscript 33 dvips * adding to mime.types application/x-dvi dvi contains(0,2048,"TeX output") creating a tiny shellscript in /usr/lib/cups/filters/dvips #!/bin/bash # See if we have a filename on the command-line... if test -z "$6"; then TMPFILE=`mktemp` cat >$TMPFILE ifile="$TMPFILE" else ifile="$6" fi # try to figure out the dpi's... DPI=`cat $PPD |grep -i "resolution " |tail -n 1|sed -e "s;\*Resolution.*dpi/;;" -e "s; DPI.*;;"` ARGS="-D $DPI " if test "$DPI" -gt "400"; then ARGS="$ARGS -Z " fi echo INFO: Starting dvips. 1>&2 echo DEBUG: Running /usr/bin/dvips $ARGS -f \< "$ifile" 1>&2 exec /usr/bin/dvips $ARGS -f <"$ifile" rm -f $TMPFILE -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.14 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages cupsys depends on: ii adduser 3.80 Add and remove users and groups ii debconf [debconf-2.0] 1.4.62 Debian configuration management sy ii gs-esp 8.15.1.dfsg.1-1 The Ghostscript PostScript interpr ii libc6 2.3.5-8.1 GNU C Library: Shared libraries an ii libcupsimage2 1.1.23-12 Common UNIX Printing System(tm) - ii libcupsys2 1.1.23-12 Common UNIX Printing System(tm) - ii libgnutls12 1.2.9-2 the GNU TLS library - runtime libr ii libpam0g 0.79-3 Pluggable Authentication Modules l ii libpaper1 1.1.14-3 Library for handling paper charact ii libslp1 1.2.1-3 OpenSLP libraries ii patch 2.5.9-2 Apply a diff file to an original ii perl-modules 5.8.7-9 Core Perl modules ii procps 1:3.2.6-2 /proc file system utilities ii xpdf-utils 3.01-3 Portable Document Format (PDF) sui ii zlib1g 1:1.2.3-8 compression library - runtime Versions of packages cupsys recommends: ii cupsys-client 1.1.23-12 Common UNIX Printing System(tm) - ii foomatic-filters 3.0.2-20050720-1 linuxprinting.org printer support ii smbclient 3.0.20b-3 a LanManager-like simple client fo -- debconf information: cupsys/raw-print: true cupsys/backend: ipp, lpd, parallel, socket, usb
dvips
Description: application/shellscript