delorie.com/archives/browse.cgi | search |
From: | huott AT pinebush DOT com (Ed Huott) |
Subject: | Re: printing help from Win95, one more try |
30 Apr 1997 12:49:25 -0700 : | |
Approved: | cygnus DOT gnu-win32 AT cygnus DOT com |
Distribution: | cygnus |
Message-ID: | <199704301559.LAA24956.cygnus.gnu-win32@sol.pinebush.com> |
Original-To: | "Hiren Desai" <hdesai AT AccessLan DOT com> |
Original-cc: | gnu-win32 AT cygnus DOT com |
In-reply-to: | Your message of "Tue, 29 Apr 1997 18:32:18 BST." |
<3 DOT 0 DOT 32 DOT 19970429183216 DOT 0090b100 AT mail DOT accesslan DOT com> | |
Original-Sender: | owner-gnu-win32 AT cygnus DOT com |
In message <3 DOT 0 DOT 32 DOT 19970429183216 DOT 0090b100 AT mail DOT accesslan DOT 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 AT cygnus DOT com" with one line of text: "help".
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |