This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: lpr command line syntax
- From: Andrey Repin <anrdaemon at yandex dot ru>
- To: "Rockefeller, Harry" <Harry dot Rockefeller at flightsafety dot com>, cygwin at cygwin dot com
- Date: Wed, 4 Sep 2013 03:12:18 +0400
- Subject: Re: lpr command line syntax
- Authentication-results: sourceware.org; auth=none
- References: <3185EFAF9C8F7B4E9DBDF56829BF7C782A5D3945AD at srv060ex01 dot ssd dot fsi dot com>
- Reply-to: Andrey Repin <cygwin at cygwin dot com>
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@yandex.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