error stopped "/usr/lib/cups/filter/hpcups failed" when printing

Error is seen under “Jobs” in CUPS when sending a print job from Okular. I don’t know much about CUPS. Just started happening this morning and I can’t print to either network printer. I have rebooted SUSE 11.4. Both printers will print a test page from CUPS.

Seems to be ONLY the printing from Okular that is affected and I get the error. Could it be the .pdf file is bad? It is from the bank and I’ve printed them many times before (my bank statement). Thanks if you can suggest where I might poke?

On 11/02/2011 01:46 PM, georgeinacton wrote:
>
> Thanks if you can suggest where I might poke?

try printing from the adobe reader, maybe??
or, i think LibreOffice can print a pdf, maybe GIMP also…


DD
openSUSE®, the “German Automobiles” of operating systems

Thanks. I got it printed with GIMP by doing a screen capture of Okular, both pages I needed so the panic is off. Yes, there are many alternate ways to do things in SUSE!

On 11/02/2011 02:36 PM, georgeinacton wrote:

> Thanks. I got it printed with GIMP by doing a screen capture of Okular,
> both pages I needed so the panic is off.

welcome…am happy the panic is past!

> Yes, there are many alternate ways to do things in SUSE!

not just in openSUSE (just “SUSE” is a different animal), but in Linux
in general…

sorry, i don’t really have any idea why you get the error you do with
CUPS (i’ve never been very lucky with it)…

sometimes so many different way are available it is dizzying…but,
instead of confusion i call it FREEDOM (to use the way that works best
for you!)


DD
openSUSE®, the “German Automobiles” of operating systems

On 2011-11-02 14:00, DenverD wrote:

> try printing from the adobe reader, maybe??
> or, i think LibreOffice can print a pdf, maybe GIMP also…

gv.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

This time I printed the pdf with GIMP. This is more trouble than if I was just able to print it from Okular but again this month, the pdf I get from the bank gives me the error in the post title. Any Okular experts out there? Thanks

On 2011-11-08 16:06, georgeinacton wrote:
>
> This time I printed the pdf with GIMP. This is more trouble than if I
> was just able to print it from Okular but again this month, the pdf I
> get from the bank gives me the error in the post title. Any Okular
> experts out there? Thanks

As said already, there are several other PDF viewers you can use.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

Thank you again Carlos.

“There are sveral other PDF viewers you can use”. I think that’s not the good solution. I have the same problem. And many other users have. Only Okular refuses to print. (OpenSUSE 11.4/KDE 4.6.0). All other apps print fine. I just expect Okular being able to print. So how to solve this problem with Okular?

On 2011-11-09 01:26, wfranssen wrote:
>
> “There are sveral other PDF viewers you can use”. I think that’s not the
> good solution. I have the same problem. And many other users have. Only
> Okular refuses to print. (OpenSUSE 11.4/KDE 4.6.0). All other apps print
> fine. I just expect Okular being able to print. So how to solve this
> problem with Okular?

Well, report in bugzilla. If you are several people, all of you must add
your info to the same bug. If only one reports, it is useless. And saying
it here is useless, we are just users like you. If one app does not work,
use another.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

Carlos - this is great advice. As a newbie, I don’t know how to get things done in fixing SUSE.
I will search, but if you had a suggested tutorial on how to approach bugzilla? then I and wfranssen](http://forums.opensuse.org/members/wfranssen.html) will report the bug :).

Thanks

On 2011-11-10 22:46, georgeinacton wrote:
>
> Carlos - this is great advice. As a newbie, I don’t know how to get
> things done in fixing SUSE.
> I will search, but if you had a suggested tutorial on how to approach
> bugzilla?

Just search for the word bugzilla in the web page. First hit:

http://en.opensuse.org/Bugzilla


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

I’m having this problem again. If I try to print a PDF with okular cups stops with the message:

/usr/lib/cups/filter/hpcups failed

Anyway else having this problem?

It was working just recently, but now all of sudden it stopped. Must be a recent update that’s causing this…

I can print with libreoffice just fine.

Check /var/log/cups/error_log for hints as to why Okular is bugging out when printing. Or rather why cups is.

A little more info: it seems it’s the document that’s causing the problem. I tried with another PDF and it printed.

Anyway, here’s what’s in the error_log:


E [27/Jan/2015:09:22:21 -0800] [Job 27] Job stopped due to filter errors; please consult the error_log file for details.
D [27/Jan/2015:09:22:21 -0800] [Job 27] The following messages were recorded from 09:22:20 to 09:22:21
D [27/Jan/2015:09:22:21 -0800] [Job 27] Adding start banner page "none".
D [27/Jan/2015:09:22:21 -0800] [Job 27] Queued on "OfficeJet" by "user_foo".
D [27/Jan/2015:09:22:21 -0800] [Job 27] Auto-typing file...
D [27/Jan/2015:09:22:21 -0800] [Job 27] Request file type is application/postscript.
D [27/Jan/2015:09:22:21 -0800] [Job 27] File of type application/postscript queued by "user_foo".
D [27/Jan/2015:09:22:21 -0800] [Job 27] Adding end banner page "none".
D [27/Jan/2015:09:22:21 -0800] [Job 27] job-sheets=none,none
D [27/Jan/2015:09:22:21 -0800] [Job 27] argv[0]="OfficeJet"
D [27/Jan/2015:09:22:21 -0800] [Job 27] argv[1]="27"
D [27/Jan/2015:09:22:21 -0800] [Job 27] argv[2]="user_foo"
D [27/Jan/2015:09:22:21 -0800] [Job 27] argv[3]="Untitleddocument(4).pdf"
D [27/Jan/2015:09:22:21 -0800] [Job 27] argv[4]="1"
D [27/Jan/2015:09:22:21 -0800] [Job 27] argv[5]="noCollate finishings=3 fit-to-page media=Letter number-up=1 outputorder=normal page-bottom=10 page-left=10 page-right=10 page-top=10 portrait sides=one-sided job-uuid=urn:uuid:17b9c7b0-2449-3863-7971-0f156cbe975b job-originating-host-name=localhost time-at-creation=1422379340 time-at-processing=1422379340 Duplex=None PageSize=Letter"
D [27/Jan/2015:09:22:21 -0800] [Job 27] argv[6]="/var/spool/cups/d00027-001"
D [27/Jan/2015:09:22:21 -0800] [Job 27] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [27/Jan/2015:09:22:21 -0800] [Job 27] envp[1]="CUPS_DATADIR=/usr/share/cups"
D [27/Jan/2015:09:22:21 -0800] [Job 27] envp[2]="CUPS_DOCROOT=/usr/share/cups/webcontent"
D [27/Jan/2015:09:22:21 -0800] [Job 27] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [27/Jan/2015:09:22:21 -0800] [Job 27] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [27/Jan/2015:09:22:21 -0800] [Job 27] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
D [27/Jan/2015:09:22:21 -0800] [Job 27] envp[6]="CUPS_SERVERROOT=/etc/cups"
D [27/Jan/2015:09:22:21 -0800] [Job 27] envp[7]="CUPS_STATEDIR=/run/cups"
D [27/Jan/2015:09:22:21 -0800] [Job 27] envp[8]="HOME=/var/spool/cups/tmp"
D [27/Jan/2015:09:22:21 -0800] [Job 27] envp[9]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [27/Jan/2015:09:22:21 -0800] [Job 27] envp[10]="SERVER_ADMIN=root@legolas"
D [27/Jan/2015:09:22:21 -0800] [Job 27] envp[11]="SOFTWARE=CUPS/1.5.4"
D [27/Jan/2015:09:22:21 -0800] [Job 27] envp[12]="TMPDIR=/var/spool/cups/tmp"
D [27/Jan/2015:09:22:21 -0800] [Job 27] envp[13]="USER=root"
D [27/Jan/2015:09:22:21 -0800] [Job 27] envp[14]="CUPS_MAX_MESSAGE=2047"
D [27/Jan/2015:09:22:21 -0800] [Job 27] envp[15]="CUPS_SERVER=/run/cups/cups.sock"
D [27/Jan/2015:09:22:21 -0800] [Job 27] envp[16]="CUPS_ENCRYPTION=IfRequested"
D [27/Jan/2015:09:22:21 -0800] [Job 27] envp[17]="IPP_PORT=631"
D [27/Jan/2015:09:22:21 -0800] [Job 27] envp[18]="CHARSET=utf-8"
D [27/Jan/2015:09:22:21 -0800] [Job 27] envp[19]="LANG=en_US.UTF-8"
D [27/Jan/2015:09:22:21 -0800] [Job 27] envp[20]="PPD=/etc/cups/ppd/OfficeJet.ppd"
D [27/Jan/2015:09:22:21 -0800] [Job 27] envp[21]="RIP_MAX_CACHE=128m"
D [27/Jan/2015:09:22:21 -0800] [Job 27] envp[22]="CONTENT_TYPE=application/postscript"
D [27/Jan/2015:09:22:21 -0800] [Job 27] envp[23]="DEVICE_URI=hp:/net/Officejet_6500_E710n-z?ip=192.168.1.200"
D [27/Jan/2015:09:22:21 -0800] [Job 27] envp[24]="PRINTER_INFO=Home Printer"
D [27/Jan/2015:09:22:21 -0800] [Job 27] envp[25]="PRINTER_LOCATION=Office"
D [27/Jan/2015:09:22:21 -0800] [Job 27] envp[26]="PRINTER=OfficeJet"
D [27/Jan/2015:09:22:21 -0800] [Job 27] envp[27]="PRINTER_STATE_REASONS=none"
D [27/Jan/2015:09:22:21 -0800] [Job 27] envp[28]="CUPS_FILETYPE=document"
D [27/Jan/2015:09:22:21 -0800] [Job 27] envp[29]="FINAL_CONTENT_TYPE=printer/OfficeJet"
D [27/Jan/2015:09:22:21 -0800] [Job 27] envp[30]="AUTH_I****"
D [27/Jan/2015:09:22:21 -0800] [Job 27] Started filter /usr/lib/cups/filter/pstops (PID 3984)
D [27/Jan/2015:09:22:21 -0800] [Job 27] Started filter /usr/lib/cups/filter/gstoraster (PID 3985)
D [27/Jan/2015:09:22:21 -0800] [Job 27] Started filter /usr/lib/cups/filter/hpcups (PID 3986)
D [27/Jan/2015:09:22:21 -0800] [Job 27] Started backend /usr/lib/cups/backend/hp (PID 3987)
D [27/Jan/2015:09:22:21 -0800] [Job 27] Page = 612x792; 9,9 to 603,783
D [27/Jan/2015:09:22:21 -0800] [Job 27] slow_collate=0, slow_duplex=0, slow_order=0
D [27/Jan/2015:09:22:21 -0800] [Job 27] Before copy_comments - %!PS-Adobe-3.0
D [27/Jan/2015:09:22:21 -0800] [Job 27] %!PS-Adobe-3.0
D [27/Jan/2015:09:22:21 -0800] [Job 27] %Produced by poppler pdftops version: 0.26.5 (http://poppler.freedesktop.org)
D [27/Jan/2015:09:22:21 -0800] [Job 27] %%Title: Untitleddocument(4).pdf
D [27/Jan/2015:09:22:21 -0800] [Job 27] %%LanguageLevel: 2
D [27/Jan/2015:09:22:21 -0800] [Job 27] %%DocumentSuppliedResources: (atend)
D [27/Jan/2015:09:22:21 -0800] [Job 27] %%DocumentMedia: Letter 612 792 0 () ()
D [27/Jan/2015:09:22:21 -0800] [Job 27] %%BoundingBox: 0 0 612 792
D [27/Jan/2015:09:22:21 -0800] [Job 27] %%Pages: 1
D [27/Jan/2015:09:22:21 -0800] [Job 27] %%EndComments
D [27/Jan/2015:09:22:21 -0800] [Job 27] Before copy_prolog - %%BeginDefaults
D [27/Jan/2015:09:22:21 -0800] [Job 27] Before copy_setup - %%BeginSetup
D [27/Jan/2015:09:22:21 -0800] [Job 27] Before page loop - %%Page: 1 1
D [27/Jan/2015:09:22:21 -0800] [Job 27] Copying page 1...
D [27/Jan/2015:09:22:21 -0800] [Job 27] pagew = 592.0, pagel = 772.0
D [27/Jan/2015:09:22:21 -0800] [Job 27] bboxx = 0, bboxy = 0, bboxw = 612, bboxl = 792
D [27/Jan/2015:09:22:21 -0800] [Job 27] PageLeft = 10.0, PageRight = 602.0
D [27/Jan/2015:09:22:21 -0800] [Job 27] PageTop = 782.0, PageBottom = 10.0
D [27/Jan/2015:09:22:21 -0800] [Job 27] PageWidth = 612.0, PageLength = 792.0
D [27/Jan/2015:09:22:21 -0800] [Job 27] Wrote 1 pages...
D [27/Jan/2015:09:22:21 -0800] [Job 27] Color Manager: Calibration Mode/Off
D [27/Jan/2015:09:22:21 -0800] [Job 27] Calling FindDeviceById(cups-OfficeJet)
D [27/Jan/2015:09:22:21 -0800] [Job 27] Failed to send: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
D [27/Jan/2015:09:22:21 -0800] [Job 27] Failed to get find device cups-OfficeJet
D [27/Jan/2015:09:22:21 -0800] [Job 27] Calling FindDeviceById(cups-OfficeJet)
D [27/Jan/2015:09:22:21 -0800] [Job 27] Failed to send: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
D [27/Jan/2015:09:22:21 -0800] [Job 27] Failed to get device cups-OfficeJet
D [27/Jan/2015:09:22:21 -0800] [Job 27] Color Manager: no profiles specified in PPD
D [27/Jan/2015:09:22:21 -0800] [Job 27] Set job-printer-state-message to "Color Manager: no profiles specified in PPD", current level=INFO
D [27/Jan/2015:09:22:21 -0800] [Job 27] Color Manager: ICC Profile: None
D [27/Jan/2015:09:22:21 -0800] [Job 27] Ghostscript command line: /usr/bin/gs -dQUIET -dPARANOIDSAFER -dNOPAUSE -dBATCH -dNOINTERPOLATE -dNOMEDIAATTRS -sDEVICE=cups -sstdout=%stderr -sOutputFile=%stdout -sMediaType=Automatic -sOutputType=0 -r600x600 -dMediaPosition=1 -dDEVICEWIDTHPOINTS=612 -dDEVICEHEIGHTPOINTS=792 -dcupsMediaType=-1 -dcupsBitsPerColor=8 -dcupsColorOrder=0 -dcupsColorSpace=17 -dcupsInteger0=2 -scupsPageSizeName=Letter -I/usr/share/cups/fonts -c '<</.HWMargins[9.000000 9.000000 9.000000 9.000000] /Margins[0 0]>>setpagedevice' -f -_
D [27/Jan/2015:09:22:21 -0800] [Job 27] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [27/Jan/2015:09:22:21 -0800] [Job 27] envp[1]="CUPS_DATADIR=/usr/share/cups"
D [27/Jan/2015:09:22:21 -0800] [Job 27] envp[2]="CUPS_DOCROOT=/usr/share/cups/webcontent"
D [27/Jan/2015:09:22:21 -0800] [Job 27] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [27/Jan/2015:09:22:21 -0800] [Job 27] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [27/Jan/2015:09:22:21 -0800] [Job 27] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
D [27/Jan/2015:09:22:21 -0800] [Job 27] envp[6]="CUPS_SERVERROOT=/etc/cups"
D [27/Jan/2015:09:22:21 -0800] [Job 27] envp[7]="CUPS_STATEDIR=/run/cups"
D [27/Jan/2015:09:22:21 -0800] [Job 27] envp[8]="HOME=/var/spool/cups/tmp"
D [27/Jan/2015:09:22:21 -0800] [Job 27] envp[9]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [27/Jan/2015:09:22:21 -0800] [Job 27] envp[10]="SERVER_ADMIN=root@legolas"
D [27/Jan/2015:09:22:21 -0800] [Job 27] envp[11]="SOFTWARE=CUPS/1.5.4"
D [27/Jan/2015:09:22:21 -0800] [Job 27] envp[12]="TMPDIR=/var/spool/cups/tmp"
D [27/Jan/2015:09:22:21 -0800] [Job 27] envp[13]="USER=root"
D [27/Jan/2015:09:22:21 -0800] [Job 27] envp[14]="CUPS_MAX_MESSAGE=2047"
D [27/Jan/2015:09:22:21 -0800] [Job 27] envp[15]="CUPS_SERVER=/run/cups/cups.sock"
D [27/Jan/2015:09:22:21 -0800] [Job 27] envp[16]="CUPS_ENCRYPTION=IfRequested"
D [27/Jan/2015:09:22:21 -0800] [Job 27] envp[17]="IPP_PORT=631"
D [27/Jan/2015:09:22:21 -0800] [Job 27] envp[18]="CHARSET=utf-8"
D [27/Jan/2015:09:22:21 -0800] [Job 27] envp[19]="LANG=en_US.UTF-8"
D [27/Jan/2015:09:22:21 -0800] [Job 27] envp[20]="PPD=/etc/cups/ppd/OfficeJet.ppd"
D [27/Jan/2015:09:22:21 -0800] [Job 27] envp[21]="RIP_MAX_CACHE=128m"
D [27/Jan/2015:09:22:21 -0800] [Job 27] envp[22]="CONTENT_TYPE=application/postscript"
D [27/Jan/2015:09:22:21 -0800] [Job 27] envp[23]="DEVICE_URI=hp:/net/Officejet_6500_E710n-z?ip=192.168.1.200"
D [27/Jan/2015:09:22:21 -0800] [Job 27] envp[24]="PRINTER_INFO=Home Printer"
D [27/Jan/2015:09:22:21 -0800] [Job 27] envp[25]="PRINTER_LOCATION=Office"
D [27/Jan/2015:09:22:21 -0800] [Job 27] envp[26]="PRINTER=OfficeJet"
D [27/Jan/2015:09:22:21 -0800] [Job 27] envp[27]="PRINTER_STATE_REASONS=none"
D [27/Jan/2015:09:22:21 -0800] [Job 27] envp[28]="CUPS_FILETYPE=document"
D [27/Jan/2015:09:22:21 -0800] [Job 27] envp[29]="FINAL_CONTENT_TYPE=printer/OfficeJet"
D [27/Jan/2015:09:22:21 -0800] [Job 27] envp[30]="AUTH_INFO_REQUIRED=none"
D [27/Jan/2015:09:22:21 -0800] [Job 27] Start rendering...
D [27/Jan/2015:09:22:21 -0800] [Job 27] Set job-printer-state-message to "Start rendering...", current level=INFO
D [27/Jan/2015:09:22:21 -0800] [Job 27] Processing page 1...
D [27/Jan/2015:09:22:21 -0800] [Job 27] Set job-printer-state-message to "Processing page 1...", current level=INFO
D [27/Jan/2015:09:22:21 -0800] [Job 27] Error: /rangecheck in --xyshow--
D [27/Jan/2015:09:22:21 -0800] [Job 27] Operand stack:
D [27/Jan/2015:09:22:21 -0800] [Job 27] 700.32   222.0   (\fz)   --nostringval--   (\fz)   --nostringval--
D [27/Jan/2015:09:22:21 -0800] [Job 27] Execution stack:
D [27/Jan/2015:09:22:21 -0800] [Job 27] %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1955   1   3   %oparray_pop   1954   1   3   %oparray_pop   1938   1   3   %oparray_pop   1820   1   3   %oparray_pop   --nostringval--   %errorexec_pop   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--
D [27/Jan/2015:09:22:21 -0800] [Job 27] Dictionary stack:
D [27/Jan/2015:09:22:21 -0800] [Job 27] --dict:1195/1684(ro)(G)--   --dict:0/20(G)--   --dict:84/200(L)--   --dict:69/75(L)--   --dict:19/25(L)--   --dict:0/15(L)--   --dict:0/15(L)--   --dict:10/15(L)--
D [27/Jan/2015:09:22:21 -0800] [Job 27] Current allocation mode is local
D [27/Jan/2015:09:22:21 -0800] [Job 27] Last OS error: No such file or directory
D [27/Jan/2015:09:22:21 -0800] [Job 27] GPL Ghostscript 9.15: Unrecoverable error, exit code 1
D [27/Jan/2015:09:22:21 -0800] [Job 27] Rendering completed
D [27/Jan/2015:09:22:21 -0800] [Job 27] Set job-printer-state-message to "Rendering completed", current level=INFO
D [27/Jan/2015:09:22:21 -0800] [Job 27] prnt/hpcups/HPCupsFilter.cpp 530: cupsRasterOpen failed, fd = 0
D [27/Jan/2015:09:22:21 -0800] [Job 27] prnt/backend/hp.c 902: ERROR: null print job total=0
D [27/Jan/2015:09:22:21 -0800] [Job 27] End of messages
D [27/Jan/2015:09:22:21 -0800] [Job 27] printer-state=3(idle)
D [27/Jan/2015:09:22:21 -0800] [Job 27] printer-state-message="/usr/lib/cups/filter/hpcups failed"
D [27/Jan/2015:09:22:21 -0800] [Job 27] printer-state-reasons=none

@ccin1492: It is not a good idea to tack on to an old thread like this. Start a new thread with title describing your problem. That way your more likely to catch the attention of others who can help. BTW, you haven’t told us vital information about your system: openSUSE version and HPCUPS version would be useful.

Point taken, but it’s the same problem I think.

Yes, I forgot that info. The opensuse version is 13.2 and hpcups is 3.14.6-2.2.4.

Hi, so it seems that there’s something wrong with your pdf file. You could try : opening the pdf from within libreoffice writer and print from there, or install cups-pdf and try to print to that and then print the generated file. Sometimes it works. HTH Lenwolf.

Correct. I was able to open it in libreoffice and print from there.