Printing two files on one page via CLI

Dotan Cohen dotancohen at gmail.com
Tue Dec 23 15:54:54 UTC 2008


2008/12/22 Brian McKee <brian.mckee at gmail.com>:
> 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
>

Thanks, but...

> longer answer... http://www.cups.org/documentation.php/options.html#NUMBERUP
>

_this_ is what I was looking for! Thank you!

> (they call it two-up printing or n-up printing - that'll get you
> better Google results)
>

I knew that I was missing the keyword!

> 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.
>

Thank much I can probably figure out how to script. Thanks!

-- 
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il

א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه‍-و-ي
А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-Р-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-Э-Ю-Я
а-б-в-г-д-е-ё-ж-з-и-й-к-л-м-н-о-п-р-с-т-у-ф-х-ц-ч-ш-щ-ъ-ы-ь-э-ю-я
ä-ö-ü-ß-Ä-Ö-Ü


More information about the ubuntu-users mailing list