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

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:from:to:date:subject:message-id:content-type
:content-transfer-encoding:mime-version; q=dns; s=default; b=aPI
mM8FvIaXan9GnDZoI9Q5o1jApc5pcw87xfR8vpni/dyQvaKOe5RWTO2s9TpwpVnl
jZXw1IdjN57DtqwvJI8G9ZFWn1UcyDrRErUPRfoSHckZ2BadYXGIEPgeWdlNBGgw
y+NnaKPuQYLDAhLtM6IIusHgVZCCgDtg1xrvVN6U=
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:from:to:date:subject:message-id:content-type
:content-transfer-encoding:mime-version; s=default; bh=avjVLJ4Z2
YbjctSiiAiY84B3yH4=; b=vVEFYZ8z4jOOWZZXODh6WqrghQpTyMLPN8wB4EWwL
GKCLTdNRMYYGXvD8tR1GLC+I07BrHoLc4Ye4ysAhaUbKzzLQbNJmxMgjEp8l39Dx
ziGT5KesfeS5ODlzlTKHo2z9VoNHS03i8i3kqrJoPyI5o3BNzMKNq0g4VE9xQ8At
II=
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=0.1 required=5.0 tests=AWL,BAYES_00,RDNS_NONE autolearn=no version=3.3.2
X-HELO: exprod5og112.obsmtp.com
From: "Rockefeller, Harry" <Harry DOT Rockefeller AT flightsafety DOT com>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Date: Tue, 3 Sep 2013 11:33:22 -0400
Subject: lpr command line syntax
Message-ID: <3185EFAF9C8F7B4E9DBDF56829BF7C782A5D3945AD@srv060ex01.ssd.fsi.com>
MIME-Version: 1.0
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id r83FXIYe018079

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

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


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