a2ps
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Printing booklets. Please help.


From: P. Nagaraj,Dept. of HEP,215 2971 x2610,510 0423
Subject: Printing booklets. Please help.
Date: Thu, 08 Aug 2002 17:01:27 +0530
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20011126 Netscape6/6.2.1

Hello!

I am trying to print on A4 sheets such that they can be folded in the
middle to make A5 size booklet.  I looked into mail archives and found
what I needed.

My ~/.a2ps/a2psrc  contains,
-----------------------------
# Default Printer, and default options
 DefaultPrinter: | lpr -P lj5
Options: --medium=A4
Options: -s2 --setpagedevice=Tumble:true

# A5 size booklet
Printer: booklet | \
#?o! psbook | psnup -2 | pstumble | lpr -Plj5 \
! echo "Cant be used with more than two pages per sheet." >&2 ; exit 1!

UserOption: booklet -1Pbooklet
----------------------------------


And here is a screen output of a2ps:
    [pn ~] a2ps -=booklet test.txt
    [test.txt (plain): 4 pages on 2 sheets]
    [4] [1] [2] [3] Wrote 4 pages, 20524 bytes
    [1] [2] Wrote 2 pages, 23494 bytes
    [Total: 4 pages on 2 sheets] sent to the printer `booklet'
------------------------------

But there is a problem. pages 2 & 3 are swapped and upside down.
I also tried these two commands. With or without pstumble, the outputs
were identical, that is pages 2 & 3   rotated 180 degrees.

[pn ~] psbook ~/test.ps | psnup -2 | pstumble | lpr
{pn ~] psbook ~/test.ps | psnup -2 | lpr

I tried sending the outputs into a file instead of lpr and checked with
gv - both sides were displayed right side up. Only the hard copy has the
problem. I use RHLinux 7.1 (a2ps v4.13) and a duplex Laserjet printer.

I hope someone helps me out!

Nagaraj

--

+--------------------------------------+-------------------------------------+
P. Nagaraj | Phone, office: 91-22-215 2971 Dept of High Energy Physics | Fax, office: 91-22-215 2110 Tata Institute of Fundamental Research | Phone, home : 91-22-216 3936 Mumbai - 400 005, INDIA | ** Email ** : address@hidden
+--------------------------------------+-------------------------------------+






reply via email to

[Prev in Thread] Current Thread [Next in Thread]