delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/10/01/01:28:42

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Date: Tue, 1 Oct 2002 07:30:16 +0200
From: "Gerrit P. Haase" <gp AT familiehaase DOT de>
Organization: Esse keine toten Tiere
X-Priority: 3 (Normal)
Message-ID: <89339884548.20021001073016@familiehaase.de>
To: Aldi Kraja <aldi AT wubios DOT wustl DOT edu>
CC: cygwin AT cygwin DOT com
Subject: Re: enscript broken pipe:
In-Reply-To: <3D98B3AE.4000004@wubios.wustl.edu>
References: <3D98B3AE DOT 4000004 AT wubios DOT wustl DOT edu>
MIME-Version: 1.0

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/

- Raw text -


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