unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Greg Yasko <ryasko@gator.net>
Subject: Re: Printing in Windows w/ NetGear FR114P Firewall/Printserver
Date: Fri, 14 Nov 2003 22:02:44 -0500	[thread overview]
Message-ID: <7Hgtb.4236$HD3.3317@lakeread06> (raw)
In-Reply-To: <E9dtb.2896$HD3.1760@lakeread06>

Okay. Using the lpr.exe from C:\WINNT\system32 I can print from MSDOS.

Issuing "lpr -S 192.168.0.1 -P HP_LaserJet_6L -d test" prints my test 
file. How could I translate that to the necessary .emacs file entries?

Thanks.



-Greg Yasko






Greg Yasko wrote:
> Please assist further if possible.
> 
> When I try "net view" I get "RICHARD-LGFRTR7" and no associated printers 
> when typing "net view RICHARD_LGFRTR7". But when I look in the 
> properties page for the printer control panel the port name is FR114P_P1 
> and the device address is 192.168.0.1.
> 
> Have tried the following and also have substituted "RICHARD-LGFRTR7" to 
> no effect:
> 
> (setq lpr-command "")
> (setq printer-name "FR114P_P1")
> (setq ps-lpr-command "")
> (setq ps-printer-name "FR114P_P1")
> 
> Also, the description of "net use" in the emacs manual is for a shared 
> printer connected to another computer. My printer is hooked up to a 
> NetGear FR114P Gateway/Router & not directly to another PC.
> 
> I have no idea how to print directly from DOS with this setup & have 
> tried a number of things.
> 
> Thanks again.
> 
> -Greg
> 
> 
> 
> 
> 
> 
> 
> Eli Zaretskii wrote:
> 
>>> Date: Fri, 14 Nov 2003 14:31:44 -0500
>>> From: Greg Yasko <ryasko@gator.net>
>>>
>>> (setq lpr-command "lpr")
>>
>>
>>
>> Do you really have a program on your machine called `lpr.exe'?  If
>> not, the above is wrong.
>>
>>
>>> (setq printer-name "//FR114P_P1/HP_LaserJet_6L")
>>
>>
>>
>> Does this name work if you use it from the DOS box's command line?  If
>> not, you will probably need to use "net use" to redirect one of the
>> LPRn ports to this printer, as described in the Emacs manual (in the
>> node "MS-DOS Printing").
>>
>>
> 

  reply	other threads:[~2003-11-15  3:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-14 19:31 Printing in Windows w/ NetGear FR114P Firewall/Printserver Greg Yasko
2003-11-14 21:11 ` Eli Zaretskii
     [not found] ` <mailman.106.1068848076.399.help-gnu-emacs@gnu.org>
2003-11-14 23:02   ` Greg Yasko
2003-11-15  3:02     ` Greg Yasko [this message]
2003-11-15  3:53       ` [Solved] " Greg Yasko

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='7Hgtb.4236$HD3.3317@lakeread06' \
    --to=ryasko@gator.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).