Jay Abel wrote:
Apparently someone started working on lpr, and it does work for local printers, just doesn't work for network printers.

Say what?

$ which lpr
/usr/bin/lpr

$ cygcheck -f /usr/bin/lpr
cygutils-1.3.0-1

$ lpr -P\\\\myserver\\myprinter /usr/share/ghostscript/8.50/examples/chess.ps

$ lpr -P//myserver/myprinter /usr/share/ghostscript/8.50/examples/chess.ps

Both WJFFM.

From the man page:

SYNOPSIS
       lpr [-D] [-d device ] [-h] [-l] [-P device ]


       -d device
              specifies the device to which to send the output.
       -P device
              an alias for -d.
DEVICES
A  device  name  may  be  a  UNC  path  (\\server_name\printer_name), a
reserved DOS device name (e.g., prn, lpt1), or a local port  name  that
is  mapped to a printer share. Note that forward slashes may be used in
a UNC path also (e.g., //server_name/printer_name).

ENVIRONMENT
A default device name may be specified in the PRINTER environment vari-
able.  Specifying a device via a -d or -P will override the environment
variable setting.


--
Chuck


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Reply via email to