Bug 625611

Summary: Ghostscript/Cups error "/usr/lib/cups/filter/pstoraster failed" with drivers from Lexmark
Product: [openSUSE] openSUSE 11.3 Reporter: Forgotten User q1OP-YXoe8 <forgotten_q1OP-YXoe8>
Component: PrintingAssignee: Johannes Meixner <jsmeix>
Status: RESOLVED DUPLICATE QA Contact: Johannes Meixner <jsmeix>
Severity: Normal    
Priority: P5 - None CC: dutchkind, hi_bandwidth, werner
Version: Final   
Target Milestone: ---   
Hardware: i686   
OS: openSUSE 11.3   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Forgotten User q1OP-YXoe8 2010-07-26 16:25:23 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.9.2.6) Gecko/20100626 SUSE/3.6.6-1.2 Firefox/3.6.6

I can't have paper coming out from the printer (Lexmark platinum pro 905) :

Things i tried that are Ko : 

- installed driver from lexmark website (it worked perfecxtly with opensuse 11.2)
- added printer in yast,
- added printer from Cups

Each time i have this error in job status : 
Idle "/usr/lib/cups/filter/pstoraster failed"

see also the error_log of cups : http://pastebin.com/t6u2Vmey
see lines 818-819 which shows an error in ghostscript 8.70 
(GPL Ghostscript 8.70: Unrecoverable error, exit code 1)

Reproducible: Always

Steps to Reproduce:
1.add printer from Cups
2. print from open office
3.
Actual Results:  
job never completes : status gives  ' Idle "/usr/lib/cups/filter/pstoraster failed" ' 

Expected Results:  
The job is completed and print comes out of the printer.

This worked perfectly under opensuse 11.2 with lexmark driver for 11.2.
Does not work anymore in opensuse 11.3
Comment 1 David Kerkhof 2010-07-27 15:21:34 UTC
Same thing here, it worked though in 11.3 RC1, so something is broken since then.
Comment 2 Tracy Miller 2010-08-02 20:11:08 UTC
I receive the same pstoraster error with my Lexmark S305 printer on 11.3 (worked fine in 11.2). 

It appears that ghostscript on 11.3 needs to be updated to 8.71 which may resolve the issue.

This is quite an annoying problem as it completely breaks printing for those several models of Lexmark printers.
Comment 3 Tracy Miller 2010-08-03 00:59:20 UTC
It appears I have been able to resolve the pstoraster and black page prints errors by doing the following:

1. Completely remove all ghostscript packages (which will also remove cups).
2. Reboot (not sure if this is necessary)
3. Reinstall the Lexmark .sh install script for my S305 printer.
4. The driver reinstall prompts for the reinstall of cups and related ghostscript packages automatically (just have to answer yes to the prompts).


My printer now works fine in 11.3 with no errors or black prints.
Comment 4 Johannes Meixner 2010-08-03 09:17:30 UTC
According to comment #3 is seems the root cause is Ghostscript.

FYI:
Regarding "black page prints errors" see bug #603131
for which a ghostscript-library package update is available
in our openSUSE:11.3:Update package repository.

I think this is all caused by bugs in the CUPS raster driver
in Ghostscript which should all be fixed via bug #603131

To verify that you have the ghostscript-library package update
actually installed on your system, run
  rpm -q --changelog ghostscript-library | head
and you must get:
----------------------------------------------------------------------
* Fri Jul 09 2010 werner@suse.de
- Backport change from SVN repository to avoid reading gs_init.ps
  from current workiung directory (bnc#608071)

* Tue Jul 06 2010 werner@suse.de
- Fix the fix for bnc#592279 as this had broken hplib (bnc#603131)
----------------------------------------------------------------------

*** This bug has been marked as a duplicate of bug 603131 ***