unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "rgb" <rbielaws@i1.net>
Subject: Re: printing from w32 emacs
Date: 9 Nov 2005 21:21:13 -0800	[thread overview]
Message-ID: <1131600073.094662.118680@g47g2000cwa.googlegroups.com> (raw)
In-Reply-To: <YFAbf.6301$AS6.3662@newsread3.news.atl.earthlink.net>

B. T. Raven wrote:
> Has any of you out there been able to print from emacs to your local
> printer? My installation is acting as if I am printing to NULL. This is
> from an emacs 21.3 on win98 to a Canon i850. Neither PRN (default) or
> LPT1 works as 'printer-name, quoted or not. Printer works fine if I
> minimize emacs and run any other windows app incorporating a print
> function. I had same results with an HP laserjet.
> I would appreciate any light any of you could throw on this problem.
>
> Thanks,
> Ed

I've still got a Windows 98 machine sitting around so I tried what I've
got on my XP machines and it seems to work fine on '98.

>From [start][settings][printers], right click on the printer you want
to
print to and pick {properties}.  Go to the {sharing} tab.  Check the
{share as} button and fill in a Share Name like   Cannon  .

If you don't know your computer's network name, get it from the
{identification} tab in the [start][settings][Control panel][network]
dialog.  If you don't have one, set one .. like My-PC or whatever.

Now in your .emacs add this:

(setq printer-name "\\\\My-PC\\Cannon")
(setq ps-printer-name "\\\\My-PC\\Cannon")

Simply using M-x print-buffer <ret> should print the current buffer
and ps-print-buffer should work as well.

      parent reply	other threads:[~2005-11-10  5:21 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-07  4:24 printing from w32 emacs B. T. Raven
2005-11-07  7:07 ` Lennart Borgman
2005-11-07 20:22 ` Eli Zaretskii
     [not found] ` <mailman.14313.1131394933.20277.help-gnu-emacs@gnu.org>
2005-11-08  1:11   ` B. T. Raven
2005-11-08  1:23     ` Lennart Borgman
2005-11-08  4:45     ` Eli Zaretskii
     [not found]     ` <mailman.14348.1131425112.20277.help-gnu-emacs@gnu.org>
2005-11-10  2:10       ` B. T. Raven
2005-11-10  4:25         ` Eli Zaretskii
2005-11-10  5:21 ` rgb [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1131600073.094662.118680@g47g2000cwa.googlegroups.com \
    --to=rbielaws@i1.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).