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

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

Re: How to print only one page of a file?


From: Kevin Rodgers
Subject: Re: How to print only one page of a file?
Date: Tue, 22 Feb 2005 12:38:06 -0700
User-agent: Mozilla Thunderbird 0.9 (X11/20041105)

Rodolfo Medina wrote:
> 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.
>
> 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?

narrow-to-page has nothing to do with what is displayed; see the
page-delimiter variable.

> An alternative way is to perform a posctscript print preview
> (from the file menu) and then print the desired page from the
> .ps file.

Well, there you go.

--
Kevin Rodgers

reply via email to

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