Opened 10 years ago

Closed 7 years ago

#22 closed defect (fixed)

Foomatic-rip-4_0_5.wpi - exe broken?

Reported by: batchheizer Owned by:
Priority: Feedback Pending Milestone:
Component: cups Version:
Severity: highest Keywords: foomatic HP 1606
Cc:

Description

My "HP_LaserJet_Professional_P1606dn" should work with foomatic.

With the Driver "HP LaserJet Pro P1606dn Foomatic/foo2zjs-z2 (recommended) (grayscale, 2-sided printing)" I get "/cups/lib/cups/filter/foomatic-rip.exe failed"

On Commandline I get:

[c:\cups\lib\cups\filter]foomatic-rip.exe
SYS0193: C:\cups\lib\cups\filter\foomatic-rip.exe cannot be run in a OS/2 sessio
n. "C:\cups\lib\cups\filter\foomatic-rip.exe"

Maybe because the EXE is only 27 Bytes big - there seems to be something broken. There is a second "foomatic-rip.exe" in the WPI with 37K. It is extracted to cups/bin - is this correct?

The newer foomatic-rip.exe from "cups-filters-1.0.61-os2-20141011.zip" is about 300K gives no error. There is only one foomatic-rip.exe in this ZIP, extracted to "lib\cups\filter".

So my Question: Is there a defect in "Foomatic-rip-4_0_5.wpi" and its files?

Attachments (1)

foomatic-rip-4_0_5.wpi (47.9 KB ) - added by Alex Taylor 10 years ago.
foomatic-rip 4.0.5 package with fixed symlink

Download all attachments as: .zip

Change History (11)

comment:1 by Alex Taylor, 10 years ago

Yes, the file in filter\ is a symlink, unfortunately the WPI packing strips off the extended attributes which are required for this to work. I'll try and fix this ASAP.

by Alex Taylor, 10 years ago

Attachment: foomatic-rip-4_0_5.wpi added

foomatic-rip 4.0.5 package with fixed symlink

comment:2 by batchheizer, 10 years ago

Installing the new (4_0_5_2) WPI gives two files:

27.04.15 20.04            166      0 a---  foomatic-rip.eas
11.09.10 18.55             27      0 a---  foomatic-rip.exe

But not one file with EAs. How can I get the EAs into the Exe?

comment:3 by Alex Taylor, 10 years ago

Hmm. eautil should have run during install. But try

eautil foomatic-rip.exe foomatic-rip.eas /j

comment:4 by batchheizer, 10 years ago

There could be an error in the WIS:

EXECUTE=".... $(24)\cups\lib\cups\filter\foomatic-rip.ea"

must be

EXECUTE=".... $(24)\cups\lib\cups\filter\foomatic-rip.eas"

With s at the end. Or rename the file.

comment:5 by batchheizer, 10 years ago

With corrected foomatic-rip.EXE the message "/cups/lib/cups/filter/foomatic-rip.exe failed" does not appear.

But I have no success with printing:

HP LaserJet Pro P1606dn Foomatic/foo2zjs-z2 (recommended) (grayscale, 2-sided printing) lpd://192.168.2.101/lp1 (no output, printer blinks long) Status: Idle - "Data file sent successfully"

socket://192.168.2.101:9100 "Print file sent, waiting printer to finisch" (a few seconds) no output, no blinking

socket://192.168.2.101 "Print file sent, waiting printer to finisch" (a few seconds) no output, no blinking

Any idea? As you see in Ticket 12 I can print with gutenprint via these connections.

comment:6 by batchheizer, 10 years ago

Is there missing "foo2zjs" for OS/2? The WPI-Name contains only "foo2qpdl" - but I think "foo2qpdl" and "foo2zjs" are two different things. The Readme (WPI first site) only mentions "foo2zjs". Does the WPI contain both? The tested printer in the readme (Samsung) is a foo2qpdl-Printer.

May this be the problem?

comment:7 by batchheizer, 10 years ago

I read the WPI-Readme:

Check the Ghostscript path in \cups\bin\foo2qpdl-wrapper (lines 164 & 681-682) Check the Ghostscript path in \cups\etc\foomatic\filter.conf (line 35)

and changed: gs8.70 -> gs8.71 - but no printing.

Should the WPI by default contain these 8.71-Path? On ecs 2.2 b2 8.71 is installed.

comment:8 by Alex Taylor, 10 years ago

The package should contain foo2qpdl, foo2hiperc, foo2hp, foo2lava, foo2oak, foo2slx, foo2xqx and foo2zjs. Paul distributes it as foo2qpdl because I guess that's the only one he was able to test.

I'm afraid I can't be any help as I've never used any of these myself.

comment:9 by diver, 7 years ago

Priority: majorFeedback Pending

Is this till the case with latest cups and cups-filters?

comment:10 by diver, 7 years ago

Resolution: fixed
Status: newclosed

no feedback, so closing the issue. If you still have cups issues please open a ticket at https://github.com/bitwiseworks/cups-os2/issues

Note: See TracTickets for help on using tickets.