help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with Emacs -> Windows -> printer


From: Rob Thorpe
Subject: Re: Problem with Emacs -> Windows -> printer
Date: 1 Aug 2003 09:11:39 -0700

Joe Fineman <address@hidden> wrote in message news:<address@hidden>...
> 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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]