From: huott@pinebush.com (Ed Huott)
Subject: Re: printing help from Win95, one more try
30 Apr 1997 12:49:25 -0700
Approved: cygnus.gnu-win32@cygnus.com
Distribution: cygnus
Message-ID: <199704301559.LAA24956.cygnus.gnu-win32@sol.pinebush.com>
Original-To: "Hiren Desai" <hdesai@AccessLan.com>
Original-cc: gnu-win32@cygnus.com
In-reply-to: Your message of "Tue, 29 Apr 1997 18:32:18 BST."
             <3.0.32.19970429183216.0090b100@mail.accesslan.com> 
Original-Sender: owner-gnu-win32@cygnus.com

In message <3.0.32.19970429183216.0090b100@mail.accesslan.com>, "Hiren Desai" w
rites:
>I am using Windows 95 and I want to print from dos prompt. We have a printer
>hooked up on the network.
>
> When I use enscript -2r -P\\HP_Network_Printers\(printer_name) test.c. 
>I get error saying \\HP_Network_Printers cannot be opened. I tried to copy a 
>file by giving following command "copy test.c \\HP_Network_Printers\(printer_n
>ame). 
>I get following message "The computer name specified in the network path
>cannot be located". 
>

On Win95, you might be better off re-directing one of your local LPTx:
ports using the `NET USE' command.  E.g.:

  C:\> net use lpt1: \\HP_Network_Printers\(printer_name)

Then you can copy or re-direct data bound for the printer directly to
the LPTx: device.  E.g.:

  C:\> enscript -2r test.c > lpt1:

or

  C:\> copy test.c lpt1:

depending on whether your printer expects to see PostScript or plain
text.

Hope this helps.

<ED>
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
