Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Tue, 1 Oct 2002 07:30:16 +0200
From: "Gerrit P. Haase" <gp@familiehaase.de>
Organization: Esse keine toten Tiere
X-Priority: 3 (Normal)
Message-ID: <89339884548.20021001073016@familiehaase.de>
To: Aldi Kraja <aldi@wubios.wustl.edu>
CC: cygwin@cygwin.com
Subject: Re: enscript broken pipe:
In-Reply-To: <3D98B3AE.4000004@wubios.wustl.edu>
References: <3D98B3AE.4000004@wubios.wustl.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hallo Aldi,

Am Montag, 30. September 2002 um 22:27 schriebst du:

> Hi,

> I am trying to use enscript:
> Here is what I get when using it:

> $ enscript -dlj2 -G enscript.cfg
> lpr: can't open 'lj2' for writing
> lpr: The printer name is invalid.

> Broken pipe

> The printer "lj2" is a network printer.
> Thanks for any suggestions,
> Aldi


Have you configured the printer as advised in the README
(included since version enscript-1.6.3-3, share in the example
is the name of the printershare):

Print:
        - Charles Wilson explained the usage of lpr.exe:

          Currently, lpr.exe from the cygutils package is not 
          documented (at all), and it expects printer shares 
          to be specified using backslash notation:

          \\computer\share

          of course, since those are backslashes, they have to 
          be escaped:

          \\\\computer\\share

          and what's odd, is that sometimes they must be escaped
          twice

          \\\\\\\\computer\\\\share

          because two shells parse it. 


Gerrit
-- 
=^..^=


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

