printing help from Win95, one more try

Ed Huott huott@pinebush.com
Wed Apr 30 08:58:00 GMT 1997


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".



More information about the Cygwin mailing list