It is a CUPS upstream bug, it is in /usr/lib/cups/filter/pstops.

To reproduce:

0. Do "sudo apt-get install gv" (Include universe in
/etc/apt/sources.list if needed)

1. Create a PostScript file which does not contain a "%%Title:" line,
either by printing from an appropriate application into a file (for
example Firefox, document content does not matter) or by deleting this
line from an existing PostScript file with a text editor.

2. Type

cat file.ps | /usr/lib/cups/filter/pstops 1 user a 1 "" > result.ps
gv result.ps

You will see your PostScript file in a window. Close the window

3.

Type

cat file.ps | /usr/lib/cups/filter/pstops 1 user 'a

and press <Enter>. Then type

b' 1 "" > result.ps

and press <Enter> again. You have made pstops now treating a job with
the title "a<newline>b".

Do

gv result.ps

and you get an error.

So pstops cannot treat jobs whose titles have a newline inside, or where
due to a misinterpreted encoding a byte of decimal value 13 (= ASCII
value for newline) is not understood as part of a special character.

Reporting upstream ...


** Summary changed:

- Document with name not in iso-8859-1 can't be printed
+ Printing not possible with line break or mis-interpreted encoding in job title

** Changed in: cupsys (Ubuntu)
   Importance: Undecided => High

** Changed in: cupsys (Ubuntu Dapper)
   Importance: Undecided => Medium

-- 
Printing not possible with line break or mis-interpreted encoding in job title
https://launchpad.net/bugs/57445

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to