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 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: <457FFBAF DOT 9060704 AT cygwin DOT com> <001e01c71ede$12bd0920$84017ece AT jabelxp> In-Reply-To: <001e01c71ede$12bd0920$84017ece@jabelxp> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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/