unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: How to print only one page of a file?
Date: Tue, 22 Feb 2005 12:38:06 -0700	[thread overview]
Message-ID: <381g12F5kht5qU1@individual.net> (raw)
In-Reply-To: <mailman.872.1108988670.32256.help-gnu-emacs@gnu.org>

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	other threads:[~2005-02-22 19:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.872.1108988670.32256.help-gnu-emacs@gnu.org>
2005-02-22 19:38 ` Kevin Rodgers [this message]
     [not found] <mailman.2114.1108406018.2841.help-gnu-emacs@gnu.org>
2005-02-14 18:46 ` How to print only one page of a file? Kevin Rodgers
2005-02-21 11:55   ` Rodolfo Medina
2005-02-14 18:19 romeomedina
2005-02-14 18:31 ` Drew Adams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=381g12F5kht5qU1@individual.net \
    --to=ihs_4664@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).