Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
arwaOffline
Post subject: CUPS: /usr/lib/cups/filter/gstoraster failed  PostPosted: 04.09.2011, 20:25



Joined: 2010-09-11
Posts: 183

Status: Offline
I did try to print a libreoffice-calc spreadsheat. CUPS did not print this. Instead an error was reported. From the logfile /var/log/cups/error_log:

      Code:
D [04/Sep/2011:22:06:25 +0200] [Job 58] Start rendering...
D [04/Sep/2011:22:06:25 +0200] [Job 58] Set job-printer-state-message to "Start rendering...", current level=INFO
D [04/Sep/2011:22:06:25 +0200] [Job 58] Processing page 1...
D [04/Sep/2011:22:06:25 +0200] [Job 58] Set job-printer-state-message to "Processing page 1...", current level=INFO
D [04/Sep/2011:22:06:25 +0200] [Job 58] prnt/hpcups/HPCupsFilter.cpp 511: cupsRasterOpen failed, fd = 0
D [04/Sep/2011:22:06:25 +0200] [Job 58] End of messages
D [04/Sep/2011:22:06:25 +0200] [Job 58] printer-state=3(idle)
D [04/Sep/2011:22:06:25 +0200] [Job 58] printer-state-message="/usr/lib/cups/filter/gstoraster failed"
D [04/Sep/2011:22:06:25 +0200] [Job 58] printer-state-reasons=none

The printer is an HP laserjet 1100 connected via parallel port. I was able to export the spreadsheet to PDF and print this via okular. So generally the printer does work.

I do not know since when the problem exists. Because there were some libreoffice and cups updates the last days, it may be related to these?

Linux 3.0-4.slh.1-aptosid-amd64 x86_64

      Code:

ii  configure-cups                              0.8.8                            Minimalistic cups configuration script
ii  cups                                        1.5.0-5                          Common UNIX Printing System(tm) - server
ii  cups-bsd                                    1.5.0-5                          Common UNIX Printing System(tm) - BSD commands
ii  cups-client                                 1.5.0-5                          Common UNIX Printing System(tm) - client programs (SysV)
ii  cups-common                                 1.5.0-5                          Common UNIX Printing System(tm) - common files
ii  cups-driver-gutenprint                      5.2.7-2                          printer drivers for CUPS
ii  cups-ppdc                                   1.5.0-5                          Common UNIX Printing System(tm) - PPD manipulation utilities
ii  ghostscript-cups                            9.02~dfsg-3                      interpreter for the PostScript language and for PDF - CUPS filters
ii  hplip-cups                                  3.11.7-1                         HP Linux Printing and Imaging - CUPS Raster driver (hpcups)
ii  libcups2                                    1.5.0-5                          Common UNIX Printing System(tm) - Core library
ii  libcupscgi1                                 1.5.0-5                          Common UNIX Printing System(tm) - CGI library
ii  libcupsdriver1                              1.5.0-5                          Common UNIX Printing System(tm) - Driver library
ii  libcupsimage2                               1.5.0-5                          Common UNIX Printing System(tm) - Raster image library
ii  libcupsmime1                                1.5.0-5                          Common UNIX Printing System(tm) - MIME library
ii  libcupsppdc1                                1.5.0-5                          Common UNIX Printing System(tm) - PPD manipulation library
ii  python-cups                                 1.9.48-1+b1                      Python bindings for CUPS
ii  python-cupshelpers                          1.2.3-3                          Python utility modules around the CUPS printing system

ii  libreoffice                                 1:3.4.3-1                        office productivity suite
ii  libreoffice-base                            1:3.4.3-1                        office productivity suite -- database
ii  libreoffice-base-core                       1:3.4.3-1                        office productivity suite -- shared library
ii  libreoffice-calc                            1:3.4.3-1                        office productivity suite -- spreadsheet
ii  libreoffice-common                          1:3.4.3-1                        office productivity suite -- arch-independent files
ii  libreoffice-core                            1:3.4.3-1                        office productivity suite -- arch-dependent files
ii  libreoffice-draw                            1:3.4.3-1                        office productivity suite -- drawing
ii  libreoffice-filter-binfilter                1:3.4.3-1                        office productivity suite -- legacy filters (e.g. StarOffice 5.2)
ii  libreoffice-filter-mobiledev                1:3.4.3-1                        office productivity suite -- mobile devices filters
ii  libreoffice-help-de                         1:3.4.3-1                        office productivity suite -- German help
ii  libreoffice-help-en-us                      1:3.4.3-1                        office productivity suite -- English_american help
ii  libreoffice-impress                         1:3.4.3-1                        office productivity suite -- presentation
ii  libreoffice-java-common                     1:3.4.3-1                        office productivity suite -- arch-independent Java support files
ii  libreoffice-kde                             1:3.4.3-1                        office productivity suite -- KDE integration
ii  libreoffice-l10n-de                         1:3.4.3-1                        office productivity suite -- German language package
ii  libreoffice-math                            1:3.4.3-1                        office productivity suite -- equation editor
ii  libreoffice-report-builder-bin              1:3.4.3-1                        LibreOffice extension for building database reports -- libraries
ii  libreoffice-style-oxygen                    1:3.4.3-1                        office productivity suite -- Oxygen symbol style
ii  libreoffice-writer                          1:3.4.3-1                        office productivity suite -- word processor
ii  libreoffice-writer2xhtml                    1.0.2-5                          Writer/Calc to XHTML converter extension for LibreOffice
ii  openclipart-libreoffice                     0.18+dfsg-12                     clip art for OpenOffice.org/LibreOffice gallery
 
 View user's profile Send private message  
Reply with quote Back to top
drbOffline
Post subject:   PostPosted: 04.09.2011, 21:23



Joined: 2010-09-11
Posts: 96

Status: Offline
Same happened here with an HP p2015d printer. I changed the driver - only the cups one is a problem.

drb
 
 View user's profile Send private message  
Reply with quote Back to top
hubiOffline
Post subject:   PostPosted: 04.09.2011, 21:31
Moderator


Joined: 2010-09-11
Posts: 228
Location: Vienna (AT)
Status: Offline
Deleting and reinstalling the printer should help. It did here.

hubi

_________________
Tilos Rádió Budapest
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
arwaOffline
Post subject:   PostPosted: 05.09.2011, 07:35



Joined: 2010-09-11
Posts: 183

Status: Offline
I have already tried to delete and reinstall the printer. This did not help.

But I always wonder which driver is used best for such a laserprinter? There are: "hplip", "hpijs", "cups", "gutenprint" IIRC
 
 View user's profile Send private message  
Reply with quote Back to top
drbOffline
Post subject:   PostPosted: 05.09.2011, 08:07



Joined: 2010-09-11
Posts: 96

Status: Offline
My p2015d had three options of which only the cups one didn't work.

The two which work are :

HP LaserJet P2015 Series Postscript (recommended) (grayscale, 2-sided printing)

and

HP LaserJet p2015 Series hpijs pcl3, 3.11.7 (color, 2-sided printing)
 
 View user's profile Send private message  
Reply with quote Back to top
paagrioOffline
Post subject:   PostPosted: 12.09.2011, 18:31



Joined: 2011-05-10
Posts: 5
Location: Ukraine
Status: Offline
My OKI B2200 also stopped working
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
arwaOffline
Post subject:   PostPosted: 13.09.2011, 06:56



Joined: 2010-09-11
Posts: 183

Status: Offline
I did install another printer instance in cups. The old one that is using hpcups as driver does still not work. But the one that is using the hpijs driver now, does work.

I still wonder what the difference is between these drivers (in case they both work).

Greetings,
arwa
 
 View user's profile Send private message  
Reply with quote Back to top
slamOffline
Post subject:   PostPosted: 13.09.2011, 08:30
Team Member


Joined: 1970-01-01
Posts: 607
Location: w3
Status: Offline
      arwa wrote:
...But I always wonder which driver is used best for such a laserprinter? There are: "hplip", "hpijs", "cups", "gutenprint" IIRC
Unfortunately there is no simple answer to which driver is the best for HP printers.

hplip is often the most advanced and best performing driver for HP printers, but not always - and from time to time hplip is one step behind developments in Debian Sid and makes temporary problems.
gutenprint - in most cases - is the best choice for graphics and foto printing, but driver quality varies from model to model.
cups is the generic driver, it should be the most stable one, but also sometimes lacks features.
hpijs is a special Ghostscript driver which should be used via foomatic. Most people will not need it, but it might be a temporary solution if the top 3 fail.

As a rule of thumb, try them in the above order. Do not forget to install missing firmware if needed for your printer. And always check the Linux Printing Database before bying a printer or fiddling with different drivers.

Greetings,
Chris

_________________
an operating system must operate
development is life
my Debian repo
 
 View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number 
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 12 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by Zafenio