D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] printing using lpr

 

On Tue, May 18, 2010 at 7:52 AM, Rob Beard <rob@xxxxxxxxxxxxx> wrote:
> On 18/05/10 07:38, Roland Tarver wrote:
>
>> Hi Paul :-)
>>
>> Just guesses....
>>
>> 1. When you initially create/export the pdf can you create it in reverse
>> order?
>
> I was just thinking the same thing.
>
>> 2. Looking at the man page for lp (not lpr) there is an -P option used
>> to specify a page range. If your really lucky specifying a backwards
>> range may reverse the page order for you? As I said this is just I
>> guess! I have not tried it because I don't have access to a printer
>> currently.
>>
>> lp -P 16-1 printInReverse.pdf
>
> Other option I guess is run the command 16 times, one command for each page
> from 16 backwards (not that much of a hassle really for only 16 pages).
>
>> Aside: According to my man pages for lpr and lp they are copyright to
>> Apple Inc. which was a surprize!
>>
>
> The CUPS printing system is developed by Apple and AFAIK lpr is part of
> Cups.
>
> From the CUPs web site - http://www.cups.org/
>
> "CUPS is the standards-based, open source printing system developed by Apple
> Inc. for Mac OS® X and other UNIX®-like operating systems."
>
> I gather it wasn't originally started by Apple, but they bought the project.
>  I guess they must use it in OSX so no doubt it's released under a BSD type
> license.
>
> Rob

Thanks for the info on CUPS Rob and Juanjo. Is CUPS typically used by
most linux users? AFAIK it was the default package with Ubuntu.

have a good day
Best wishes
Roly :-)

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html