This is the mail archive of the
mailing list for the Cygwin project.
Re: print from xfig
Jay Abel wrote:
someone started working on lpr, and it does work for local printers,
just doesn't work for network printers.
$ which lpr
$ cygcheck -f /usr/bin/lpr
$ lpr -P\\\\myserver\\myprinter
$ lpr -P//myserver/myprinter /usr/share/ghostscript/8.50/examples/chess.ps
From the man page:
lpr [-D] [-d device ] [-h] [-l] [-P device ]
specifies the device to which to send the output.
an alias for -d.
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).
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
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html