* RE: lpr command line syntax
@ 2013-09-03 20:18 Rockefeller, Harry
0 siblings, 0 replies; 3+ messages in thread
From: Rockefeller, Harry @ 2013-09-03 20:18 UTC (permalink / raw)
To: cygwin
Problem resolved. I was using the Windows 'lpr' command.
Even though cygutils is part of the 'base' Cygwin install this
package didn't have lpr. So, I installed the other cygutils packages and
/usr/bin/lpr was there. Well, it was either that, or running
lprsetup.sh and restarting Cygwin that brought about the Cygwin lpr command.
--
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: lpr command line syntax
2013-09-03 15:33 Rockefeller, Harry
@ 2013-09-03 23:20 ` Andrey Repin
0 siblings, 0 replies; 3+ messages in thread
From: Andrey Repin @ 2013-09-03 23:20 UTC (permalink / raw)
To: Rockefeller, Harry, cygwin
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* lpr command line syntax
@ 2013-09-03 15:33 Rockefeller, Harry
2013-09-03 23:20 ` Andrey Repin
0 siblings, 1 reply; 3+ messages in thread
From: Rockefeller, Harry @ 2013-09-03 15:33 UTC (permalink / raw)
To: cygwin
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-09-03 23:20 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-03 20:18 lpr command line syntax Rockefeller, Harry
-- strict thread matches above, loose matches on Subject: below --
2013-09-03 15:33 Rockefeller, Harry
2013-09-03 23:20 ` Andrey Repin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).