From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Earl Newsgroups: gmane.emacs.help Subject: Re: Printing Prolog with the standard GNU Emacs in the Windows 7 Date: Mon, 07 Mar 2011 16:54:46 -0700 Organization: XMission http://xmission.com/ Message-ID: <87ei6iv649.fsf@notengoamigos.org> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1299544845 8980 80.91.229.12 (8 Mar 2011 00:40:45 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 8 Mar 2011 00:40:45 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Mar 08 01:40:39 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Pwkyc-0001G6-St for geh-help-gnu-emacs@m.gmane.org; Tue, 08 Mar 2011 01:40:39 +0100 Original-Received: from localhost ([127.0.0.1]:53358 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pwkyc-0001gV-Ey for geh-help-gnu-emacs@m.gmane.org; Mon, 07 Mar 2011 19:40:38 -0500 Original-Path: usenet.stanford.edu!bloom-beacon.mit.edu!newsswitch.lcs.mit.edu!xmission!nnrp.xmission!not-for-mail Original-Newsgroups: gnu.emacs.help,comp.lang.prolog Original-Lines: 36 Original-NNTP-Posting-Host: 67.214.244.122 Original-X-Trace: news.xmission.com 1299542077 9650 67.214.244.122 (7 Mar 2011 23:54:37 GMT) Original-X-Complaints-To: abuse@xmission.com Original-NNTP-Posting-Date: Mon, 7 Mar 2011 23:54:37 +0000 (UTC) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAAAAAByaaZbAAAABGdBTUEAALGPC/xhBQAAAAFz UkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlw SFlzAAASmwAAEpsB4JJZDAAAAAl2cEFnAAAAMAAAADAAzu6MVwAAAaFJREFUSMe1VtuxxSAIzIz9 2Iyl2Aj1bBX0k5+LrwjGjJyPy2ROwtGNBJbVCwwwy1UNoOL3f+SBxkj15Lr4NsboN24DWMZxYQNA TjGmjC1gswJiqBbpDeANYMwXBFyAFB5L7ADMBcoSDgAFBSDHR2tA8ABMSB4AawB76pAnILsKx2lm 1VfpgUi3kxrySylRHdmQj40Jva2/jl8EY3Twv/phhsC9nIQR0hnAOUptYsL3RxvAk+YIH2AWsvTH GYBgKn8GaPYm5jNANaCQ8WfAzyH9x0crFfGl9X4QVdg8gEqN2KjBHi6V/iBq6iyAxTqd+Yvupwai VwM9LZkxQ6otihmS6H+mHlK5URwi0UQgWxHoxS5JagBSed7IzJRCallS2pg2QsamcGUFNSHgLZUv augJIUualv1Bv6+yVat1oeMq92s/mBBWQJH7dQX7CnpvWWs/4CazpHlB2RR1BFSzNGdIaTbbLil8 U76BKKU0GztapXP3C78bNYQ6MTQybY8OkIaITf9HPzyHkXE4YXs4mf5VDz+jAepj3RTQ3Ubv0SPy 9AcCrfKh0TBgvgAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAxMS0wMS0wM1QxMDo1MDo1NC0wNzowMIgC s0IAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMTAtMDQtMDVUMTM6MjQ6NDgtMDY6MDCtwF/YAAAAAElF TkSuQmCC User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:6M8DUyWVmdaL8F9wrY8gz5S9jRA= Original-Xref: usenet.stanford.edu gnu.emacs.help:185712 comp.lang.prolog:44234 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:79866 Archived-At: On Mon, Mar 07 2011, Antti J Ylikoski wrote: > I would like to use the GNU Emacs Prolog mode: > > M-x prolog-mode > > for developing Prolog programs. However, this activity necessitates > the capability to print buffers and files in the Windows 7 environment > with the GNU Emacs, to a standard printer such as the Canon Pixma > MP560 which I just happen to own -- preferably in Prolog mode colours. > > So far I have not succeeded in printing the contents of buffers, or > files, with the standard GNU Emacs which I downloaded from the > venerable GNU site. > > Could somebody help? Even if this actually turns out to be a > so-called simpleminded question. > > yours sincerely, Mr Antti J Ylikoski > Helsinki, Finland, the E.U. > Aalto University, HUT > http://www.tkk.fi/~ajy/ I have no idea how you print in a Windows environment, but, assuming that you don't do a whole lot of printing you might want to take a look at M-x htmlize-buffer. This generates an html representation of your buffer including CSS for colors etc. You can then save this HTML file somewhere and open it in Firefox (or whatever browser you use) and print from there. You might also try and take a look at: http://www.emacswiki.org/cgi-bin/wiki/PrintingFromEmacs I hope that's helpful. Jason