Bug 17645 - lpq produces bad output
Summary: lpq produces bad output
Alias: None
Product: Branch 4.0
Classification: Distributions
Component: cups (show other bugs)
Version: 4.0
Hardware: all Linux
: P2 normal
Assignee: Nobody's working on this, feel free to take it
QA Contact: Q.A. 4.0
Depends on:
Reported: 2008-10-21 20:57 MSD by Ivan Zakharyaschev
Modified: 2014-11-05 20:16 MSK (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Zakharyaschev 2008-10-21 20:57:00 MSD

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 
[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, перевесить на текущие ветки или сизиф.