Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.acorn.programmer > #6147

Odd results from GhostScript

From "Rob Hemmings (News)" <rhnews@dsl.pipex.com>
Newsgroups comp.sys.acorn.programmer
Subject Odd results from GhostScript
Date 2020-06-10 14:50 +0100
Organization None
Message-ID <587e72e8f9rhnews@dsl.pipex.com> (permalink)

Show all headers | View raw


I've been playing with GhostScript (version 9.26) on RISC OS as I was
intending to write a RISC OS front end to calculate printing costs and I
need to use GhostScript to give an estimation of the amount of each
colour of ink needed to print a (pdf) file.  However, I'm getting some
strange results and would appreciate any ideas or suggestions.

I'm using the GhostScript device of ink_cov to do the calculation.  An
actual command line that demonstrates the issue is:

gs -o - -sDEVICE=ink_cov inputfile

(where I replace "inputfile" with the name of the file I am trying to
analyse)

I'm using version 9.2 of GhostScript on Windows and that is producing
consistent results with any type of pdf file.  On RISC OS I get a
believable result if I use a pdf file that has been created on Windows
with colour in CMYK format although a little oddly the results are
slightly different from those produced on Windows with the same file
which I would have expected to be the same.

However, much more of a problem on RISC OS is that with a pdf file that
has not been created in CMYK colour it reports exactly the same
(incorrect) figure for each ink instead of giving the correct
proportions.  Running GhostScript on the same file on Windows gives a
correct result with the usage of each ink being different.  Can anyone
suggest what might be going on?

-- 
------------------------------------------------------------- 
 Rob Hemmings                        Southport       
 
 rhnews@dsl.pipex.com                  

Back to comp.sys.acorn.programmer | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Odd results from GhostScript "Rob Hemmings (News)" <rhnews@dsl.pipex.com> - 2020-06-10 14:50 +0100
  Re: Odd results from GhostScript Theo <theom+news@chiark.greenend.org.uk> - 2020-06-10 17:57 +0100
    Re: Odd results from GhostScript "Rob Hemmings (News)" <rhnews@dsl.pipex.com> - 2020-06-10 19:04 +0100

csiph-web