From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: printing from w32 emacs Date: Tue, 08 Nov 2005 06:45:07 +0200 Message-ID: References: NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1131425145 21365 80.91.229.2 (8 Nov 2005 04:45:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 8 Nov 2005 04:45:45 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Nov 08 05:45:42 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EZLMG-0000K6-MW for geh-help-gnu-emacs@m.gmane.org; Tue, 08 Nov 2005 05:45:20 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EZLMG-0006ew-4K for geh-help-gnu-emacs@m.gmane.org; Mon, 07 Nov 2005 23:45:20 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EZLM7-0006cl-Ga for help-gnu-emacs@gnu.org; Mon, 07 Nov 2005 23:45:11 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EZLM5-0006ay-Sa for help-gnu-emacs@gnu.org; Mon, 07 Nov 2005 23:45:11 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EZLM5-0006ak-NU for help-gnu-emacs@gnu.org; Mon, 07 Nov 2005 23:45:09 -0500 Original-Received: from [192.114.186.66] (helo=romy.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EZLM5-0006k4-Qh for help-gnu-emacs@gnu.org; Mon, 07 Nov 2005 23:45:10 -0500 Original-Received: from HOME-C4E4A596F7 (IGLD-80-230-47-119.inter.net.il [80.230.47.119]) by romy.inter.net.il (MOS 3.5.8-GR) with ESMTP id CXQ44646 (AUTH halo1); Tue, 8 Nov 2005 06:45:07 +0200 (IST) Original-To: help-gnu-emacs@gnu.org In-reply-to: (ecinmn@peoplepc.com) 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:30900 Archived-At: > From: "B. T. Raven" > Date: Tue, 08 Nov 2005 01:11:07 GMT > > Thanks Lennart and Eli. Eli, yes I did read it, more than once. I think > I even understood everything except the part about printing on a > network. I left 'lpr-command at "" (null string). I tried PRN (and > suffixed with :), LPT1, LPT2, LPT3. Printer light blinks once but > nothing else happens. Does it blink no matter which port name you use? Or just for some specific port? If the latter, which port causes the blinking? You can cause the printer to capture a specific port in the "Ports" tab of the printer settings (Start->Settings->Printers and Faxes, then right-click on the printer name and select Properties). Failing that, there's a nice program called PrFile32 (look for it on the net). You can set it up to be your lpr replacement with the following settings: (setq lpr-command "C:/Program Files/PrintFile/prfile32.exe") (setq lpr-switches '("/q")) (If your printer supports Postscript, you can add 2 similar settings for ps-print.) > (setq ps-lpr-command "C:\\Program Files\\Ghostgum\\gsview\\gsprint.exe") > (setq ps-printer-name t) > > I can print ordinary files with this setup but if the files contain any > characters outside of the Latin-1 range then a popup dialogue appears > with: "Font for some characters not found..." when I run Postscript > print buffer. That's a different problem: you need to install BDF fonts and set up ps-print to use them. See the large commentary in the file ps-mule.el for more details.