lpr command line syntax

Andrey Repin anrdaemon@yandex.ru
Tue Sep 3 23:20:00 GMT 2013

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?

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

More information about the Cygwin mailing list