Yosemite and a printer driver that broke

M

MacInWin

Guest
I have a label printer on my Mac. The driver for the printer installs foomatic-rip, ghostscript and hpijs (the engine of the printer is from H-P, but it's NOT an HP printer, so they don't help). The combination worked well on Mavericks, but when I upgraded to Yosemite, something broke. I am getting a error in the printer que that the job is "Stopped - "Filter" failed" and nothing prints. I looked at the CUPS error log and saw this:

D [17/Oct/2014:15:40:17 -0400] [Job 7] --> Output goes directly to the renderer now.
D [17/Oct/2014:15:40:17 -0400] [Job 7] Starting renderer
D [17/Oct/2014:15:40:17 -0400] [Job 7] renderer PID kid4=766
D [17/Oct/2014:15:40:17 -0400] [Job 7] renderer command: gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -sIjsServer=zeo -sDeviceManufacturer="HEWLETT-PACKARD" -sDeviceModel="quicklabel zeo" -dDEVICEWIDTHPOINTS=216 -dDEVICEHEIGHTPOINTS=151 -dDuplex=false -r300 -sIjsParams=Quality:MediaType=1,Quality:Quality=2,Quality:ColorMode=2,Quality:penSet=2,PS:MediaPosition=7 -dIjsUseOutputFD -sOutputFile=- -
D [17/Oct/2014:15:40:17 -0400] [Job 7] JCL: <job data>
D [17/Oct/2014:15:40:17 -0400] [Job 7] sh: gs: command not found
D [17/Oct/2014:15:40:17 -0400] [Job 7] renderer return value: 127
D [17/Oct/2014:15:40:17 -0400] [Job 7] renderer received signal: 127
D [17/Oct/2014:15:40:17 -0400] [Job 7] tail process done writing data to STDOUT
D [17/Oct/2014:15:40:17 -0400] [Job 7] KID4 finished
D [17/Oct/2014:15:40:17 -0400] [Job 7] Process dying with "The renderer command line returned an unrecognized error code 127.", exit stat: 1
D [17/Oct/2014:15:40:17 -0400] [Job 7] error: No such file or directory (2)
D [17/Oct/2014:15:40:17 -0400] [Job 7] The renderer command line returned an unrecognized error code 127.
D [17/Oct/2014:15:40:17 -0400] [Job 7] Wrote 1 pages...
D [17/Oct/2014:15:40:17 -0400] [Job 7] PID 759 (/usr/libexec/cups/filter/pstops) exited with no errors.
D [17/Oct/2014:15:40:17 -0400] [Job 7] Found: %%PageTrailer
D [17/Oct/2014:15:40:17 -0400] [Job 7] --> Continue DSC parsing now.
D [17/Oct/2014:15:40:17 -0400] [Job 7] Found: %%Trailer
D [17/Oct/2014:15:40:17 -0400] [Job 7] --> Continue DSC parsing now.
D [17/Oct/2014:15:40:17 -0400] [Job 7] Found: %%Pages: 1
D [17/Oct/2014:15:40:17 -0400] [Job 7] --> Continue DSC parsing now.
D [17/Oct/2014:15:40:17 -0400] [Job 7] Found: %%BoundingBox: 0 0 151 216
D [17/Oct/2014:15:40:17 -0400] [Job 7] --> Continue DSC parsing now.
D [17/Oct/2014:15:40:17 -0400] [Job 7] Found: %%EOF
D [17/Oct/2014:15:40:17 -0400] [Job 7] --> Continue DSC parsing now.
D [17/Oct/2014:15:40:17 -0400] [Job 7] Closing renderer
D [17/Oct/2014:15:40:17 -0400] [Job 7] KID4 exited with status 0
D [17/Oct/2014:15:40:17 -0400] [Job 7] KID3 exited with status 1
D [17/Oct/2014:15:40:17 -0400] [Job 7] Renderer exit stat: 1
D [17/Oct/2014:15:40:17 -0400] [Job 7] Renderer process finished
D [17/Oct/2014:15:40:17 -0400] [Job 7] Killing process 765 (KID3)
D [17/Oct/2014:15:40:17 -0400] [Job 7] Process dying with "Error closing renderer", exit stat: 1
D [17/Oct/2014:15:40:17 -0400] [Job 7] error: Broken pipe (32)
D [17/Oct/2014:15:40:17 -0400] [Job 7] Error closing renderer
D [17/Oct/2014:15:40:17 -0400] [Job 7] PID 760 (/usr/libexec/cups/filter/foomatic-rip) stopped with status 1.
I see the first error is the shell reporting a gs failure, which then seems to ripple down until the job aborts. I am NOT a wiz at this stuff, but does anybody have a suggestion for what is really wrong? Will getting an updated foomatic-rip, gs or hpijl do anything? If so, where might I get such animals safely?

Thanks in advance!

EDIT, the smiley face in the log is not really a smiley face, it's a ":" followed by "P".
 
Joined
Oct 22, 2014
Messages
3
Reaction score
0
Points
1
yosemite and foomatic printer driver

I had a similar problem with my HP PSC750 supplied with a levelone wlan print server.
The problem ist simply the sandboxing of yosemite. The whole foomatic-software including hpijs and gostscript is normally installed in /usr/local/bin, where cups has no access in yosemite. I solved the problem by copying the whole content of /usr/local/bin into /usr/libexec/cups/filter. In this directory you must remove the link to foomatic-rip in /usr/local/bin before.

example:

cd /usr/libexec/cups/filter
sudo rm foomatic-rip

cd /usr/local/bin
sudo cp * /usr/libexec/cups/filter

(if you have installed a lot of other software in /usr/local/bin, it is better not to copy all files, of course)
 
Joined
Oct 22, 2014
Messages
1
Reaction score
0
Points
1
Hello, I am receiving the same error message with a xerox Workcentre 6015 driver.

Before I go ahead and try your solution, do you think it is necessary or should I just wait for an update from xerox? I don't really understand what "cups" and "hpijs" is, so am not sure if it would work.

Thanks

Edit: forgot to mention that I only get the error when I try to print more than 1 copy. I can press command-P and hit enter all day long, no problem, but I'd like to be able to set e.g. 50 copies and walk away
 
Last edited:
OP
M

MacInWin

Guest
I had a similar problem with my HP PSC750 supplied with a levelone wlan print server.
The problem ist simply the sandboxing of yosemite. The whole foomatic-software including hpijs and gostscript is normally installed in /usr/local/bin, where cups has no access in yosemite. I solved the problem by copying the whole content of /usr/local/bin into /usr/libexec/cups/filter. In this directory you must remove the link to foomatic-rip in /usr/local/bin before.

example:

cd /usr/libexec/cups/filter
sudo rm foomatic-rip

cd /usr/local/bin
sudo cp * /usr/libexec/cups/filter

(if you have installed a lot of other software in /usr/local/bin, it is better not to copy all files, of course)
Did that, now getting an error that the printer is not installed and to contact the vendor. I gave up, installed Win7 in Parallels, moved my CS6 suite to the Windows machine and am now printing using the Windows driver. It's dead slow compared to the OS X version, but it works.
 
Joined
Oct 22, 2014
Messages
3
Reaction score
0
Points
1
Hello, I am receiving the same error message with a xerox Workcentre 6015 driver.

Before I go ahead and try your solution, do you think it is necessary or should I just wait for an update from xerox? I don't really understand what "cups" and "hpijs" is, so am not sure if it would work.

Thanks

Edit: forgot to mention that I only get the error when I try to print more than 1 copy. I can press command-P and hit enter all day long, no problem, but I'd like to be able to set e.g. 50 copies and walk away


CUPS means Common Unix Printing System, the developing company belongs to apple, hpijs is a printer driver system from hp for linux which has been adapted also to OS X. foomatic-rip is the part of this system which is a so called "filter", a program which has to look what to do with the printing data coming from the application which wants to print, and call the appropriate other programs e.g. ghostscript in order to produce the data format needed by the printer.

The problem I had and probably all foomatic-rip - users have is that the new version of CUPS (i.e. the printing system of yosemite) is not allowed to execute programs which are not in the directory /user/libexec/cups for security reasons. (this type of restriction is called sandboxing)

Your problem seems to be something else, otherwise you could not print 1 page.
 
Joined
Oct 22, 2014
Messages
3
Reaction score
0
Points
1
Did that, now getting an error that the printer is not installed and to contact the vendor. I gave up, installed Win7 in Parallels, moved my CS6 suite to the Windows machine and am now printing using the Windows driver. It's dead slow compared to the OS X version, but it works.

I am very sorry that I could not help you, my PSC750 is now running perfectly with foomatic-rip, hpijs, ghostscript and yosemite.
Did you look whether the whole software-stuff was really in the /usr/libexec/cups/filter directory after the operation?
I am asking because I myself made a small mistake when I tried it the first time (I typed "filters" instead of "filter") and the result was just a file "filters" in the /usr/libexec/cups directory and not the whole software package in the "/usr/libexec/cups/filter" directory)
 
Last edited:
Joined
Oct 24, 2014
Messages
3
Reaction score
0
Points
1
Yosemity sends hpijs go plity

Hey Mr. MacInWin

This is another approach.
Close to the one of wue5, but more specific.
And it worked for me.

Actually I did not feel like copying everything from local/bin to cups/filter.

So, what is there ?
There are some gs*-files in usr/local/bin.
There is the original of the foomatic-rip
There is hpijs.
Which might be the full load of the hpijs printing solution.

I copied these files
( meaning : all files starting with gs, then foomatic-rip and hpijs )
over to usr/libexec/cups/filter
(I renamed the foomatic-rip-link in the target dir before, but…).

AND THAT DID IT.

When testing, a first time the printer driver will say it has to correct access
(I guess it is foomatic-rip, which is not in his line of way to see things),
which it does and then is ready to print on the next go.
And luckily everything finds everything.


on my tab:

I have a HP Deskjet 1220C (the one that does A3)
and think it is a BITTER PILL,
that HP can not support this machine on actual OSXs ( for years now ),
just because Apple goes cups.
The printer was expensive and a PRO style gadget
and - most important - still works perfectly.
They built it to last and then the wind blew them elsewhere.
So… Go your way HP. And thanks to the guys who did hpijs.

mitch
 
OP
M

MacInWin

Guest
Thanks. Those files were copied, but as I said, now when I choose the printer from within Photoshop, it says I need to install the driver, which was the entire purpose of moving the files. So as I said, I've given up and go the virtual windows machine route. It's very slow, but I'm getting used to it.

I tried deleting the printer and adding it back, but it reports that the printer driver is improperly installed. When I reinstall the driver, the files go to the OLD location again and the original problem of failing filter appears. I'm in an endless do-loop, but I do appreciate the support. It just isn't working.
 
Joined
Oct 24, 2014
Messages
3
Reaction score
0
Points
1
Josy and the hip js

I copied, I did not move.
There still might be someone to look for things in /usr/local/bin.
 
OP
M

MacInWin

Guest
Yeah, I tried both and get different results. With the COPY the original problem remained of "filter failure" then when I moved, it said the driver wasn't installed. I reinstalled the driver and filter failure returned. So now I have the files in both locations and get the Filter Failed report on the printer queue. I suspect the driver has hard coded the path to the library, so that when I move it, it fails and looks uninstalled and when I have it in the expected locations I run into the problem wue5 described. So, basically, I'm stuck. For now, it's Win7 or nothing.
 
Joined
Oct 24, 2014
Messages
3
Reaction score
0
Points
1
Josy and the printer flippers

Well. Luckily enough. It worked for me.
Using the latest edition of hpijs (saying 3.10.6.15).
But of course the risk - that there are links you can not satisfy that (simple) way - is high.
And of course - I would be very happy to see a Josy’s edition of hpijs.

I was using the default PCL-driver in the meantime.
If you block it on 600dpi, the quality is ok. (300 is just awful!)
Just won't give you color.

mitch
 
Joined
Nov 4, 2014
Messages
2
Reaction score
0
Points
1
Printers are not responding after installing Yosemite

I have a Mac Pro, I installed Yosemite and now my printer at home, a Minolta pagePro 1350W is not responding. At work, the HPs are not responding and the RICOH copy machines either. All gives this message. stopped "Filter" failed
 
Joined
Nov 4, 2014
Messages
2
Reaction score
0
Points
1
I just tried your suggestion and I had to follow the directions in the scrip downloaded and it did made my PagePro 1350w to work. Do not expect a file lie othetrs it will be a text with instruction to follow, like writing the password for the computer administrator and accepting to modify the printer. WOW I am so happy> Let's see if it works for the rest of my printers and copy machine at work. Thaks again!
 
Joined
Nov 7, 2014
Messages
1
Reaction score
0
Points
1
Excellent Fix

I used your example to add a Samsung ML-1430 to three Yosemite Macs using the foomatic/gdi driver. Thank you.

QUOTE
cd /usr/libexec/cups/filter
sudo rm foomatic-rip

cd /usr/local/bin
sudo cp * /usr/libexec/cups/filter
QUOTE
 
Joined
Nov 16, 2014
Messages
1
Reaction score
0
Points
1
It works!!

Hey guys. I tried this and it worked successfully. Thanks! For those of you who were having the script error. I had the same issue after trying the steps the first time. My PPD file was removed from the drive after Yosemite was installed for some reason.

To make it work - use the steps for moving the files from the /usr/local/bin to the other directory.

Then search for your PPD file from openprinting.org. Download it and move it to /Library/Printers/PPDs/Contents/Resources/en.lproj.

Uninstall and reinstall your printer. I'm assuming it's an IP printer - but this time when you type in the ip address of the printer, it should select your PPD file in the "Use:" selection menu. If not, select your PPD file. It should work then.

I'm not an expert, but I'm just suggesting steps that I did that worked in hopes that it will also work for you.

Thanks again!
 
Joined
Nov 26, 2012
Messages
1,035
Reaction score
22
Points
38
Location
Agusan del Norte, Philippines
Your Mac's Specs
L2012 Mini, i7 2.6Ghz, 8GB RAM, 256GB SSD + 1TB HDD(fusion), BenQ 32" 2.5k QHD Display
My Epson printer stopped working after upgrading to Yosemite. Even after doing a 2nd install, this time a fresh one not an upgrade. It still failed to communicate. Print Jobs would just sit in the spooler hoping for a miracle. I tried everything, new drivers, reinstalling, everything. It just refused to communicate. So, that plus a good amount of other issues just pilled up. I decided to go back to Mavericks and now everything works as it should..
 
Joined
Dec 30, 2014
Messages
4
Reaction score
0
Points
1
Trouble: HP Deskjet 5940 printer in OSX 10.10 Yosemite doesn't work.

Adding the printer with the specifically selected driver didn't help : manual selection of the driver from the drop-down list - HP Deskjet 5900 Series hpijs, 3.10.6.15 - gives 'please reinstall driver' warning. Same irregardless of direct USB connection or through Synology NAS.​

Solution: The following solution solution got my printer to work via USB connected directly to my mac:

1. Go to the PHIJS linux page HERE or Google "HPIJS OSX".
2. Download the 3 components needed (FOOMATIC-RIP, GHOSTSCRIPT and HPIJS)
3. I installed them in the above order. (not sure whether the order makes a difference)
4. Logged out of OSX and logged back in again (or reboot)
5. opened up the terminal and completed the following commands ( removing the foomatic-rip shortcut and copying all files from .../bin to .../filter )

QUOTE
cd /usr/libexec/cups/filter
sudo rm foomatic-rip

cd /usr/local/bin
sudo cp * /usr/libexec/cups/filter
QUOTE​

6. Again logged out of OSX and logged back in again (or reboot)
7. Connected the printer through USB and it was automatically installed (automatically selected the HP Deskjet 5900 Series hpijs, 3.10.6.15 driver)

Prints perfectly (in colour etc) through direct USB connection.

EDIT: Forgot to add that merely installing the Foomatic-rip, ghostscript and HPIJS was not enough to get it to work: that gave me the "filter error" in the printing queue. You need to execute the commands in the terminal as well for the printer to work.

Does anyone have a solution for network printing? Printer 'prints' through the Synology NAS, but it's all jibberish on countless pages...
 
Last edited:
Joined
Dec 11, 2010
Messages
1,808
Reaction score
40
Points
48
Location
Chicago
Your Mac's Specs
late 2012 mini w/SSD
Printing junk on many pages is symptom of using a postscript driver for a non-postscript printer. What printer?
 
OP
M

MacInWin

Guest
I'm confused. You said
HP Deskjet 5940 printer in OSX 10.10 Yosemite doesn't work.
but then said
Prints perfectly (in colour etc) through direct USB connection.
then you mention a Synology NAS.

What is it EXACTLY that you are trying to do? From you description so far, I'd say the Synology is the problem, not the printer driver. It's printing directly, so leaving the Mac it's ok. Arriving at the printer through the NAS it seems garbled. That, to me, points to the NAS.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top