help-gnu-emacs
[Top][All Lists]
Advanced

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

determining no. of pages for ps-print-buffer


From: Sriram Karra
Subject: determining no. of pages for ps-print-buffer
Date: Mon, 02 Sep 2002 13:24:26 +0530
User-agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2 (i386-debian-linux-gnu)

I like using 2-up print outs as a rule.  But its quite awkward to have
such a setup if the entire buffer is only a single page long.  So, I
want a wrapper to ps-print-buffer such as:

(defun k-pr-bug ()
  (interactive)
  (let ((ps-n-up-printing (if (= xxx 1)
                              1
                             2)))
    (ps-print-buffer)))

What is the variable name I should instead of "xxx" above?

Thanks,
-Sriram.

-- 
All's well that ends.


reply via email to

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