From owner-freebsd-questions Fri Jan 30 17:25:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA13536 for questions-outgoing; Fri, 30 Jan 1998 17:25:03 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA13495 for ; Fri, 30 Jan 1998 17:24:53 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.7/8.8.8) with SMTP id RAA02999; Fri, 30 Jan 1998 17:24:37 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Date: Fri, 30 Jan 1998 17:24:37 -0800 (PST) From: Doug White Reply-To: Doug White To: Burton Sampley cc: questions@FreeBSD.ORG Subject: Re: [X]emacs and apsfilter In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG X-To-Unsubscribe: mail to majordomo@FreeBSD.org "unsubscribe questions" On Fri, 30 Jan 1998, Burton Sampley wrote: > -----BEGIN PGP SIGNED MESSAGE----- > > Greetings, > > Does anybody know what code or key sequence is needed to get either Xemacs > or Emacs to force end of page? > > Here's the situation: > > I need to turn in a hardcopy version of my C++ code for my class. My > professor requires all functions must be printed on a separate page. I > like the headers with the file name and page numbers obtained by ps > printing from either version of Emacs, however I can't figure out how to > force the end of page at the end of a function. My only other alternative > is to edit the code in StarOffice. Your CS teacher must be perverted to want to waste that kind of paper. :-) Try inserting a Control-F. I think you can do this by doing C-p C-f (C-p to do a literal). Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major