Yahoo Groups archive

Digital BW, The Print

Index last updated: 2026-04-28 22:56 UTC

Thread

Re: [Digital BW] Re: Gimp-Print + Linux

Re: [Digital BW] Re: Gimp-Print + Linux

2003-02-06 by rvdryst

>  ----- Original Message -----
> From: <roy@...>
>To: <DigitalBlackandWhiteThePrint@yahoogroups.com>
>Sent: 06 February, 2003 02:36
>Subject: [Digital BW] Re: Gimp-Print + Linux
>

>  Well I don't run Linux so I can't provide Linux binaries, I run
> Mac OS X 10.2.3 and the binaries run on that.  The bit of
>source code I wrote should be fairly easy to port to Linux
> so a Linux solution is not at all out of the question.  In fact I
> have a friend with Linux so I'll investigate.

Roy

I would really appreciate you trying this on your friend's Linux system. I
think that there are more than a few Linux users that feel the same.

The bit in the curve-master.psd paragraph has me stumped however.

But maybe I should first tell you what my system is. I run Debian Linux
(which shouldn't be a problem - except maybe for your quadraster program). I
also
have Photoshop 5.5 on Win98 and that is where my problem is. Any curve file
that I try to create only allows the  .acv  extension. No RAW format is
possible. I've tried with CMYK and RGB files. As far as I know Photoshop
creates standard files for all the different platforms that it runs on. So
that whole paragraph is Greek to me.
Any clarification would be very much appreciated.

Newer versions of CUPS do not use  pstoraster  any more, but gs-esp. I had
to go back from CUPS version 1.1.18 to 1.1.14 to get  pstoraster back. Also
pstoraster  is a executable, and your  pstoraster  is a shell script.

Thanks
Reinier

[Digital BW] Re: Gimp-Print + Linux

2003-02-07 by Roy Harrington <roy@harrington.com>

--- In DigitalBlackandWhiteThePrint@yahoogroups.com, "rvdryst" 
<rvdryst@t...> wrote:
> >  ----- Original Message -----
> > From: <roy@h...>
> >To: <DigitalBlackandWhiteThePrint@yahoogroups.com>
> >Sent: 06 February, 2003 02:36
> >Subject: [Digital BW] Re: Gimp-Print + Linux
> >
> 
> >  Well I don't run Linux so I can't provide Linux binaries, I run
> > Mac OS X 10.2.3 and the binaries run on that.  The bit of
> >source code I wrote should be fairly easy to port to Linux
> > so a Linux solution is not at all out of the question.  In fact I
> > have a friend with Linux so I'll investigate.
> 
> Roy
> 
> I would really appreciate you trying this on your friend's Linux 
system. I
> think that there are more than a few Linux users that feel the 
same.
> 
> The bit in the curve-master.psd paragraph has me stumped 
however.
> 
> But maybe I should first tell you what my system is. I run 
Debian Linux
> (which shouldn't be a problem - except maybe for your 
quadraster program). I
> also
> have Photoshop 5.5 on Win98 and that is where my problem 
is. Any curve file
> that I try to create only allows the  .acv  extension. No RAW 
format is

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.

> possible. I've tried with CMYK and RGB files. As far as I know 
Photoshop
> creates standard files for all the different platforms that it runs 
on. So
> that whole paragraph is Greek to me.
> Any clarification would be very much appreciated.
> 
> Newer versions of CUPS do not use  pstoraster  any more, but 
gs-esp. I had
> to go back from CUPS version 1.1.18 to 1.1.14 to get  
pstoraster back. Also
> pstoraster  is a executable, and your  pstoraster  is a shell 
script.

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.

> 
> Thanks
> Reinier

Roy

Re: [Digital BW] Re: Gimp-Print + Linux

2003-02-07 by rvdryst

----- Original Message -----
Show quoted textHide quoted text
From: <roy@...>
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/  ".
The print dialogue in The Gimp does not show the option "Quad Tone Inks and
Curves" but  "xpp" does.
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.
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.
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?

Reinier van der Ryst
Secunda, South Africa

[Digital BW] Re: Gimp-Print + Linux

2003-02-07 by B. Alex Pettit Jr. <a_pettit_jr@yahoo.co

Hello Reinier,

I did some research and found that PhotoShop 5.5 is supported with
Linux under Wine also. Do you have any idea how much slower ( if any )
is the execution speed of cpu intensive programs as PhotoShop or
PictureWindows  when using Linux/Wine rather than under MS Windows ?

If there is no speed penalty, I am considering setting up a Linux only
machine for photoprocessing...

Best,
Alex
Orlando Florida



> I have not actively used Photoshop for a numder of years so I lost
track. (I
Show quoted textHide quoted text
> am using Picture Window Pro under Wine in Linux). 
> 
> Reinier van der Ryst
> Secunda, South Africa

[Digital BW] Re: Gimp-Print + Linux

2003-02-07 by Roy Harrington <roy@harrington.com>

--- 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

Re: [Digital BW] Re: Gimp-Print + Linux

2003-02-08 by rvdryst

----- Original Message -----
Show quoted textHide quoted text
From: "rvdryst" <rvdryst@...>
To: <DigitalBlackandWhiteThePrint@yahoogroups.com>
Sent: 07 February, 2003 22:29
Subject: Re: [Digital BW] Re: Gimp-Print + Linux
>

> 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.
> So in conclusion it looks like it is mostly working except for some
small
> problem.
>
Roy,

It struck me last night that "quadraster"  _must_  be re-compiled for
PC/Linux - diiferent platform from Mac. No wonder it is not working.

Another point, Gimp-Print only works in 16-bit mode. All 8-bit (colour
or grayscale) is converted to 16-bit mode before being processed. Is
it possible for "quadraster" to handle 16-bit data? Can Photoshop 7
now handle all its processes in 16-bit mode?  Picture Window Pro
certainly does.

Reinier

Re: [Digital BW] Re: Gimp-Print + Linux

2003-02-08 by rvdryst

>
> I did some research and found that PhotoShop 5.5 is supported with
> Linux under Wine also. Do you have any idea how much slower ( if
any )
> is the execution speed of cpu intensive programs as PhotoShop or
> PictureWindows  when using Linux/Wine rather than under MS Windows ?
>
> If there is no speed penalty, I am considering setting up a Linux
only
> machine for photoprocessing...
>
> Best,
> Alex
> Orlando Florida
>

Hello Alex,

Take a look at Luca Salgarelli's site. He did some tests a while ago
and from tha it looks like there is very little difference. I get most
of the functionality of Picture Window Pro under Wine and can also not
see any difference on my slow P II 266MHz 128MB machine. If you need
help with Wine let me know.

www.salgarelli.com/technical

Would you care to let me have some info about PS 5.5 under Wine.

Reinier

[Digital BW] Re: Gimp-Print + Linux

2003-02-08 by B. Alex Pettit Jr. <a_pettit_jr@yahoo.co

> Would you care to let me have some info about PS 5.5 under Wine.
> Reinier


Hi Reinier,
Yesterday, I found a program compatibility list that just had a 'Yes'
adjacent to PS5.5 . Today, my search turned up this information -
looks like there are still some problems.
Best, Alex

<><><><><><><><><><><><><><><><><><><><>
Photoshop 5.5
Title: Adobe Photoshop 5.5/Imageready 2.0
Home Page: http://www.adobe.com

Tested Wine Version: 20020904

Type wine /pathtocdrom/setup.exe to install Photoshop.
After installing copy the following files to the Wine system
directory: commctrl.dll, comdlg32.dll, shell.dll and shell32.dll
Add the following lines to the config file:
[AppDefaults\\photoshp.exe\\DllOverrides]
"shell" = "native"
"shell32" = "native"
"commctrl" = "native"
"comdlg32" = "native"

Type wine photoshp.exe in the installation directory to run Photoshop
Type wine imageready.exe in the installation directory to run Imageready.

Notes: Only use dll's from a Win 95/98/Me installation.
Photoshop crashes if you try to use the Preferences menu.

Re: [Digital BW] Re: Gimp-Print + Linux

2003-02-08 by Ernst Dinkla

----- Original Message -----
Show quoted textHide quoted text
From: "rvdryst" <rvdryst@...>
To: <DigitalBlackandWhiteThePrint@yahoogroups.com>
Sent: Saturday, February 08, 2003 6:00 AM
Subject: Re: [Digital BW] Re: Gimp-Print + Linux


> ----- Original Message -----
> From: "rvdryst" <rvdryst@...>
> To: <DigitalBlackandWhiteThePrint@yahoogroups.com>
> Sent: 07 February, 2003 22:29
> Subject: Re: [Digital BW] Re: Gimp-Print + Linux
> >
>
> > 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.
> > So in conclusion it looks like it is mostly working except for some
> small
> > problem.
> >
> Roy,

There are at least some issues in colour printing if you want to use
PhotoShop to get ICC control with ProfileToProfile and use that file in
Gimp-Print. I asked Robert Krawitz about that workflow and he wrote me that
that still wasn't at the right level. It had more to do with Cups
if I recall correctly. It is in an archive that I ca't get into it at the
moment.

Ernst

Re: [Digital BW] Re: Gimp-Print + Linux

2003-02-08 by rvdryst

> Yesterday, I found a program compatibility list that just had a
'Yes'
> adjacent to PS5.5 . Today, my search turned up this information -
> looks like there are still some problems.

Hello Alex

Thank you for the info, willcertainly give it a try.

Reinier

[Digital BW] Re: Gimp-Print + Linux

2003-02-08 by Roy Harrington <roy@harrington.com>

--- In DigitalBlackandWhiteThePrint@yahoogroups.com, "rvdryst" 
<rvdryst@t...> wrote:

> Roy,
> 
> It struck me last night that "quadraster"  _must_  be 
re-compiled for
> PC/Linux - diiferent platform from Mac. No wonder it is not 
working.
> 
> Another point, Gimp-Print only works in 16-bit mode. All 8-bit 
(colour
> or grayscale) is converted to 16-bit mode before being 
processed. Is
> it possible for "quadraster" to handle 16-bit data? Can 
Photoshop 7
> now handle all its processes in 16-bit mode?  Picture Window 
Pro
> certainly does.
> 
> Reinier

Reiner,

Yes, the gimp-print internals do use 16 bit.  But it's a little
different than Photoshop 16 bit.  With PS 8 bit is just the
top (most significant) 8 bits of a 16 bit file.  In gimp-print
the conversion from 8 bit to 16 bit involves a density and
gamma conversion based on paper, ink drop sizes,
print resolution ...    Whether this makes a significant
difference or not, at this point I'm not sure.  I'll  probably
try it and see after working some more with 8 bit version.

Roy

[Digital BW] Re: Gimp-Print + Linux

2003-02-08 by Roy Harrington <roy@harrington.com>

--- In DigitalBlackandWhiteThePrint@yahoogroups.com, "Ernst 
Dinkla" <E.Dinkla@c...> wrote:
> 
> ----- Original Message -----
> From: "rvdryst" <rvdryst@t...>
> To: <DigitalBlackandWhiteThePrint@yahoogroups.com>
> Sent: Saturday, February 08, 2003 6:00 AM
> Subject: Re: [Digital BW] Re: Gimp-Print + Linux
> 
> 
> > ----- Original Message -----
> > From: "rvdryst" <rvdryst@t...>
> > To: <DigitalBlackandWhiteThePrint@yahoogroups.com>
> > Sent: 07 February, 2003 22:29
> > Subject: Re: [Digital BW] Re: Gimp-Print + Linux
> > >
> >
> > > 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.
> > > So in conclusion it looks like it is mostly working except for 
some
> > small
> > > problem.
> > >
> 
>
> Roy,
> 
> There are at least some issues in colour printing if you want to 
use
> PhotoShop to get ICC control with ProfileToProfile and use that 
file in
> Gimp-Print. I asked Robert Krawitz about that workflow and he 
wrote me that
> that still wasn't at the right level. It had more to do with Cups
> if I recall correctly. It is in an archive that I ca't get into it at the
> moment.
> 
> Ernst

Ernst,

I'm not really sure I understand your comment .   But the
quadraster workflow that I've put together basically fits
between CUPS and Gimp-Print.  I haven't modified the code
of either one except to insert the quadraster program into
the middle.

Roy

Re: [Digital BW] Re: Gimp-Print + Linux

2003-02-08 by rvdryst

From: <roy@...>
To: <DigitalBlackandWhiteThePrint@yahoogroups.com>
Show quoted textHide quoted text
Sent: 08 February, 2003 01:28
Subject: [Digital BW] Re: Gimp-Print + Linux


>
> 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.
>
Roy

I would appreciate receiving the headers. I sent you an email early
this morning but it seems to have gotten lost.

My email address is

rvdryst@...

Thanks
Reinier

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.