[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to print only one page of a file?
From: |
Rodolfo Medina |
Subject: |
Re: How to print only one page of a file? |
Date: |
Mon, 21 Feb 2005 12:55:46 +0100 |
Rodolfo Medina wrote:
> Excuse such a basic question:
> is it possible, and how?, when printing a file,
> to tell Emacs to print just a desired page?
> I searched all over the Gnu Emacs Manual but didn't find any answer.
Drew Adams wrote:
> Use library printing.el for the most convenient interface to printing in
> Emacs. You can select a page as the region, then print the region
(selected
> text). The library is available in Emacs 21 or here:
> http://www.cpqd.com.br/~vinicius/emacs/#printing.el.
Thanks, Drew, I'll have a look at it in the next days.
Kevin Rodgers wrote:
> C-x n p ; narrow-to-page
> C-x h ; mark-whole-buffer
> M-x lpr-buffer ; or print-buffer, ps-print-buffer,
> ps-print-buffer-with-faces
> C-x n w ; widen
Thanks, Kevin:
the only problem is that in the buffer I can't scroll
the page I want to print because when I scroll point moves
and so the page itself goes on changing. Any hint about this?
An alternative way is to perform a posctscript print preview
(from the file menu) and then print the desired page from the
.ps file.
But now one more printing problem:
I'll start a new topic for it.
Thanks,
cheers,
Rodolfo