[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ubuntu-users
Subject:    Printing two files on one page via CLI
From:       jlblom () neuroweave ! nl (Joep L !  Blom)
Date:       2008-12-22 23:07:29
Message-ID: 49501DB1.4080805 () neuroweave ! nl
[Download RAW message or body]

Brian McKee schreef:
> On Mon, Dec 22, 2008 at 2:47 PM, Dotan Cohen <dotancohen at gmail.com> wrote:
>> I have two files (1.odt and 2.html) that I need printed weekly on a
>> single sheet of paper.
> 
> short answer...  lpr -o number-up=2 filename
> 
> longer answer... http://www.cups.org/documentation.php/options.html#NUMBERUP
> 
> (they call it two-up printing or n-up printing - that'll get you
> better Google results)
> 
> the catch....    The only hitch I see here is that you are mixing an
> odt and an html document.  I think you'll need them in a common format
> before you can get them on one page.
> 
> So, you could print both a pdf file, then two up print the pdf, or
> convert both to plain text and print that, or...
> which way is best probably depends on how well you can script OO and
> the contents of those files.
> 
> HTH
> 
> Brian
> 
A program that can do what you want is a2ps but beware, it has a fairly 
steep learning curve.
Joep




[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic