delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/04/19/17:12:32

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
Message-ID: <3CC076D2.9030003@ece.gatech.edu>
Date: Fri, 19 Apr 2002 15:58:10 -0400
From: Charles Wilson <cwilson AT ece DOT gatech DOT edu>
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2
X-Accept-Language: en-us
MIME-Version: 1.0
To: "Gerrit P. Haase" <freeweb AT nyckelpiga DOT de>
CC: cygwin AT cygwin DOT com
Subject: Re: lpr problem (was: Re: FW: Can you offer enscript.cfg file for cygwin?)
References: <35642940159 DOT 20020419200844 AT familiehaase DOT de>


> I have also problems with printing through lpr.  Unfortunately I
> couldn't figure out how to set it up correct yet.
> There are some threads in the archives about printing without lpr,
> maybe there are some hints?


See my message posted a few minutes ago.

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.  It would be nice (tm) if someone wanted to 
contribute a man page, and perhaps some code to allow

a) specifying printer names with forward slashes (autodetect and 
automatically convert to backslashes before GetHandle'ing the printer)

b) figure out (and document) how to use local mount names (e.g. instead 
of \\bob\bigprinter, I've used the Add Printer Wizard and have added 
this remote printer to my local printer list as "My Friend Bob's Big 
Fancy Printer".

c) access to lpt1, lpt2, etc (although prn: seems to work already)

All together now....patches gratefully accepted.

--Chuck




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