I cleaned up the patch (removed the reformatting), scrutinized it to
verify that it makes sense and looks correct, and uploaded it to dapper-
proposed:
cupsys (1.2.2-0ubuntu0.6.06.3) dapper-proposed; urgency=low
* Add debian/patches/59_title_escaping.dpatch:
- Escape non-ASCII characters in comment fields in the filters.
- This fixes printing of documents with titles containing non-ASCII
characters, line breaks, etc.
- Patch backported from upstream SVN (dropped the formatting changes):
http://www.cups.org/strfiles/1988/str1988.patch
- LP #57445.
* Skipping version number to .3 since .2 is in proposed and didn't verify.
-- Martin Pitt <[EMAIL PROTECTED]> Fri, 10 Aug 2007 12:47:32
+0200
For verification, this is a cut&paste test which replicates the problem:
grep -v '^%%Title' /usr/share/cups/data/testprint.ps |
/usr/lib/cups/filter/pstops 1 `id -un` "`echo -e 'a\nb'`" 1 '' | gs
-sDEVICE=x11 -
With current dapper cups, this will result in a ghostscript error. With
the updated packages, the page will be displayed properly (without
waiting, though).
** Attachment added: "dapper-proposed debdiff"
http://launchpadlibrarian.net/8769705/cupsys.57445.dapper.debdiff
--
Printing not possible with line break or mis-interpreted encoding in job title
https://bugs.launchpad.net/bugs/57445
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs