[cups.development] How/where can I obtain a filter for cupsto produce PWG raster file?
Roy Samuel
roy.samuel at celstream.com
Tue Mar 22 23:02:16 PDT 2011
Thanks a tonne for clarifying. Appreciate it!
From: cups-dev-bounces at easysw.com [mailto:cups-dev-bounces at easysw.com]
On Behalf Of Michael Sweet
Sent: Wednesday, March 23, 2011 10:58 AM
To: Mirror of cups.development Newsgroup
Subject: Re: [cups.development] How/where can I obtain a filter for
cupstoproduce PWG raster file?
On Mar 22, 2011, at 8:09 PM, Roy Samuel wrote:
Thanks Michael for the reply :) My goal is to produce a PWG
raster file first, and then to write code which would decode the PWG
raster file to plain RGB (uncompressed). I understand that 'Google cloud
print' has chosen PWG raster as their PDL, and printers would come with
support for PWG raster baked in.
--1-- Is the code for decoding PWG raster file to RGB data
already existing in the public domain? If so, would you direct me to it?
There is no "public domain" code that I am aware of. The CUPS code is
provided under the terms of the LGPL2.
--2-- Also, is there a location where I can download a sample PWG
raster file?
Not that I am aware of. Ghostscript, cgpdftoraster (Mac OS X), and the
imagetoraster filter included with CUPS are all capable of generating
CUPS Raster, from which you can derive PWG Raster (which is big-endian
CUPS Raster).
I'm heading to compile & build the svn version of cups 1.5, with the
code modifications you have pointed out.
Thanks & Regards,
-Roy.
From: Michael Sweet [mailto:msweet at apple.com]
Sent: Tuesday, March 22, 2011 10:08 PM
To: Mirror of cups.development Newsgroup
Subject: Re: [cups.development] How/where can I obtain a filter for
cupsto produce PWG raster file?
[Background for those reading along: PWG Raster is a subset of CUPS
Raster that is big-endian word order]
On Mar 22, 2011, at 3:29 AM, Roy Samuel wrote:
Hi,
I have installed the latest stable version of cups, 1.4.6 on my
Ubuntu (10.10) machine.
I would like to be able to produce a PWG raster file written on
to disk. Is the PWG raster a filter that cups would be using? If so,
where can I get to use it?
CUPS 1.4.x does not support writing of PWG Raster data. Support was
added in CUPS 1.5.x and can be chosen by using the CUPS_RASTER_WRITE_PWG
value when calling cupsRasterOpen.
CUPS 1.2.x and later support reading of PWG Raster data and will
automatically handle any byte swapping that is needed.
Would you guide me in how this can be done? Also, if you can
send me a sample PWG raster file (link to it), it would be of great
help.
Any help would be appreciated. Perhaps some links to relevant
information?
For the current 1.5.x snapshot:
http://www.cups.org/software.php
For the current PWG Raster specification:
http://www.pwg.org/ipp
________________________________________________________________________
Michael Sweet, Senior Printing System Engineer, PWG Chair
________________________________________________________________________
______
DISCLAIMER: This electronic message and any attachments to this
electronic
message is intended for the exclusive use of the addressee(s) named
herein
and may contain legally privileged and confidential information. It is
the
property of Celstream Technologies Pvt Limited. If you are not the
intended
recipient, you are hereby strictly notified not to copy, forward,
distribute
or use this message or any attachments thereto. If you have received
this
message in error, please delete it and all copies thereof, from your
system
and notify the sender at Celstream Technologies or
administrator at celstream.com immediately.
________________________________________________________________________
______
_______________________________________________
cups-dev mailing list
cups-dev at easysw.com
http://lists.easysw.com/mailman/listinfo/cups-dev
__________________________________________________
Michael Sweet, Senior Printing System Engineer, PWG Chair
______________________________________________________________________________
DISCLAIMER: This electronic message and any attachments to this electronic
message is intended for the exclusive use of the addressee(s) named herein
and may contain legally privileged and confidential information. It is the
property of Celstream Technologies Pvt Limited. If you are not the intended
recipient, you are hereby strictly notified not to copy, forward, distribute
or use this message or any attachments thereto. If you have received this
message in error, please delete it and all copies thereof, from your system
and notify the sender at Celstream Technologies or
administrator at celstream.com immediately.
______________________________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cups.org/pipermail/cups-devel/attachments/20110322/39da99b3/attachment.html>
More information about the cups-devel
mailing list