Bug 689925 - ghostscript-gpl-8.62 - Print cups test page doesn't end
Summary: ghostscript-gpl-8.62 - Print cups test page doesn't end
Status: NOTIFIED INVALID
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: Printer Driver (show other bugs)
Version: 8.62
Hardware: PC Linux
: P4 normal
Assignee: Default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-26 11:20 UTC by Pacho Ramos
Modified: 2008-12-19 08:31 UTC (History)
0 users

See Also:
Customer:
Word Size: ---


Attachments
testprint.ps (16.96 KB, application/postscript)
2008-06-28 03:46 UTC, Pacho Ramos
Details
T_Cs.pdf (116.25 KB, application/pdf)
2008-06-28 03:48 UTC, Pacho Ramos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pacho Ramos 2008-06-26 11:20:23 UTC
Already reported downstream: http://bugs.gentoo.org/process_bug.cgi

More people affected at
http://www.freebsdforums.org/forums/showthread.php?t=55714 ,
http://forums.gentoo.org/viewtopic.php?t=548652 ,
http://www.linuxformat.co.uk/modules.php?op=modload&name=PNphpBB2&file=viewtopic&t=4782

ghostscript-esp and ghostscript-gnu work ok

when I
try to print cups test page from http://localhost:631 it prints more than half
page but, when it will finish, printing stops.

lpq says the following:
PSC_1600 is ready
Rank    Owner   Job     File(s)                         Total Size
1st     anonymo 2309    Test Page                       17408 bytes

I also can read: "/usr/libexec/cups/filter/foomatic-rip failed" in
http://localhost:631 when print stops

error_log in http://bugs.gentoo.org/attachment.cgi?id=157727&action=view

Thanks
Comment 1 Alex Cherepanov 2008-06-27 14:30:20 UTC
Please attach the sample file that cannot be printed by Ghostscript
and provide your command line.

It is not clear from the given URL's what is this bug about.
In any case the bug report should not be a charade.
Comment 2 Pacho Ramos 2008-06-28 03:44:32 UTC
From error_log seems that the following command is being run:
gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -sIjsServer=hpijs
-sDeviceManufacturer="HEWLETT-PACKARD" -sDeviceModel="deskjet 5600"
-dDEVICEWIDTHPOINTS=595 -dDEVICEHEIGHTPOINTS=842 -dDuplex=false -r600
-sIjsParams=Quality:Quality=0,Quality:ColorMode=2,Quality:MediaType=0,Quality:PenSet=2,PS:MediaPosition=7
-dIjsUseOutputFD -sOutputFile=- -

The proper URL is:
http://bugs.gentoo.org/show_bug.cgi?id=228499

I copied and pasted a wrong, it wasn't intentional of course. Sorry for the
inconvenience
Comment 3 Pacho Ramos 2008-06-28 03:46:07 UTC
Created attachment 4166 [details]
testprint.ps

I think that this is the file used by cups for printing test page from web
interface
Comment 4 Pacho Ramos 2008-06-28 03:48:03 UTC
Created attachment 4167 [details]
T_Cs.pdf

This pdf file also fails in the same way
Comment 5 Marcos H. Woehrmann 2008-07-10 10:26:05 UTC
The problem appears to be in the IJS code.  When I use the command line in
comment #2 I receive an error:

Error: /ioerror in --showpage--
Operand stack:
   (/tmp/gs_aNNx7I)   --nostringval--   --nostringval--   1   true
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--  
--nostringval--   2   %stopped_push   --nostringval--   --nostringval--  
--nostringval--   false   1   %stopped_push   1905   1   3   %oparray_pop   1904
  1   3   %oparray_pop   1888   1   3   %oparray_pop   --nostringval--  
--nostringval--   --nostringval--   2   1   1   --nostringval--  
%for_pos_int_continue   --nostringval--   --nostringval--   1777   3   9  
%oparray_pop   --nostringval--   --nostringval--
Dictionary stack:
   --dict:1157/1684(ro)(G)--   --dict:1/20(G)--   --dict:75/200(L)--  
--dict:75/200(L)--   --dict:106/127(ro)(G)--   --dict:274/300(ro)(G)--  
--dict:23/25(L)--   --dict:4/6(L)--   --dict:24/40(L)--
Current allocation mode is local
Last OS error: 32
GPL Ghostscript SVN PRE-RELEASE 8.63: Unrecoverable error, exit code 1


But when I replaces the ijs output with ppmraw Ghostscript generates a good
output file.
Comment 6 Pacho Ramos 2008-07-11 06:35:58 UTC
Then, Do you think it could be a hplip problem (ijs is provided by it?)?