Package: foomatic-filters-ppds Version: 20050121-1 Severity: normal
In many ppd's (e.g. Generic Postscript) there is the line *FoomaticRIPCommandLine: "level=%D; printf "%!\n%%%% %%%%\n%C&quo&& If this is used, and e.g. the option -o Duplex=None, then in the logfile of foomatic-rip (via cups) I get renderer command: level=0; printf "%!\n%%%% %%%%\n<</Duplex false>>setpagedevice \n"; if [ $level -gt 0 ]; then if [ $level -lt 99 ]; then level=" -dLanguageLeve l=$level"; else level=""; fi; gs -q -dPARANOIDSAFER -dNOPAUSE -dBATCH -sDEVICE=p swrite$level -sOutputFile=- -; else cat; fi sh: line 1: printf: `!': invalid format character and the file prints, but in duplex mode (the printer default). If I change the line to *FoomaticRIPCommandLine: "level=%D; printf "%%!\n%%%% %%%%\n%C&quo&& (i.e. %%! instead of %!) then I do not get the error message and can print simplex. So I suppose this is a bug (but I have to admit that I have no idea how cups/foomatic is supposed to work, so I am not sure). -- System Information: Debian Release: 3.1 APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.8-2-686 Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) Versions of packages foomatic-filters-ppds depends on: ii foomatic-db-engine 3.0.2-20050114-1 linuxprinting.org printer support -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

