[OpenIndiana-discuss] rastertoz55 and the Lexmark X6170

Jonathan Adams t12nslookup at gmail.com
Tue Mar 17 14:36:31 UTC 2015


Okay, I've gone back to look at my notes for Solaris 10 CUPS ...

the only link from the notes that still works is:
http://www.lengers.com/?p=18

that is obviously working from the packages supplied(ish) with Solaris 10.

I have further notes on compiling CUPS:

Compile Ghostscript:

# ./configure --prefix=/opt/gs8.57 CFLAGS=-I/usr/sfw/include \
> LDFLAGS="-R/usr/sfw/lib -L/usr/sfw/lib -R/opt/sfw/lib -L/opt/sfw/lib" --without-x --with-ijs --with-jbig2dec
# vi src/unix-dll.mak
 <make changes to include "-R$(libdir)" on $(GSSOC_XE): (and
$(GSSOX_XE): on machines that have X)
  on machines without X remove $(GSSOX) from the so: and so-install: lines.>
# gmake so
# gmake soinstall
# mkdir -p /opt/gs8.57/include/ghostscript
# cp src/*.h /opt/gs8.57/include/ghostscript


Compile foomatic:

LD_LIBRARY_PATH=/opt/ghostscript/lib:/usr/sfw/lib:/opt/sfw/cups/lib
export LD_LIBRARY_PATH
./configure -C MAKE=gmake CUPS_FILTERS=/opt/sfw/cups/lib/cups/filter \
--prefix=/opt/sfw/cups \
--with-execpath=/opt/ghostscript/bin:/usr/sfw/bin:/usr/bin:/opt/sfw/cups/bin \
CFLAGS="-I/opt/ghostscript/include" \
LDFLAGS="-R/opt/ghostscript/lib -L/opt/ghostscript/lib -R/usr/sfw/lib
-L/usr/sfw/lib -R/opt/sfw/cups/lib -L/opt/sfw/cups/lib"


Note: http://www.google.co.uk/codesearch is your friend ... you need it to
fix some foomatic snarfu's, need to modify references to GS_PATH so that
they point at /opt/ghostscript/bin/gsc

"Copy foomatic-rip and foomatic-gswrapper to
/opt/sfw/cups/lib/cups/filter/, and then use chmod to set the permissions
for both files to 755 in the target directory.

Edit foomatic-rip to add the ghostscript path, which is /usr/sfw/bin in the
Solaris 10 OS."


Compile CUPS:

# ./configure --prefix=/opt/cups-1.4.6 --disable-gssapi --enable-dbus \
> LDFLAGS="-R/usr/lib/mps -L/usr/lib/mps -lnss3" --disable-ssl

these are my notes ... :)

CUPS does/did have a service configuratio/XML script in it's source code
for Solaris, so you just need to disable normal printing svccfg import the
XML and then enable it to get CUPS running.

I hope some of this helps.

Jon

On 17 March 2015 at 10:42, Udo Grabowski (IMK) <udo.grabowski at kit.edu>
wrote:

> On 17/03/2015 04:28, jay at m5.chicago.il.us wrote:
>
>>
>> If I live long enough, one day I shall post a long article describing
>> the difficulty of using a Solaris-derived system, when the entire
>> open-source world assumes that you are using Linux.  But today I have
>> a more specific question.
>>
>
> Welcome to the world of professional Open Source, where you have
> to fight a silent and strange gentlemens aggreement between business
> men which try to force anything except MS/Apple/Linux to be legacy
> and obsolete, and the pupils bugging you with their toys...
>
>> ...
>>
> > ...
>
>> It worked well, until now, because now my printer is a Lexmark X6170,
>> which apparently requires input in "z55" format, and I have no idea
>> what the devil "z55" format is, and how to generate it.  The "gs -?"
>> command does not mention any device with "z55" in its name.
>>
>> Thus I now turn to the collective wisdom of the membership of this
>> mailing list.  How do I generate z55 output, on my Solaris-derived
>> system, so that I can use my printer for something other than a
>> paperweight?  As always, I thank you in advance for any and all
>> replies.
>>
>>  After investigating, I don't believe that there is a real chance
> to get that working natively under illumos. Three options left:
>
> 1. use a Linux qemu-kvm VM as a printer server
> 2. use wine with the printer driver
> 3. ditch that one and buy a better supported printer...
>
> I would proceed with option 1.
>
>
>
> _______________________________________________
> openindiana-discuss mailing list
> openindiana-discuss at openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss
>


More information about the openindiana-discuss mailing list