delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/07/31/14:39:34

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
X-Injected-Via-Gmane: http://gmane.org/
To: cygwin AT cygwin DOT com
From: Andrew DeFaria <ADeFaria AT Salira DOT com>
Subject: Re: "Using Cygwin Effectively with Windows" -- Draft of new User's
Guide section
Date: Thu, 31 Jul 2003 11:31:52 -0700
Lines: 22
Message-ID: <bgbnac$ivl$1@main.gmane.org>
References: <20030730181807 DOT 56965 DOT qmail AT web20007 DOT mail DOT yahoo DOT com> <NGBBLLIAMFLGJEOAJCCEOEFODCAA DOT garbage_collector AT telia DOT com> <20030730214151 DOT A8540 AT ns1 DOT iocc DOT com>
Mime-Version: 1.0
X-Complaints-To: usenet AT main DOT gmane DOT org
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)
X-Accept-Language: en-us, en, zh
In-Reply-To: <20030730214151.A8540@ns1.iocc.com>

Joshua Daniel Franklin wrote:

> --BEGIN
> There are several options for printing from Cygwin, including the 
> native Windows lpr.exe, and the simlple lpr found in cygutils. The 
> cygutils version will print to the printer definted in your PRINTER 
> environment variable. It also accepts network printer names in 
> backslash notation (\\COMPUTER\Printer Share), which must be escaped 
> from shells such as bash (\\\\COMPUTER\\Printer Share). If you have a 
> command in a script such that it may be processed twice by the shell, 
> you may need to double-escape the name (\\\\\\\\COMPUTER\\\\Printer 
> Share). Note that lpr does no conversion of data; the printer must 
> recognize the format of the data that is sent to it. Failing to do so 
> will make the printer do random things, hang, or ignore the input. If 
> your printer supports PostScript, packages such as a2ps and enscript 
> can prepare text files for printing. The ghostscript package also 
> provides some translation from PostScript to various native printer 
> languages.
> --END

Why not just use //COMPUTER/Printer Share and avoid the issue entirely?



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