[bug-gs] No spaces allowed in separation names
in /SeparationColorNames and /SeparationOrder |
Nikolai Tasev
nikolai at nand.bg
Wed Jan 4 23:55:24 PST 2006
Ray,
Using the cvn operator resolved the issue. Wouldn't it be better to include
this is in the Ghostscript manual. Some manual for the postscript language
would also be helpful, not everybody is familiar with postscript.
Thanks for the help,
Nikolai
----- Original Message -----
From: "Ray Johnston" <ray.johnston at artifex.com>
To: "Nikolai Tasev" <nikolai at nand.bg>
Cc: <bug-gs at ghostscript.com>
Sent: Thursday, January 05, 2006 1:34 AM
Subject: Re: [bug-gs] No spaces allowed in separation names in
/SeparationColorNames and /SeparationOrder | xefitra
> Nikolai,
>
> The way to create a name with spaces is to use the 'cvn' operator
> on a string. For example,
>
> << /SeparationOrder [ /Black (PANTONE 347 C) cvn ] >> setpagedevice
>
> Regards,
> Ray
> ____________________________________________________________________
>
> Nikolai Tasev wrote:
> > I am using 8.53 version of Ghostscript and trying to get separate
> > grayscale separtions for every process and spot color in a PDF file. I
> > am using the tiffsep device.
> > The problem is that the separation names include spaces in them for
> > example "PANTONE 347 C". But colors are specified to Ghostscript using
> > name elements, which don't allow for separator characters such as a
space:
> > GSCommand: -c "<< /SeparationOrder [ /Black /PANTONE 347 C ] >>
> > setpagedevice" -f.
> > gives an error
> > I tried replacing space with #hh (hex code) and /ooo (octal) as
> > specified in the PDF standard but obviously such conversion is not
> > supported by ghostscript.
> > The automatic detection for spor colors works correctly and finds the
> > colors including the spaces in the names, but I can't tell ghostscript
> > which colors to render which is crucial if the pdf has more than 8
> > colors and multiple passes are needed.
> >
> > Is there some workaround for this issue which is not documented? Is
> > there a particular reason for which name elements are used and not
> > strings which don't have such a problem with separators.
> >
> > Thanks for any help,
> > Nikolai Tasev
> >
> > PS Reposting this message, I read in sourceforge forum that [xefitra]
> > has to be included in the subject. Why is this not included in the
> > welcome message when registering?
> >
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > bug-gs mailing list
> > bug-gs at ghostscript.com
> > http://www.ghostscript.com/mailman/listinfo/bug-gs
More information about the bug-gs
mailing list