🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.linux.misc
Article #891

Re: Anyone know the CUPS system well?

#891
From: The Natural Philosopher
Date: Fri, 23 Jan 2009 14:56
57 lines
3496 bytes
terryc wrote:
> On Fri, 23 Jan 2009 10:12:39 +0000, The Natural Philosopher wrote:
> 
> 
>> But what is HPJIS, and foomatic, and where does ghostscript come in?
> 
> AFAIK, these are old style stuff for lpr, lprng, etc. If you have cups,
> then you shouldn't need to install these.
> 
> Ghostscript does the ripping, aka converts the print commands
> into code that the printer understands. AFAIK, foomatic provides
> pre and post processing of the input/output
> 

whatevr that means..
> 
>> I suspect my problems are with ghostscript actually,
> 
> Unless it is something bleeding edge, highly nlikely. Ghostscript has been
> around for decades and has never given me trouble with watermarks, etc
> 

well it has to be whatever takes PDFs and turns them into postcript.


>> So I upgraded from
>> the latest stable debian to the bleeding edge testing sources, but it
>> still has an issue (transparent background images in PDFs do not have
>> the transparency respected)..that is something that looks like a couple
>> of days worth at the source code level would fix..but where to first be
>> sure that is the issue, and secondly identify where images are handled
>> in Ghostscript. Its HUGE.
>>
>> Anyone care to point me in the right direction?
> 
> Have you checked that the postscript code being fed into the front end
> actually has the correct Postscript in it. More likely, the application
> printing the pdf isn't creating the postscript properly.
> 

well yes, I have. In that every other PDF renderer actually sees the 
correct output, but cups cant print it.

That goes for both my home brew PDFS generated from code, and exports 
from CorelDraw.


> although pdfs are supposed to be postscript internally. Differing versions
> of postscript?

No. I am almost certain its ghostscript

The correct way to apply a transparency is to flatten the non 
transparent parts down to their pixel values, and then to flatten the 
transparent parts  to whatever is 'behind' them. This is non trivial, 
and my guess is that ghostscript simply doesn't bother, but assumes that 
the background is white, or somesuch.
Technical Details
Message-ID: <1232722601.22282.0@proxy00.news.clara.net>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!npeer03.iad.highwinds-media.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!cyclone1.gnilink.net!gnilink.net!nx01.iad.newshosting.com!newshosting.com!zen.net.uk!demorgan.zen.co.uk!feeder.news.heanet.ie!newsfeed.esat.net!news.clara.net!mephistopheles.news.clara.net!proxy00.news.clara.net
References: <1232705558.29604.0@proxy00.news.clara.net> <4979d5ba$0$5102$c30e37c6@pit-reader.telstra.net>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1103af,6a2553391b83dd8d
X-Google-Thread: 102f53,6a2553391b83dd8d
X-Google-Attributes: gid1103af,gid102f53,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!npeer03.iad.highwinds-media.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!cyclone1.gnilink.net!gnilink.net!nx01.iad.newshosting.com!newshosting.com!zen.net.uk!demorgan.zen.co.uk!feeder.news.heanet.ie!newsfeed.esat.net!news.clara.net!mephistopheles.news.clara.net!proxy00.news.clara.net
Date: Fri, 23 Jan 2009 14:56:43 +0000
From: The Natural Philosopher <a@b.c>
User-Agent: Thunderbird 2.0.0.19 (Macintosh/20081209)
MIME-Version: 1.0
Newsgroups: comp.os.linux.misc,cam.misc
Subject: Re: Anyone know the CUPS system well?
References: <1232705558.29604.0@proxy00.news.clara.net> <4979d5ba$0$5102$c30e37c6@pit-reader.telstra.net>
In-Reply-To: <4979d5ba$0$5102$c30e37c6@pit-reader.telstra.net>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Complaints-To: abuse@clara.net (please include full headers)
X-Trace: 4e52606466406f00a1c0603068cc61ad5948767c0b2a80953fd689014979daa9
NNTP-Posting-Date: Fri, 23 Jan 2009 14:56:41 +0000
Message-ID: <1232722601.22282.0@proxy00.news.clara.net>
Lines: 58