| delorie.com/archives/browse.cgi | search |
| X-Spam-Check-By: | sourceware.org |
| Message-ID: | <4580A11B.8050906@cwilson.fastmail.fm> |
| Date: | Wed, 13 Dec 2006 19:55:55 -0500 |
| From: | Charles Wilson <cygwin AT cwilson DOT fastmail DOT fm> |
| User-Agent: | Thunderbird 1.5.0.8 (Windows/20061025) |
| MIME-Version: | 1.0 |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: print from xfig |
| References: | <ed4892840612042202q31c5762fl6b6c0186aea60684 AT mail DOT gmail DOT com> <loom DOT 20061205T143629-714 AT post DOT gmane DOT org> <ed4892840612122211o12e77b06t5e8267a0ed345cb5 AT mail DOT gmail DOT com> <457FFBAF DOT 9060704 AT cygwin DOT com> <001e01c71ede$12bd0920$84017ece AT jabelxp> |
| In-Reply-To: | <001e01c71ede$12bd0920$84017ece@jabelxp> |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |