Bug 1673 - prints blank page instead of a PS-file
Summary: prints blank page instead of a PS-file
Status: CLOSED WONTFIX
Alias: None
Product: Sisyphus
Classification: Development
Component: cups (show other bugs)
Version: unstable
Hardware: all Linux
: P5 major
Assignee: Fr. Br. George
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-07 00:36 MSK by imz
Modified: 2004-08-11 19:21 MSD (History)
3 users (show)

See Also:


Attachments
0001673-b.ps (16.96 KB, application/postscript)
2002-12-07 00:36 MSK, imz
no flags Details
0001673-cups-out.prn (20.11 KB, application/octet-stream)
2003-01-15 15:56 MSK, imz
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description imz 2002-12-07 00:36:01 MSK
Probably, these .ps-files are considered not to be quite safe, but it is not clear to a user why blank pages are printed instead of a file which can be seen in gv.

After tranforming it with ps2ps, it is printed as it should.
---
run lpr on <a href="http://www.cs.wisc.edu/wpis/papers/tr900.ps">http://www.cs.wisc.edu/wpis/papers/tr900.ps</a>, or on the first page of it (attached; extracted by gv).

After running ps2ps on it, it can be printed.
---

Comment 1 imz 2002-12-07 01:09:53 MSK
perhaps, I user pstops (and not ps2ps).
Comment 2 imz 2002-12-07 01:09:53 MSK
perhaps, I user pstops (and not ps2ps).
Comment 3 inger@altlinux.org 2003-01-15 15:55:43 MSK
Ну собственно pstops от CUPS что-то и делает невообразимое с файлом.
Прилагаю результат работы pstops, его уже не переваривает gv.

Надо контачить с авторами


edited on: 15-01 15:57
Comment 4 inger@altlinux.org 2003-01-15 15:55:43 MSK
Ну собственно pstops от CUPS что-то и делает невообразимое с файлом.
Прилагаю результат работы pstops, его уже не переваривает gv.

Надо контачить с авторами


edited on: 15-01 15:57
Comment 5 imz 2003-01-15 19:55:35 MSK
pstops -- это просто дополнение к основному reoport-у.

Исходный файл lpr не напечатал. А после пропускания через pstops (или ps2ps) -- напечатал (доп. информация).
Comment 6 imz 2003-01-15 19:55:35 MSK
pstops -- это просто дополнение к основному reoport-у.

Исходный файл lpr не напечатал. А после пропускания через pstops (или ps2ps) -- напечатал (доп. информация).
Comment 7 imz 2003-01-15 20:00:06 MSK
С cups-1.1.18-alt1 всё ещё имеет место: lpr b.ps печатает пустую страницу.
Comment 8 imz 2003-01-15 20:00:06 MSK
С cups-1.1.18-alt1 всё ещё имеет место: lpr b.ps печатает пустую страницу.
Comment 9 inger@altlinux.org 2004-08-11 19:21:58 MSD
В общем, в данном случае виноват сам файл. 
Из-за того что он несоответствует стандарту во время печати он ломается 
фильтром pstops,сделать какой-либо хак в этом фильтре не представляется 
возможным. 
Более подробный ответ от cups см. ниже: 
---- 
http://www.cups.org/str.php?L847 
---- 
Your PS file does not conform to the Adobe Document Structuring Conventions 
but claims conformance (the "%!PS-Adobe-1.0" line at the top of the file) 
so pstops treats it as such. 
 
If you remove the "PS-Adobe-1.0" portion of the first line or just add 
another line to the front of it containing "%!" then the problem will go 
away. 
 
We cannot and will not try to "fix" this, as "fixing" it will break things 
for all other conforming applications. 
 
----