lpr command line syntax

Rockefeller, Harry Harry.Rockefeller@flightsafety.com
Tue Sep 3 15:33:00 GMT 2013

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

More information about the Cygwin mailing list