Bug 17645

Summary: lpq produces bad output
Product: Branch 4.0 Reporter: Ivan Zakharyaschev <imz>
Component: cupsAssignee: Nobody's working on this, feel free to take it <nobody>
Status: CLOSED WONTFIX QA Contact: Q.A. 4.0 <qa-4.0>
Severity: normal    
Priority: P2    
Version: 4.0   
Hardware: all   
OS: Linux   

Description Ivan Zakharyaschev 2008-10-21 20:57:00 MSD
cups-1.2.12-alt6.M40.1
firefox-2.0.0.11-alt1

How to reproduce: open the printing page from Yandex Maps: http://maps.yandex.ru/print.xml?mapID=2000&mapX=4188251&mapY=7494161&scale=8&descx=4186107&descy=7495591&text=%D0%A0%D0%BE%D1%81%D1%81%D0%B8%D1%8F%2C%20%D0%9C%D0%BE%D1%81%D0%BA%D0%B2%D0%B0%2C%20%D1%83%D0%BB%D0%B8%D1%86%D0%B0%20%D0%A5%D0%B0%D1%87%D0%B0%D1%82%D1%83%D1%80%D1%8F%D0%BD%D0%B0%2C%2020 and print it. Then run "lpq (you can do it with the printer actually turned off in order for the job to stay in the queue for long time):

[imz@etik printing]$ lpq
oki is ready and printing
Rank    Owner   Job     File(s)                         Total Size
active  imz     53      [imz@etik printing]$ 


It couldn't output the filename, didn't terminate the line.

Example when it's OK:

[imz@etik printing]$ cat a.txt 
a
[imz@etik printing]$ lp a.txt 
request id is oki-54 (1 file(s))
[imz@etik printing]$ lpq
oki is ready and printing
Rank    Owner   Job     File(s)                         Total Size
active  imz     54      a.txt                           1024 bytes
[imz@etik printing]$ 

Even in Firefox, this happens not on all pages.
Comment 1 Ivan Zakharyaschev 2008-10-21 20:57:30 MSD
on Lite 4.0.3.
Comment 2 Michael Shigorin 2014-11-05 20:16:51 MSK
В 4.0/branch исправления не будут вноситься уже технически (заглушена очередь на сборку), поэтому прошу ошибки, актуальные для sisyphus/p7/t7, перевесить на текущие ветки или сизиф.