Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Date: Fri, 28 Feb 2003 09:30:03 -0500 From: Ajay Simha To: cygwin AT cygwin DOT com Subject: Re: Printing from cygwin? Message-ID: <20030228143002.GC1940@cisco.com> References: <20030227230356 DOT GO22545 AT pentek DOT com> <20030227235359 DOT 38401 DOT qmail AT web21405 DOT mail DOT yahoo DOT com> <20030228035214 DOT GC1924 AT cisco DOT com> <20030228142115 DOT GD26496 AT pentek DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030228142115.GD26496@pentek.com> User-Agent: Mutt/1.4i On Fri Feb 28 09:21:15 2003, Charles Krug wrote: > On Thu, Feb 27, 2003 at 10:52:14PM -0500, Ajay Simha wrote: > > On Thu Feb 27 15:53:59 2003, Rick Rankin wrote: > > > Do you know for sure which lpr you're using? Win2K has one in > > > C:\WINNT\system32. > > > > Try /cygdrive/c/WINNT/system32/lpr -S server -P printer filename I still had problem making enscript use this so here is my pretty print script: #!/bin/bash # usage pprint infile enscript -2r -DDuplex:false --fancy-header -o /tmp/$1.ps $1 ps2pdf /tmp/$1.ps /tmp/$1.pdf cygstart /tmp/$1.pdf then it brings up adobe and I hit print. I am using this from mutt as well. -ajay > > > > it worked for me. > > That seems to work, and it happily transmits postscript correctly. > > Thanx. > > > Charles > > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Bug reporting: http://cygwin.com/bugs.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/