From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mark Shroyer Newsgroups: gmane.emacs.help Subject: Re: Printing Problems Date: Sun, 14 Nov 2010 15:39:52 -0500 Message-ID: References: <000001cb4c76$5bce26c0$136a7440$@net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1289768472 1301 80.91.229.12 (14 Nov 2010 21:01:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 14 Nov 2010 21:01:12 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Nov 14 22:01:07 2010 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 1PHjhC-0001Mf-Sm for geh-help-gnu-emacs@m.gmane.org; Sun, 14 Nov 2010 22:01:07 +0100 Original-Received: from localhost ([127.0.0.1]:49331 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PHjhC-0005ze-Ad for geh-help-gnu-emacs@m.gmane.org; Sun, 14 Nov 2010 16:01:06 -0500 Original-Received: from [140.186.70.92] (port=53319 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PHjgL-0005x9-In for help-gnu-emacs@gnu.org; Sun, 14 Nov 2010 16:00:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PHjgG-000669-4y for help-gnu-emacs@gnu.org; Sun, 14 Nov 2010 16:00:13 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:34242) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PHjgF-00065B-UF for help-gnu-emacs@gnu.org; Sun, 14 Nov 2010 16:00:08 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PHjgC-0000mH-Vn for help-gnu-emacs@gnu.org; Sun, 14 Nov 2010 22:00:04 +0100 Original-Received: from rain.gmane.org ([80.91.229.7]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 14 Nov 2010 22:00:04 +0100 Original-Received: from list+gmane by rain.gmane.org with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 14 Nov 2010 22:00:04 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 39 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: rain.gmane.org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 In-Reply-To: <000001cb4c76$5bce26c0$136a7440$@net> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:75381 Archived-At: On 9/4/2010 5:15 PM, John Burns wrote: > I need help in getting my version of emacs - 22.3.1, under Windows 7, > to print to my Samsung laser printer which is ported to USB001. > > Can anybody who has solved a problem utilizing a USB port or anyone > in general who can explain what I need to do in layman’s terms to get > the printer working, please respond to this email and help me out? I > have read the documentation but it just isn't clear to me. I hit > the print button at the top of the emacs page, but nothing happens. > The mini-buffer tells me that the printing has been done. Do the following: 1) Download and install GPL Ghostscript for Windows here: http://pages.cs.wisc.edu/~ghost/ 2) Configure Emacs to use Ghostscript for PostScript printing: > (setq > ps-lpr-command "C:/Program Files/gs/gs8.64/bin/gswin32c.exe" > ps-lpr-switches '("-q" "-dNOPAUSE" "-dBATCH" "-sDEVICE=mswinpr2") > ps-printer-name t) ...adjusting the path name for the exact version of Ghostscript you've installed, of course. Note that I'm using an older version above; I assume it'll work the same with Ghostscript 9.00, but I haven't tried it myself. 8.64 is still available for download if in doubt. Then you just need to use the ps-print-* commands instead of the print-* commands, for instance M-x ps-print-buffer. When you do, a Windows print dialog should pop up, which you can use to select your printer and modify print settings just like in most other Windows applications. I hope this helps, -- Mark Shroyer http://markshroyer.com/contact/