[cups.general] compression=gzip and RAW Print Queues (ipp)

Helge Blischke h.blischke at acm.org
Fri Sep 30 09:00:11 PDT 2011


Michael Sweet wrote:

> Hmm, try using a simple interface script with the queue to force
> decompression, e.g.:
> 
>     "printer.sh"
>     #!/bin/sh
>     cat $6
> 
> Then run:
> 
>     lpadmin -p printer -i printer.sh
> 
> On Sep 30, 2011, at 5:30 AM, Andrew Powell wrote:
> 
>> Would there be a way to modify the PPD file so it would get decompressed
>> and sent to the printer without any further processing?
>> 
>> If the printer was setup as a Generic Text-Only printer, what would need
>> to change in the /etc/cups/ppd/jaxshop.ppd file so no post-processing
>> would occur?  Could something like this even work?
>> 
>> On 9/29/11 2:53 PM, Andy Powell wrote:
>>> How do I get CUPS to decompress compressed data for Raw printers?
>>> 
>>> In the main office, I have
>>> ipp://remote.mydomain.com:631/printers/jaxshop?compression=gzip which is
>>> just a raw print queue.
>>> 
>>> And in the remote office, I have socket://jaxshop.mydomain.com:9100
>>> 
>>> When set to Raw, the compressed data is sent directly to the printer (it
>>> is not decompressed) and comes out as garbage.  If it is set to the
>>> printer definition, (e.g. HP LaserJet) it decompresses but this can't be
>>> done in some cases (e.g. HP/GL and Calcomp plotters).
>>> 
>>> Anyone know of a fix/workaround?
>> _______________________________________________
>> cups mailing list
>> cups at easysw.com
>> http://lists.easysw.com/mailman/listinfo/cups
> 
> __________________________________________________
> Michael Sweet, Senior Printing System Engineer, PWG Chair

Well, that's the better way round!

Helge





More information about the cups mailing list