Date: Fri, 30 Jan 1998 18:26:37 -0800 (PST) From: patl@phoenix.volant.org To: Doug White <dwhite@resnet.uoregon.edu> Cc: Burton Sampley <bsampley@slip.net>, questions@FreeBSD.ORG Subject: Re: [X]emacs and apsfilter Message-ID: <ML-3.3.886213597.2088.patl@asimov> In-Reply-To: <Pine.BSF.3.96.980130172351.2815Q-100000@gdi.uoregon.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
> > 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. Sounds like you want to insert FormFeed characters. That's a ^F Control-F). To insert a literal character in emacs, first type ^Q (Control Q). The C++ compiler should ignore the FormFeeds, so you don't need to worry about wrapping them in comments. In fact, they may need to appear at the beginning of the line, or on a line by themselves. (This depends a lot on the printer filters and/or the printer itself. > 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). No, Ctrl-F is an SO character, and Ctrl-P is normally bound to previous-line. -Pat
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ML-3.3.886213597.2088.patl>
