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 windows XP Date: Fri, 21 Jul 2006 18:23:07 +0300 Message-ID: References: <20060721113840.35604.qmail@web31309.mail.mud.yahoo.com> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1153495448 11502 80.91.229.2 (21 Jul 2006 15:24:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 21 Jul 2006 15:24:08 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jul 21 17:24:05 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1G3wqa-0008A0-Nz for geh-help-gnu-emacs@m.gmane.org; Fri, 21 Jul 2006 17:23:25 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G3wqa-0008J2-3N for geh-help-gnu-emacs@m.gmane.org; Fri, 21 Jul 2006 11:23:24 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1G3wqP-0008Io-0h for help-gnu-emacs@gnu.org; Fri, 21 Jul 2006 11:23:13 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1G3wqM-0008IM-GS for help-gnu-emacs@gnu.org; Fri, 21 Jul 2006 11:23:12 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G3wqM-0008II-D9 for help-gnu-emacs@gnu.org; Fri, 21 Jul 2006 11:23:10 -0400 Original-Received: from [192.114.186.20] (helo=nitzan.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.52) id 1G3wqn-00008B-Bk for help-gnu-emacs@gnu.org; Fri, 21 Jul 2006 11:23:37 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-80-230-200-39.inter.net.il [80.230.200.39]) by nitzan.inter.net.il (MOS 3.7.3-GA) with ESMTP id EFR44068 (AUTH halo1); Fri, 21 Jul 2006 18:23:07 +0300 (IDT) Original-To: help-gnu-emacs@gnu.org In-reply-to: <20060721113840.35604.qmail@web31309.mail.mud.yahoo.com> (message from minesh varmas on Fri, 21 Jul 2006 04:38:40 -0700 (PDT)) 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:36145 Archived-At: > Date: Fri, 21 Jul 2006 04:38:40 -0700 (PDT) > From: minesh varmas > > ;;printer > (setq printer-name "//alex/HPLaserJ" > > it prints the java file, but without the font used in > emacs. there are no margins left, no page numbers, > etc. > how can i specify these options? What command(s) did you use? If you used lpr-buffer and print-buffer, then these are not supposed to preserve the fonts. What you want is ps-print-buffer instead. You can access those via the File menu (see the "Postscript Print Buffer" item).