unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: robert.thorpe@antenova.com (Rob Thorpe)
Subject: Re: Problem with Emacs -> Windows -> printer
Date: 1 Aug 2003 09:11:39 -0700	[thread overview]
Message-ID: <1a61f7e5.0308010811.5063579e@posting.google.com> (raw)
In-Reply-To: wksmomtx1s.fsf@TheWorld.com

Joe Fineman <jcf@TheWorld.com> wrote in message news:<wksmomtx1s.fsf@TheWorld.com>...
> I am running Gnu Emacs 21.1.1 under (pardon the expression) Windows
> 98.
> 
> I have two printers:  a dot-matrix printer, whose port is known to
> Windows as "LPT1: (ECP printer-port)", and an inkjet printer, whose
> port is "USB/DeskJet 990C/MY0AK1B0HQLH".  Emacs communicates
> successfully with the former, the value of the variable printer-name
> being PRN.  The latter, however, I can only get at thru Windows, using
> the trackball.
> 
> Regardless of which is the default printer, when I try to print
> something out from within Emacs, either by using M-x TeX-print or by
> using "lpr -d" within the Cygwin quasi shell, I get a popup window
> that says in part
> 
>   winlpr  -S<servername>
>           -P<printername>
>           [-N]UserName
> 
> This seems to say that Emacs invokes, and lacks parameters to pass to,
> a Windows routine called winlpr, and that it requires a servername and
> a printername.  I cannot find winlpr in the Windows help or in the
> dummies or the nutshell book.  Google gives me people with something
> to sell.
> 
> Nor can I find anything about servers or servernames.  I have tried
> windows-nt and 2000; the former gives an error message, and the latter
> causes the computer to try (but fail) to call in to my ISP!  What is
> winlpr expecting?  (Suppose I wished to know what a server actually is
> -- where would I look that up?)
> 
> As to the printername, the nutshell books says it is usually the model
> name.  Does that mean 990C, or "DeskJet 990C", or
> "USB/DeskJet 990C/MY0AK1B0HQLH"?
> 
> Thank you for your attention and patience.

Share the printer over the network (even if there isn't one).
Then set Emacs to do >\\Computername\printername by customizing printer-name.

  parent reply	other threads:[~2003-08-01 16:11 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-31 17:39 Problem with Emacs -> Windows -> printer Joe Fineman
2003-07-31 18:35 ` Jason Rumney
2003-08-01  2:56   ` Joe Fineman
2003-08-01 16:11 ` Rob Thorpe [this message]
2003-08-01 22:09   ` Joe Fineman
2003-08-02 19:47     ` Herb Martin
2003-08-02 21:07     ` Kai Großjohann
2003-08-05 15:46     ` Rob Thorpe

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=1a61f7e5.0308010811.5063579e@posting.google.com \
    --to=robert.thorpe@antenova.com \
    /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).