[cups] cups Digest, Vol 5, Issue 10

Helge Blischke HelgeBlischke at web.de
Fri Apr 18 06:49:11 PDT 2014


Both filters are provided by openprinting.org and open source, so you  
don't run
into licensing issues when using these filters aside of the standard  
packages
of your linux distributor.

Helge

Am 17.04.2014 um 16:23 schrieb vivek kar:

> Hi Helge,
>
> Thanks for your information. I looked into the issue w.r.t filters and
> found the following.
> 1) In debian based system, the same cups version is using the
> following two filters to print a pdf file. It is printing fine.
>
>   /usr/lib/cups/filter/pdftopdf
>   /usr/lib/cups/filter/cpdftocps
> .
>
> 2) In Linux based system like RHEL6_x64, the following filter is being
> used only.
>
>     /usr/lib/cups/filter/pdftops
>
>    This filter does not support orientation request. Hence we are
> facing the issue.
>
> To make the Linux system behave same as Debian w.r.t filters, we did
> the following experiment and found that both behaves correctly. The
> following are done in RHEL6 x64 system which has cups 1.5.4.
>
> 1)  Placed the attached pdftopdf and cpdftocps filters in
> /usr/lib/cups/filter/ directory.
> 2)  Placed the attached cpdftocps.convs and pdftopdf.convs in folder
> /usr/share/cups/mime.
> 3)  chmod -fR 755 /usr/lib/cups/filter/pdftopdf
>     chmod -fR 755 /usr/lib/cups/filter/cpdftocps
> 4)  Restart the cups service [ /etc/init.d/cups restart ].
> 5) Issues the lp -d <printQueue> -o orientation-requested=6
> <fileName.pdf> and  lp -d <printQueue>  <fileName.pdf> .
>
>
> This time it's printing ok.
>
> But I wanted to know if there is any licensing issue with this
> approach w.r.t the pdftopdf , etc filters.
>
> Regards,
> -Vivek
>
>
>
> On Sun, Apr 13, 2014 at 12:30 AM,  <cups-request at cups.org> wrote:
>> Send cups mailing list submissions to
>>        cups at cups.org
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>>        https://www.cups.org/mailman/listinfo/cups
>> or, via email, send a message with subject or body 'help' to
>>        cups-request at cups.org
>>
>> You can reach the person managing the list at
>>        cups-owner at cups.org
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of cups digest..."
>>
>>
>> Today's Topics:
>>
>>   1. Re: lp's "orientation-requested" issue | RHEL 6 (Helge Blischke)
>>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Fri, 11 Apr 2014 21:42:25 +0200
>> From: Helge Blischke <HelgeBlischke at web.de>
>> To: "The CUPS user discussion list." <cups at cups.org>
>> Subject: Re: [cups] lp's "orientation-requested" issue | RHEL 6
>> Message-ID: <77E8C091-7EDF-4C3E-9E21-695FD322B0D6 at web.de>
>> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
>>
>> Check what CUPS filters your RHEL6 system uses. If it uses the pdf-
>> workflow filters
>> from openprinting, i. e. pdftopdf (instead of pstops) by default,
>> check if it is based on
>> libqpdf or not. If yes, this filter does not honour the orientation-
>> requested option
>> (only landscape).
>> In this case, I'd suggest you file a bug at openprinting.org.
>>
>> Helge
>>
>> Am 11.04.2014 um 20:20 schrieb vivek kar:
>>
>>> Hi,
>>>
>>> I was trying to use lp's "-o orientation-requested=6" as below, I
>>> could see there is no effect on the orientation requested in RHEL 6
>>> for PDF documents. But the command works for text documents.
>>>
>>> lp -d myqueue -o orientation-requested=6 some.pdf
>>>
>>> The above command does not change orientation of PDF document in  
>>> CUPS
>>> 1.3.7 (RHEL 5.9) CUPS 1.4.2 (RHEL 6). However the same command  
>>> CHANGES
>>> the orientation in CUPS 1.4.3 (Ubuntu 10.04)
>>>
>>> So, my assumption was that this might be working in higher CUPS
>>> versions. So, I have downloaded the cups-1.4.8 source and compiled  
>>> and
>>> build for RHEL6 successfully. I installed CUPS-1.4.8 but still the
>>> command did not work in RHEL 6.
>>>
>>> Hence, my questions are,
>>>
>>> 1) Does "orientation-requested" option only works in UBUNTU or  
>>> debian
>>> based systems alone?
>>>
>>> 2) In RHEL 6 system, do we have to change some configuration so that
>>> "orientation-requested" option works?
>>>
>>> Kindly suggest.
>>>
>>> Regards,
>>> -Vivek
>>> _______________________________________________
>>> cups mailing list
>>> cups at cups.org
>>> https://www.cups.org/mailman/listinfo/cups
>>
>>
>>
>> ------------------------------
>>
>> _______________________________________________
>> cups mailing list
>> cups at cups.org
>> https://www.cups.org/mailman/listinfo/cups
>>
>>
>> End of cups Digest, Vol 5, Issue 10
>> ***********************************
> _______________________________________________
> cups mailing list
> cups at cups.org
> https://www.cups.org/mailman/listinfo/cups




More information about the cups mailing list