delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/09/03/19:20:22

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=AcC+ALPYBRxvfTjO
Yc5M9O8vJhCk79J0d22sktddGB/havS+Aoz8wTvXqf35uVETvGMFsZf45roN51Fd
tuJ29qepeSFwCDVZR+U4yqvT/5vCaleWC5Feg7tDaNav799RVz7wb6bERizYOaQz
QShTQsBFssuwxPjKRLIHPIUdAU0=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; s=default; bh=aec2YpKnc3rspGOQJBHuWg
nmj9M=; b=kirpURNiiGgej5OqTQ+8b+2WS6hxCBO0TrvR3EbgXYrx5Opd7bqfBw
Y/hNtoJweSLN47ceYc0EhyZTsVu3AimSo3fT1kEVq2284uNF4unsRzqR6W57bKqH
rvV4feIaWcdcb37FRhq1l3HQcDve0cQnNXRPhABF+PlCm9HcMDif8=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=4.6 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,HELO_LH_HOME,KAM_THEBAT,KHOP_THREADED,POSSIBLE_SPAM_URI,RDNS_NONE autolearn=no version=3.3.2
X-HELO: smtp.ht-systems.ru
Date: Wed, 4 Sep 2013 03:12:18 +0400
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: Andrey Repin <cygwin AT cygwin DOT com>
Message-ID: <1621431573.20130904031218@mtu-net.ru>
To: "Rockefeller, Harry" <Harry DOT Rockefeller AT flightsafety DOT com>,
cygwin AT cygwin DOT com
Subject: Re: lpr command line syntax
In-Reply-To: <3185EFAF9C8F7B4E9DBDF56829BF7C782A5D3945AD@srv060ex01.ssd.fsi.com>
References: <3185EFAF9C8F7B4E9DBDF56829BF7C782A5D3945AD AT srv060ex01 DOT ssd DOT fsi DOT com>
MIME-Version: 1.0
X-IsSubscribed: yes

Greetings, Rockefeller, Harry!

> The Cygwin lpr command requires both server and printer names, i.e.,

> $ lpr foo
> Sends a print job to a network printer
> Usage: lpr -S server -P printer [-C class] [-J job] [-o option] [-x] [-d] filename

I'm afraid, you're using Windows lpr command, rather than Cygwin.
(Yes, Windows DO have lpr command-line utility - it is a part of TCP/IP
installation, thus comes preinstalled on systems starting Windows '98.)

Though, I don't have Cygwin's lpr installed to compare records. Never had the
need for it.

> And then the command fails.
> Is this intended?
> Linux will use environment variable defaults, will it not?



--
WBR,
Andrey Repin (anrdaemon AT yandex DOT ru) 04.09.2013, <03:07>

Sorry for my terrible english...


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

- Raw text -


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