--- In DigitalBlackandWhiteThePrint@yahoogroups.com, "rvdryst"
<rvdryst@t...> wrote:
> ----- Original Message -----
> From: <roy@h...>
> To: <DigitalBlackandWhiteThePrint@yahoogroups.com>
> Sent: 07 February, 2003 06:11
> Subject: [Digital BW] Re: Gimp-Print + Linux
>
> > The idea is to get "quadraster" into the middle of the filter
> > pipeline. The pstoraster being a shell script on my system
> > made that very easy. I think there's two possibilities to make
> > this work. First, it may be possible to configure the PPD
> > so that CUPS inserts quadraster into the pipefile, but that
> > may involve a new file type name. Second would be to make
> > a new program (c code or shell script) that calls the two
> > programs with a pipe in between.
> >
>
> Roy
>
> I re-installed CUPS 1.1.18 and found that "pstoraster" is then
also a
> shell script. Comparing your script with the installed one, I
made some
> small changes to your script : changed "/usr/local" to "/usr"
and
> changed "gs" to "gs-esp" at the end. The filter library in my
case is
> at "/usr/lib/cups/filter" instead of " /libexe/ ".
This sounds like the right approach.
> The print dialogue in The Gimp does not show the option
"Quad Tone Inks and
> Curves" but "xpp" does.
This option comes up in OS X because of the PPD file
change. I don't know if that's a OS X feature or built into
all CUPS and Gimp-print implementations. But to try things
out the first argument to quadraster is the curve file name
without the prefix "/etc/cups/quadtone/" and without the
suffix ".quad", so you could just hard code a curve file
name into the pstoraster shell script.
> So I submitted a small stepwedge and everything went
through, except nothing
> came from the printer - a 1160 like yours. Cups localhost
showed that the
> print is waiting to be printed, but nothing for more than 15
minutes. I then
> started to shutdown Linux and then the printer printed about
5mm of the
> stepwedge.
You don't mention what kind of hardware you are running
on but my executable is for a PowerPC processor so if you
have a Pentium it definitely has to be recompiled.
> I also tried to re-compile "quadraster" but the compiler
complains about not
> finding
> "cups.h", "ppd.h" and "raster.h". I am not a programmer so that
was that.
I could send you those header files from my machine but
in case they are different you ought to first look for them on
your system. I believe they came on mine from the CUPS
distribution. Send me email if you'd like the headers.
> So in conclusion it looks like it is mostly working except for
some small
> problem.
>
> > I think I see the confusion. You don't save the curves in
> > the Curves command. The idea is to save the main file
> > with the curve adjustment in effect. So you change the
> > curve layer and finish, then you do a Save As for the whole
file.
> > This is where you find the Raw format. The raw format of
> > the file shows what happens to all possible 256 gray values
> > during the printing process.
> >
> I have not actively used Photoshop for a numder of years so I
lost track. (I
> am using Picture Window Pro under Wine in Linux). I did some
RTM and figured
> it out. Just one question - can the actual curves for each of the
> "CurveName.quad" files be extracted - i.e. the "xxx.acv" files? It
would
> give me a starting point to tweak the curves. Else, would you be
so kind as
> to post them somewhere?
The curves are in the Photoshop file curves-master.psd --
they Curve Adjustment Layers. Just double-click on the layer's
graph icon. On re-reading your question -- do you have
Photoshop so that you can look at the .psd file? Can you
look at .acv files from your other software?
>
> Reinier van der Ryst
> Secunda, South Africa
Roy