delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/06/20/18:09:22

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
content-class: urn:content-classes:message
MIME-Version: 1.0
Subject: enscript ... > $PRINTER fails
Date: Mon, 20 Jun 2005 17:08:37 -0500
Message-ID: <12AE52872B5C5348BE5CF47C707FF53A5FB85C@rhosvr02.rhotrading.com>
From: <davidr AT rhotrading DOT com>
To: <cygwin AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id j5KM9K9s012806

Up to last week, I was able to do

> enscript -p- file.txt > $PRINTER

where I had

export PRINTER="//rhosvr01/rhohp4100"
in my /etc/profile

and this worked well.

After my hard drive failed and I reinstalled windows, etc.,
the above enscript command fails with:

bash: //rhosvr01/rhohp4100: No such host or network path

I can print to the printer from any windows app, just not from any
cygwin app.
(I've looked in the archives and tried all the suggestions: 
lpr and cat also fail with other error messages.
Using the share name of the printer makes no difference, nor does using
(doubly) escaped backslashes.)

The printer is a networked HP laserjet 4100 (just stating the obvious),
and the port is HPLaserJet4100MFP.
I tried another printer (also with no spaces in any name) whose port is
DOT4_001, with the same results.
I used to be able to print to this printer last week, too.

Can anyone please tell me what I forgot to set in windows to make this
work as it did before?

Thanks!
David L. Reiner
Rho Trading




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019